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()593 if (mLocationController.isLocationActive()) { in updateLocation()
199 @Inject Lazy<LocationController> mLocationController; field in Dependency331 mProviders.put(LocationController.class, mLocationController::get); in start()