Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsActiveWatcherTest.java62 appOpsManager.startWatchingActive(new String[] {AppOpsManager.OPSTR_CAMERA, in testWatchActiveOps()
70 .times(1)).onOpActiveChanged(eq(AppOpsManager.OPSTR_CAMERA), in testWatchActiveOps()
89 .times(1)).onOpActiveChanged(eq(AppOpsManager.OPSTR_CAMERA), in testWatchActiveOps()
119 appOpsManager.startWatchingActive(new String[] {AppOpsManager.OPSTR_CAMERA}, in testWatchActiveOps()
127 .times(1)).onOpActiveChanged(eq(AppOpsManager.OPSTR_CAMERA), in testWatchActiveOps()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java219 mController.onOpActiveChanged(AppOpsManager.OPSTR_CAMERA, in getActiveItems_differentDetails()
231 mController.onOpActiveChanged(AppOpsManager.OPSTR_CAMERA, in getActiveItemsForUser()
347 mController.onOpActiveChanged(AppOpsManager.OPSTR_CAMERA, TEST_UID, in testTrustedChainUsagesKept()
495 AppOpsManager.OPSTR_CAMERA, TEST_UID, TEST_PACKAGE_NAME, true); in testOnlyRecordAudioPhoneCallMicrophonePaused()
560 AppOpsManager.OPSTR_CAMERA, TEST_UID_OTHER, TEST_PACKAGE_NAME, true); in testAudioFilteredWhenMicDisabled()
594 AppOpsManager.OPSTR_CAMERA, TEST_UID_OTHER, TEST_PACKAGE_NAME, true); in testPhoneCallMicrophoneFilteredWhenMicDisabled()
617 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;
129 OPSTR_CAMERA
136 case OPSTR_CAMERA: in getGroupForOp()
166 String[] opStrs = { OPSTR_CAMERA, OPSTR_RECORD_AUDIO }; in PermissionUsageHelper()
/frameworks/base/core/java/android/app/
DAppOpsManager.java1372 public static final String OPSTR_CAMERA field in AppOpsManager
1998 OPSTR_CAMERA,
/frameworks/base/core/api/
Dcurrent.txt4562 field public static final String OPSTR_CAMERA = "android:camera";