Searched refs:mLocationController (Results 1 – 3 of 3) sorted by relevance
42 private LocationControllerImpl mLocationController; field in LocationControllerImplTest46 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 …]
114 private final LocationController mLocationController; field in PhoneStatusBarPolicy146 mLocationController = Dependency.get(LocationController.class); in PhoneStatusBarPolicy()241 mLocationController.addCallback(this); in PhoneStatusBarPolicy()590 if (mLocationController.isLocationActive()) { in updateLocation()
205 @Inject Lazy<LocationController> mLocationController; field in Dependency326 mProviders.put(LocationController.class, mLocationController::get); in start()