Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DLocationControllerImplTest.java54 private LocationControllerImpl mLocationController; field in LocationControllerImplTest
67 mLocationController = spy(new LocationControllerImpl(mContext, in setup()
83 mLocationController.removeCallback(this); in testRemoveSelfActive_DoesNotCrash()
86 mLocationController.addCallback(callback); in testRemoveSelfActive_DoesNotCrash()
87 mLocationController.addCallback(mock(LocationChangeCallback.class)); in testRemoveSelfActive_DoesNotCrash()
89 doReturn(false).when(mLocationController).areActiveHighPowerLocationRequests(); in testRemoveSelfActive_DoesNotCrash()
90 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testRemoveSelfActive_DoesNotCrash()
92 doReturn(true).when(mLocationController).areActiveHighPowerLocationRequests(); in testRemoveSelfActive_DoesNotCrash()
93 mLocationController.onActiveStateChanged(AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION, 0, in testRemoveSelfActive_DoesNotCrash()
104 mLocationController.removeCallback(this); in testRemoveSelfSettings_DoesNotCrash()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DUiModeNightTile.java67 private final LocationController mLocationController; field in UiModeNightTile
86 mLocationController = locationController; in UiModeNightTile()
127 && mLocationController.isLocationEnabled()) { in handleUpdateState()
DNightDisplayTile.java73 private final LocationController mLocationController; field in NightDisplayTile
94 mLocationController = locationController; in NightDisplayTile()
164 if (!mLocationController.isLocationEnabled()) return null; in getSecondaryLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java144 private final LocationController mLocationController; field in PhoneStatusBarPolicy
198 mLocationController = locationController; in PhoneStatusBarPolicy()
340 mLocationController.addCallback(this); in init()
702 if (mLocationController.isLocationActive()) { in updateLocationFromController()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java247 @Inject Lazy<LocationController> mLocationController; field in Dependency
392 mProviders.put(LocationController.class, mLocationController::get); in start()