Searched refs:mAppOpsListenerCaptor (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/sensorprivacy/ |
D | CameraPrivacyLightControllerTest.java | 93 private ArgumentCaptor<AppOpsManager.OnOpActiveChangedListener> mAppOpsListenerCaptor = field in CameraPrivacyLightControllerTest 343 verify(mAppOpsManager).startWatchingActive(any(), any(), mAppOpsListenerCaptor.capture()); in notifyCamOpChanged() 344 mAppOpsListenerCaptor.getValue().onOpActiveChanged(OPSTR_CAMERA, uid, pkg, active); in notifyCamOpChanged() 367 verify(mAppOpsManager).startWatchingActive(any(), any(), mAppOpsListenerCaptor.capture()); in openCamera() 368 mAppOpsListenerCaptor.getValue().onOpActiveChanged(OPSTR_CAMERA, 10001, "pkg", true); in openCamera()
|