Searched refs:OPSTR_CAMERA (Results 1 – 8 of 8) sorted by relevance
/cts/tests/app/src/android/app/cts/ |
D | ActivityManagerApi29Test.java | 25 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/ |
D | AccessCameraOrMicActivity.kt | 91 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/ |
D | UseMicCamera.kt | 66 appOpsManager.finishOp(AppOpsManager.OPSTR_CAMERA, in onCreate()
|
/cts/tests/tests/voiceRecognition/RecognitionService/src/com/android/recognitionservice/service/ |
D | CtsVoiceRecognitionService.java | 91 appOpsManager.noteProxyOpNoThrow(AppOpsManager.OPSTR_CAMERA, callingPackage, in blameCameraPermission()
|
/cts/tests/tests/sensorprivacy/test-apps/CtsUseMicOrCameraForSensorPrivacy/src/android/sensorprivacy/cts/usemiccamera/ |
D | UseMicCamera.kt | 68 appOpsManager.finishOp(AppOpsManager.OPSTR_CAMERA, in onCreate()
|
/cts/tests/devicepolicy/src/android/devicepolicy/cts/ |
D | CameraPolicyTest.java | 156 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/ |
D | Utils.kt | 107 appOpsManager.startOpNoThrow(AppOpsManager.OPSTR_CAMERA, in openCam()
|
/cts/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ |
D | AtomTests.java | 132 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()
|