Searched refs:locationListener (Results 1 – 3 of 3) sorted by relevance
118 LocationListener locationListener = argumentCaptor.getValue(); in testLocationListenerOnLocationChanged_validLocationTime_suggestsGnssTime() local121 locationListener.onLocationChanged(location); in testLocationListenerOnLocationChanged_validLocationTime_suggestsGnssTime()123 verify(mMockLocationManager).removeUpdates(locationListener); in testLocationListenerOnLocationChanged_validLocationTime_suggestsGnssTime()148 LocationListener locationListener = argumentCaptor.getValue(); in testLocationListenerOnLocationChanged_nullLocationTime_doesNotSuggestGnssTime() local151 locationListener.onLocationChanged(location); in testLocationListenerOnLocationChanged_nullLocationTime_doesNotSuggestGnssTime()153 verify(mMockLocationManager).removeUpdates(locationListener); in testLocationListenerOnLocationChanged_nullLocationTime_doesNotSuggestGnssTime()
560 LocationListener locationListener; in handleRequestLocation() local568 locationListener = location -> { }; in handleRequestLocation()573 locationListener = this::injectBestLocation; in handleRequestLocation()597 DIRECT_EXECUTOR, locationListener); in handleRequestLocation()
708 ILocationListener locationListener = createMockLocationListener(); in testProviderRequestListener() local711 mManager.registerLocationRequest(request, IDENTITY, PERMISSION_FINE, locationListener); in testProviderRequestListener()716 mManager.unregisterLocationRequest(locationListener); in testProviderRequestListener()