Merge "Add device- and host-side utils for checking API level" into oc-dev