Home
last modified time | relevance | path

Searched refs:onLocation (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/location/java/android/location/
DILocationCallback.aidl27 void onLocation(in @nullable Location location); in onLocation() method
DLocationManager.java3134 public void onLocation(@Nullable Location location) { in onLocation() method in LocationManager.GetCurrentLocationTransport
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java729 verify(listener, times(1)).onLocation(loc); in testGetCurrentLocation()
741 verify(listener, never()).onLocation(nullable(Location.class)); in testGetCurrentLocation_Cancel()
753 verify(listener, times(1)).onLocation(isNull()); in testGetCurrentLocation_ProviderDisabled()
766 verify(listener, times(1)).onLocation(isNull()); in testGetCurrentLocation_ProviderAlreadyDisabled()
777 verify(listener, times(1)).onLocation(eq(loc)); in testGetCurrentLocation_LastLocation()
787 verify(listener, times(1)).onLocation(isNull()); in testGetCurrentLocation_Timeout()
1167 public void onLocation(Location location) {
/frameworks/base/services/core/java/com/android/server/location/provider/
DLocationProviderManager.java292 mCallback.onLocation(locationResult.getLastLocation()); in deliverOnLocationChanged()
294 mCallback.onLocation(null); in deliverOnLocationChanged()