Searched refs:FEATURE_CAMERA (Results 1 – 12 of 12) sorted by relevance
117 assertNotAvailable(PackageManager.FEATURE_CAMERA); in testCameraFeatures()206 assertAvailable(PackageManager.FEATURE_CAMERA); in checkRearCamera()221 assertNotAvailable(PackageManager.FEATURE_CAMERA); in checkRearCamera()
59 boolean hasRearCamera = packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA); in onSurfaceTextureAvailable()
156 mPackageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA)); in testCameraManagerGetDeviceIdList()171 || mPackageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA) in testCameraManagerGetDeviceIdList()
144 if (packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA) in testCamera()
65 private static final String FEATURE_CAMERA = "android.hardware.camera"; field in ManagedProfileTest362 boolean hasCamera = hasDeviceFeature(FEATURE_CAMERA); in testCameraPolicy()
344 if (!pm.hasSystemFeature(PackageManager.FEATURE_CAMERA)) { in testGet()
278 pm.hasSystemFeature(pm.FEATURE_CAMERA); in hasCamera()
1030 return mActivity.getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA); in hasCamera()
889 return getActivity().getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA);
193 if (pm.hasSystemFeature(PackageManager.FEATURE_CAMERA)) { in addIntentsThatDependOnDeviceFeatures()
99 new Feature(PackageManager.FEATURE_CAMERA, true),
86 mHasRearCamera = packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA); in setUp()