Home
last modified time | relevance | path

Searched refs:mAppOpsController (Results 1 – 3 of 3) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DLocationControllerImplTest.java76 @Mock private AppOpsController mAppOpsController; field in LocationControllerImplTest
92 mAppOpsController, in setup()
117 when(mAppOpsController.getActiveAppOps()).thenReturn(ImmutableList.of()); in testRemoveSelfActive_DoesNotCrash()
120 when(mAppOpsController.getActiveAppOps()) in testRemoveSelfActive_DoesNotCrash()
169 when(mAppOpsController.getActiveAppOps()) in testCallbackNotified()
198 when(mAppOpsController.getActiveAppOps()) in testCallbackNotified_additionalOps()
210 when(mAppOpsController.getActiveAppOps()).thenReturn(ImmutableList.of()); in testCallbackNotified_additionalOps()
217 when(mAppOpsController.getActiveAppOps()).thenReturn(ImmutableList.of()); in testCallbackNotified_additionalOps()
235 when(mAppOpsController.getActiveAppOps()) in testCallbackNotified_additionalOps_shouldNotShowSystem()
266 when(mAppOpsController.getActiveAppOps()) in testCallbackNotified_additionalOps_shouldShowSystem()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DLocationControllerImpl.java73 private final AppOpsController mAppOpsController; field in LocationControllerImpl
97 mAppOpsController = appOpsController; in LocationControllerImpl()
136 mAppOpsController.addCallback( in LocationControllerImpl()
230 List<AppOpItem> appOpsItems = mAppOpsController.getActiveAppOps(); in areActiveHighPowerLocationRequests()
257 List<AppOpItem> appOpsItems = mAppOpsController.getActiveAppOps(); in areActiveLocationRequests()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DDependency.java298 @Inject Lazy<AppOpsController> mAppOpsController; field in Dependency
492 mProviders.put(AppOpsController.class, mAppOpsController::get); in start()