Home
last modified time | relevance | path

Searched refs:OPSTR_CAMERA (Results 1 – 8 of 8) sorted by relevance

/cts/tests/app/src/android/app/cts/
DActivityManagerApi29Test.java25 import static android.app.AppOpsManager.OPSTR_CAMERA;
321 assertEquals(MODE_IGNORED, noteOp(OPSTR_CAMERA)); in testCameraWithAppOps()
331 assertEquals(MODE_ALLOWED, noteOp(OPSTR_CAMERA)); in testCameraWithAppOps()
340 assertEquals(MODE_IGNORED, noteOp(OPSTR_CAMERA)); in testCameraWithAppOps()
348 assertEquals(MODE_IGNORED, noteOp(OPSTR_CAMERA)); in testCameraWithAppOps()
/cts/tests/tests/permission4/AppThatAccessesCameraAndMic/src/android/permission4/cts/appthataccessescameraandmic/
DAccessCameraOrMicActivity.kt91 appOpsManager?.finishOp(AppOpsManager.OPSTR_CAMERA, Process.myUid(), packageName) in finish()
165 appOpsManager?.startOpNoThrow(AppOpsManager.OPSTR_CAMERA, Process.myUid(), packageName) in startBackupCamera()
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraAndOverlayForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/overlay/
DUseMicCamera.kt66 appOpsManager.finishOp(AppOpsManager.OPSTR_CAMERA, in onCreate()
/cts/tests/tests/voiceRecognition/RecognitionService/src/com/android/recognitionservice/service/
DCtsVoiceRecognitionService.java91 appOpsManager.noteProxyOpNoThrow(AppOpsManager.OPSTR_CAMERA, callingPackage, in blameCameraPermission()
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/
DUseMicCamera.kt68 appOpsManager.finishOp(AppOpsManager.OPSTR_CAMERA, in onCreate()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DCameraPolicyTest.java156 AppOpsManager.OPSTR_CAMERA, in openCamera_cameraEnabled_successful()
173 AppOpsManager.OPSTR_CAMERA, in openCamera_cameraDisabled_unsuccessful()
/cts/tests/tests/sensorprivacy/test-apps/utils/src/android/sensorprivacy/cts/testapp/utils/
DUtils.kt107 appOpsManager.startOpNoThrow(AppOpsManager.OPSTR_CAMERA, in openCam()
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/
DAtomTests.java132 APP_OPS_ENUM_MAP.put(AppOpsManager.OPSTR_CAMERA, 26); in APP_OPS_ENUM_MAP.put() argument
490 noteAppOp(appOpsManager, AppOpsManager.OPSTR_CAMERA); in testForegroundServiceAccessAppOp()
492 noteAppOp(appOpsManager, AppOpsManager.OPSTR_CAMERA); in testForegroundServiceAccessAppOp()
495 startAppOp(appOpsManager, AppOpsManager.OPSTR_CAMERA); in testForegroundServiceAccessAppOp()