Searched refs:FEATURE_CAMERA (Results 1 – 13 of 13) sorted by relevance
46 if (!pm.hasSystemFeature(PackageManager.FEATURE_CAMERA)) { in testCameraImportAndRendering()
250 if (packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA) in testCamera()272 if (packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA) in testImageCaptureIntentsHandledBySystem()288 if (packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA) in testImageCaptureIntentWithExplicitTargeting()
142 assertNotAvailable(PackageManager.FEATURE_CAMERA); in testCameraFeatures()258 assertAvailable(PackageManager.FEATURE_CAMERA); in checkRearCamera()273 assertNotAvailable(PackageManager.FEATURE_CAMERA); in checkRearCamera()
208 if (pm.hasSystemFeature(PackageManager.FEATURE_CAMERA)) { in addIntentsThatDependOnDeviceFeatures()
99 new Feature(PackageManager.FEATURE_CAMERA, true),
87 mHasRearCamera = packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA); in setUp()
80 private static final String FEATURE_CAMERA = "android.hardware.camera"; field in BaseDevicePolicyTest782 assumeHasDeviceFeature(FEATURE_CAMERA); in assumeHasCameraFeature()
81 private static final String FEATURE_CAMERA = "android.hardware.camera"; field in UidAtomTests291 if (!DeviceUtils.hasFeature(getDevice(), FEATURE_CAMERA) && !DeviceUtils.hasFeature(
114 public static final String FEATURE_CAMERA = "android.hardware.camera"; field in AtomTestCase
487 if (!pm.hasSystemFeature(PackageManager.FEATURE_CAMERA)) { in testGet()
307 pm.hasSystemFeature(pm.FEATURE_CAMERA); in hasCamera()
1648 return mActivity.getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA); in hasCamera()
1047 return getActivity().getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA); in hasCamera()