Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DLocationControllerImplTest.java42 private LocationControllerImpl mLocationController; field in LocationControllerImplTest
46 mLocationController = spy(new LocationControllerImpl(mContext, in setup()
56 mLocationController.removeCallback(this); in testRemoveSelfActive_DoesNotCrash()
59 mLocationController.addCallback(callback); in testRemoveSelfActive_DoesNotCrash()
60 mLocationController.addCallback(mock(LocationChangeCallback.class)); in testRemoveSelfActive_DoesNotCrash()
62 when(mLocationController.areActiveHighPowerLocationRequests()).thenReturn(false); in testRemoveSelfActive_DoesNotCrash()
63 mLocationController.onReceive(mContext, new Intent( in testRemoveSelfActive_DoesNotCrash()
65 when(mLocationController.areActiveHighPowerLocationRequests()).thenReturn(true); in testRemoveSelfActive_DoesNotCrash()
66 mLocationController.onReceive(mContext, new Intent( in testRemoveSelfActive_DoesNotCrash()
78 mLocationController.removeCallback(this); in testRemoveSelfSettings_DoesNotCrash()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarPolicy.java114 private final LocationController mLocationController; field in PhoneStatusBarPolicy
146 mLocationController = Dependency.get(LocationController.class); in PhoneStatusBarPolicy()
241 mLocationController.addCallback(this); in PhoneStatusBarPolicy()
590 if (mLocationController.isLocationActive()) { in updateLocation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java205 @Inject Lazy<LocationController> mLocationController; field in Dependency
326 mProviders.put(LocationController.class, mLocationController::get); in start()