Searched refs:mLocationController (Results 1 – 2 of 2) sorted by relevance
42 private LocationControllerImpl mLocationController; field in LocationControllerImplTest46 mLocationController = spy(new LocationControllerImpl(mContext, in setup()55 mLocationController.removeCallback(this); in testRemoveSelfActive_DoesNotCrash()58 mLocationController.addCallback(callback); in testRemoveSelfActive_DoesNotCrash()59 mLocationController.addCallback(mock(LocationChangeCallback.class)); in testRemoveSelfActive_DoesNotCrash()61 when(mLocationController.areActiveHighPowerLocationRequests()).thenReturn(false); in testRemoveSelfActive_DoesNotCrash()62 mLocationController.onReceive(mContext, new Intent( in testRemoveSelfActive_DoesNotCrash()64 when(mLocationController.areActiveHighPowerLocationRequests()).thenReturn(true); in testRemoveSelfActive_DoesNotCrash()65 mLocationController.onReceive(mContext, new Intent( in testRemoveSelfActive_DoesNotCrash()76 mLocationController.removeCallback(this); in testRemoveSelfSettings_DoesNotCrash()[all …]
136 private final LocationController mLocationController; field in PhoneStatusBarPolicy169 mLocationController = Dependency.get(LocationController.class); in PhoneStatusBarPolicy()251 mLocationController.addCallback(this); in PhoneStatusBarPolicy()279 mLocationController.removeCallback(this); in destroy()305 if (mLocationController.isLocationActive()) { in updateLocation()