Home
last modified time | relevance | path

Searched refs:onActiveStateChanged (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java170 verify(mCallback).onActiveStateChanged(AppOpsManager.OP_RECORD_AUDIO, in addCallback_includedCode()
180 verify(mCallback, never()).onActiveStateChanged( in addCallback_notIncludedCode()
191 verify(mCallback, never()).onActiveStateChanged( in removeCallback_sameCode()
202 verify(mCallback).onActiveStateChanged(AppOpsManager.OP_RECORD_AUDIO, in addCallback_notSameCode()
267 .onActiveStateChanged(anyInt(), anyInt(), anyString(), anyBoolean()); in exemptedRoleNotNotified()
374 verify(mCallback).onActiveStateChanged( in testActiveOpNotRemovedAfterNoted()
384 verify(mCallback, never()).onActiveStateChanged( in testActiveOpNotRemovedAfterNoted()
402 verify(mCallback).onActiveStateChanged( in testNotedNotRemovedAfterActive()
413 verify(mCallback, never()).onActiveStateChanged( in testNotedNotRemovedAfterActive()
430 verify(mCallback).onActiveStateChanged( in testNotedAndActiveOnlyOneCall()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyItemControllerTest.kt228 argCaptorCallback.value.onActiveStateChanged(0, TEST_UID, "", true) in testMultipleCallbacksAreUpdated()
247 argCaptorCallback.value.onActiveStateChanged(0, TEST_UID, "", true) in testRemoveCallback()
318 argCaptorCallback.value.onActiveStateChanged( in testNotUpdated_LocationChangeWhenOnlyMicCamera()
330 argCaptorCallback.value.onActiveStateChanged( in testLogActiveChanged()
347 argCaptorCallback.value.onActiveStateChanged( in testLogListUpdated()
470 argCaptorCallback.value.onActiveStateChanged( in testNotHeldAfterTimeIsOff()
493 argCaptorCallback.value.onActiveStateChanged( in testElementNotRemovedBeforeHoldTime()
516 argCaptorCallback.value.onActiveStateChanged( in testElementAutoRemovedAfterHoldTime()
543 argCaptorCallback.value.onActiveStateChanged( in testPausedElementsAreRemoved()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DLocationControllerImplTest.java90 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testRemoveSelfActive_DoesNotCrash()
93 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testRemoveSelfActive_DoesNotCrash()
139 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testCallbackNotified()
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsController.java35 void onActiveStateChanged(int code, int uid, String packageName, boolean active); in onActiveStateChanged() method
DAppOpsControllerImpl.java425 cb.onActiveStateChanged(code, uid, packageName, active); in notifySuscribersWorker()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java191 public void onActiveStateChanged(int code, int uid, String packageName, boolean active) { in onActiveStateChanged() method in LocationControllerImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyItemController.kt143 override fun onActiveStateChanged( in onActiveStateChanged() method