Home
last modified time | relevance | path

Searched refs:FEATURE_CAMERA (Results 1 – 12 of 12) sorted by relevance

/cts/tests/app/src/android/app/cts/
DSystemFeaturesTest.java117 assertNotAvailable(PackageManager.FEATURE_CAMERA); in testCameraFeatures()
206 assertAvailable(PackageManager.FEATURE_CAMERA); in checkRearCamera()
221 assertNotAvailable(PackageManager.FEATURE_CAMERA); in checkRearCamera()
/cts/tests/tests/graphics2/src/android/graphics2/cts/
DTextureViewCameraActivity.java59 boolean hasRearCamera = packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA); in onSurfaceTextureAvailable()
/cts/tests/camera/src/android/hardware/camera2/cts/
DCameraManagerTest.java156 mPackageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA)); in testCameraManagerGetDeviceIdList()
171 || mPackageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA) in testCameraManagerGetDeviceIdList()
/cts/tests/tests/content/src/android/content/cts/
DAvailableIntentsTest.java144 if (packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA) in testCamera()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DManagedProfileTest.java65 private static final String FEATURE_CAMERA = "android.hardware.camera"; field in ManagedProfileTest
362 boolean hasCamera = hasDeviceFeature(FEATURE_CAMERA); in testCameraPolicy()
/cts/tests/tests/media/src/android/media/cts/
DCamcorderProfileTest.java344 if (!pm.hasSystemFeature(PackageManager.FEATURE_CAMERA)) { in testGet()
DMediaCodecListTest.java278 pm.hasSystemFeature(pm.FEATURE_CAMERA); in hasCamera()
DMediaRecorderTest.java1030 return mActivity.getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA); in hasCamera()
DMediaPlayerTest.java889 return getActivity().getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DIntentFiltersTestHelper.java193 if (pm.hasSystemFeature(PackageManager.FEATURE_CAMERA)) { in addIntentsThatDependOnDeviceFeatures()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/features/
DFeatureSummaryActivity.java99 new Feature(PackageManager.FEATURE_CAMERA, true),
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DMediaRecorderStressTest.java86 mHasRearCamera = packageManager.hasSystemFeature(PackageManager.FEATURE_CAMERA); in setUp()