Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsActiveWatcherTest.java80 appOpsManager.startWatchingActive(new String[] {AppOpsManager.OPSTR_CAMERA, in testWatchActiveOps()
88 .times(1)).onOpActiveChanged(eq(AppOpsManager.OPSTR_CAMERA), in testWatchActiveOps()
107 .times(1)).onOpActiveChanged(eq(AppOpsManager.OPSTR_CAMERA), in testWatchActiveOps()
137 appOpsManager.startWatchingActive(new String[] {AppOpsManager.OPSTR_CAMERA}, in testWatchActiveOps()
145 .times(1)).onOpActiveChanged(eq(AppOpsManager.OPSTR_CAMERA), in testWatchActiveOps()
180 appOpsManager.startWatchingActive(new String[]{AppOpsManager.OPSTR_CAMERA, in testWatchActiveOpsForExternalDevice()
188 .times(1)).onOpActiveChanged(eq(AppOpsManager.OPSTR_CAMERA), in testWatchActiveOpsForExternalDevice()
199 .times(1)).onOpActiveChanged(eq(AppOpsManager.OPSTR_CAMERA), in testWatchActiveOpsForExternalDevice()
DAppOpsDeviceAwareServiceTest.java129 new String[] {AppOpsManager.OPSTR_CAMERA}, in noteProxyOpWithDeviceId()
DAppOpsNotedWatcherTest.java82 .times(1)).onOpNoted(eq(AppOpsManager.OPSTR_CAMERA), in testWatchNotedOps()
/frameworks/base/core/java/android/hardware/camera2/extension/
DCameraExtensionService.java62 mAppOpsService.startOp(AppOpsManager.OPSTR_CAMERA, mUid, mPackageName, in startCameraOperation()
70 mAppOpsService.finishOp(AppOpsManager.OPSTR_CAMERA, mUid, mPackageName, in finishCameraOperation()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/
DCameraPrivacyLightControllerTest.java19 import static android.app.AppOpsManager.OPSTR_CAMERA;
344 mAppOpsListenerCaptor.getValue().onOpActiveChanged(OPSTR_CAMERA, uid, pkg, active); in notifyCamOpChanged()
368 mAppOpsListenerCaptor.getValue().onOpActiveChanged(OPSTR_CAMERA, 10001, "pkg", true); in openCamera()
/frameworks/base/services/core/java/com/android/server/sensorprivacy/
DCameraPrivacyLightController.java150 new String[] {AppOpsManager.OPSTR_CAMERA, AppOpsManager.OPSTR_PHONE_CALL_CAMERA}, in CameraPrivacyLightController()
204 if (AppOpsManager.OPSTR_CAMERA.equals(op)) { in onOpActiveChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java271 when(entry2.getOpStr()).thenReturn(AppOpsManager.OPSTR_CAMERA); in startListening_fetchesCurrentActive_multipleEntries()
481 mController.onOpActiveChanged(AppOpsManager.OPSTR_CAMERA, in getActiveItems_differentDetails()
493 mController.onOpActiveChanged(AppOpsManager.OPSTR_CAMERA, in getActiveItemsForUser()
613 mController.onOpActiveChanged(AppOpsManager.OPSTR_CAMERA, TEST_UID, in testTrustedChainUsagesKept()
769 AppOpsManager.OPSTR_CAMERA, TEST_UID, TEST_PACKAGE_NAME, true); in testOnlyRecordAudioPhoneCallMicrophonePaused()
917 AppOpsManager.OPSTR_CAMERA, TEST_UID_OTHER, TEST_PACKAGE_NAME, true); in testCameraFilteredWhenCameraDisabled()
/frameworks/base/core/java/android/permission/
DPermissionUsageHelper.java28 import static android.app.AppOpsManager.OPSTR_CAMERA;
143 OPSTR_CAMERA
151 case OPSTR_CAMERA: in getGroupForOp()
186 String[] opStrs = {OPSTR_CAMERA, OPSTR_RECORD_AUDIO}; in PermissionUsageHelper()
/frameworks/base/services/core/java/com/android/server/am/
DAppPermissionTracker.java22 import static android.app.AppOpsManager.OPSTR_CAMERA;
529 CAMERA, OPSTR_CAMERA,
/frameworks/base/core/java/android/app/
DAppOpsManager.java1640 OPSTR_CAMERA,
1824 public static final String OPSTR_CAMERA field in AppOpsManager
2712 new AppOpInfo.Builder(OP_CAMERA, OPSTR_CAMERA, "CAMERA")
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt5123 field public static final String OPSTR_CAMERA = "android:camera";