Home
last modified time | relevance | path

Searched refs:getActiveAppOps (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java212 assertEquals(1, mController.getActiveAppOps().size()); in getActiveItems_sameDetails()
224 assertEquals(3, mController.getActiveAppOps().size()); in getActiveItems_differentDetails()
287 assertFalse(mController.getActiveAppOps().isEmpty()); in noItemsAfterStopListening()
292 assertTrue(mController.getActiveAppOps().isEmpty()); in noItemsAfterStopListening()
307 List<AppOpItem> list = mController.getActiveAppOps(); in noDoubleUpdateOnOpNoted()
326 assertTrue(mController.getActiveAppOps().isEmpty()); in testUntrustedChainUsagesDiscarded()
337 assertTrue(mController.getActiveAppOps().isEmpty()); in testUntrustedChainUsagesDiscarded()
351 assertEquals(2, mController.getActiveAppOps().size()); in testTrustedChainUsagesKept()
373 List<AppOpItem> list = mController.getActiveAppOps(); in testActiveOpNotRemovedAfterNoted()
386 list = mController.getActiveAppOps(); in testActiveOpNotRemovedAfterNoted()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyItemControllerTest.kt159 .`when`(appOpsController).getActiveAppOps(anyBoolean()) in testDistinctItems()
171 .`when`(appOpsController).getActiveAppOps(anyBoolean()) in testSimilarItemsDifferentTimeStamp()
218 doReturn(emptyList<AppOpItem>()).`when`(appOpsController).getActiveAppOps(anyBoolean()) in testMultipleCallbacksAreUpdated()
236 doReturn(emptyList<AppOpItem>()).`when`(appOpsController).getActiveAppOps(anyBoolean()) in testRemoveCallback()
257 .`when`(appOpsController).getActiveAppOps(anyBoolean()) in testListShouldNotHaveNull()
295 .`when`(appOpsController).getActiveAppOps(anyBoolean()) in testNotSendingLocationWhenOnlyMicCamera()
309 .`when`(appOpsController).getActiveAppOps(anyBoolean()) in testNotUpdated_LocationChangeWhenOnlyMicCamera()
341 ).`when`(appOpsController).getActiveAppOps(anyBoolean()) in testLogListUpdated()
368 verify(appOpsController).getActiveAppOps(true) in testListRequestedShowPaused()
380 ).`when`(appOpsController).getActiveAppOps(anyBoolean()) in testListFilterCurrentUser()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/appops/
DAppOpsController.java65 List<AppOpItem> getActiveAppOps(); in getActiveAppOps() method
73 List<AppOpItem> getActiveAppOps(boolean showPaused); in getActiveAppOps() method
DAppOpsControllerImpl.java302 public List<AppOpItem> getActiveAppOps() { in getActiveAppOps() method in AppOpsControllerImpl
303 return getActiveAppOps(false); in getActiveAppOps()
314 public List<AppOpItem> getActiveAppOps(boolean showPaused) { in getActiveAppOps() method in AppOpsControllerImpl
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DLocationControllerImpl.java162 List<AppOpItem> appOpsItems = mAppOpsController.getActiveAppOps(); in areActiveHighPowerLocationRequests()
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyItemController.kt262 val list = appOpsController.getActiveAppOps(true).filter { in updatePrivacyList()