Searched refs:onLocation (Results 1 – 4 of 4) sorted by relevance
27 void onLocation(in @nullable Location location); in onLocation() method
3134 public void onLocation(@Nullable Location location) { in onLocation() method in LocationManager.GetCurrentLocationTransport
729 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) {
292 mCallback.onLocation(locationResult.getLastLocation()); in deliverOnLocationChanged()294 mCallback.onLocation(null); in deliverOnLocationChanged()