Home
last modified time | relevance | path

Searched refs:onLocationChanged (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/location/java/android/location/
DLocationListener.java47 void onLocationChanged(@NonNull Location location); in onLocationChanged() method
60 default void onLocationChanged(@NonNull List<Location> locations) { in onLocationChanged() method
63 onLocationChanged(locations.get(i)); in onLocationChanged()
DILocationListener.aidl27 …void onLocationChanged(in List<Location> locations, in @nullable IRemoteCallback onCompleteCallbac… in onLocationChanged() method
DLocationManager.java3286 public void onLocationChanged(List<Location> locations, in onLocationChanged() method in LocationManager.LocationListenerTransport
3291 listener.onLocationChanged(locations); in onLocationChanged()
3667 public void onLocationChanged(@NonNull Location location) { in onLocationChanged() method in LocationManager.BatchedLocationCallbackWrapper
3672 public void onLocationChanged(@NonNull List<Location> locations) { in onLocationChanged() method in LocationManager.BatchedLocationCallbackWrapper
/frameworks/base/services/tests/servicestests/src/com/android/server/twilight/
DTwilightServiceTest.java37 mTwilightService.onLocationChanged(mInitialLocation); in setUp()
49 mTwilightService.onLocationChanged(validLocation); in testValidLocation_updatedLocation()
57 mTwilightService.onLocationChanged(invalidLocation); in testInvalidLocation_ignoreLocationUpdate()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/provider/
DLocationProviderManagerTest.java482 verify(listener).onLocationChanged(eq(loc.asList()), nullable(IRemoteCallback.class)); in testPassive_Listener()
505 verify(listener).onLocationChanged(eq(loc.asList()), nullable(IRemoteCallback.class)); in testRegisterListener()
511 verify(listener, times(1)).onLocationChanged(any(List.class), in testRegisterListener()
521 verify(listener, times(1)).onLocationChanged(any(List.class), in testRegisterListener()
529 verify(listener).onLocationChanged(eq(loc.asList()), nullable(IRemoteCallback.class)); in testRegisterListener()
546 verify(listener, timeout(TIMEOUT_MS).times(1)).onLocationChanged(eq(loc.asList()), in testRegisterListener_SameProcess()
561 verify(listener, never()).onLocationChanged(any(List.class), in testRegisterListener_Unregister()
592 verify(listener, after(TIMEOUT_MS).never()).onLocationChanged(any(List.class), in testRegisterListener_Unregister_SameProcess()
612 verify(listener, times(5)).onLocationChanged(any(List.class), in testRegisterListener_NumUpdates()
626 verify(listener, never()).onLocationChanged(any(List.class), in testRegisterListener_InvisibleUser()
[all …]
/frameworks/base/packages/FusedLocation/src/com/android/location/gnss/
DGnssOverlayLocationProvider.java66 public void onLocationChanged(Location location) { in onLocationChanged() method in GnssOverlayLocationProvider.GnssLocationListener
71 public void onLocationChanged(List<Location> locations) { in onLocationChanged() method in GnssOverlayLocationProvider.GnssLocationListener
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DGnssTimeUpdateServiceTest.java96 locationListener.onLocationChanged(location); in testLocationListenerOnLocationChanged_validLocationTime_suggestsGnssTime()
126 locationListener.onLocationChanged(location); in testLocationListenerOnLocationChanged_nullLocationTime_doesNotSuggestGnssTime()
195 locationListener.onLocationChanged(location); in advanceServiceToSleepingState()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java168 this::onLocationChanged); in startListening()
172 this::onLocationChanged); in startListening()
249 public void onLocationChanged(@Nullable Location location) { in onLocationChanged() method in TwilightService
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
DExternalSharedPermsFLTest.java37 public void onLocationChanged(Location location) {} in testRunFineLocation()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
DExternalSharedPermsDiffKeyTest.java40 public void onLocationChanged(Location location) {} in testRunBluetoothAndFineLocation()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
DExternalSharedPermsTest.java42 public void onLocationChanged(Location location) {} in testRunLocationAndBluetooth()
/frameworks/base/services/core/java/com/android/server/location/geofence/
DGeofenceManager.java184 executeOperation(onLocationChanged(location)); in onActive()
228 ListenerOperation<PendingIntent> onLocationChanged(Location location) { in onLocationChanged() method in GeofenceManager.GeofenceRegistration
506 public void onLocationChanged(Location location) { in onLocationChanged() method in GeofenceManager
512 return registration.onLocationChanged(location); in onLocationChanged()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/taskview/
DTaskView.java128 onLocationChanged(); in onTaskAppeared()
215 public void onLocationChanged() { in onLocationChanged() method in TaskView
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DPanelTaskViewController.kt100 taskView.onLocationChanged() in refreshBounds()
/frameworks/base/services/core/java/com/android/server/
DSensorNotificationService.java113 public void onLocationChanged(Location location) { in onLocationChanged() method in SensorNotificationService
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCountryDetector.java111 public void onLocationChanged(Location location) {
388 mLocationListener.onLocationChanged(getLastKnownLocation()); in registerForLocationUpdates()
/frameworks/base/services/core/java/com/android/server/location/countrydetector/
DLocationBasedCountryDetector.java178 public void onLocationChanged(Location location) { in detectCountry()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/ui/
DPanelTaskViewControllerTest.kt168 verify(taskView).onLocationChanged() in testOnRefreshBounds()
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusedLocationProvider.java319 public void onLocationChanged(Location location) { in onLocationChanged() method in FusedLocationProvider.ChildLocationListener
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
DBubbleBarExpandedView.java351 mTaskView.onLocationChanged(); in updateLocation()
/frameworks/base/services/tests/servicestests/src/com/android/server/location/countrydetector/
DLocationBasedCountryDetectorTest.java131 listener.onLocationChanged(mLocation); in notifyLocationFound()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java300 public void onLocationChanged(Location location) { in onLocationChanged() method in TrackerService.LocationTrackingListener
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleExpandedView.java663 mTaskView.onLocationChanged(); in updateObscuredTouchableRegion()
1023 mTaskView.onLocationChanged(); in updateView()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DFusedPrintersProvider.java264 onLocationChanged(lastLocation); in onStartLoading()
420 public void onLocationChanged(@Nullable Location location) { in onLocationChanged() method in FusedPrintersProvider
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTelephonyCountryDetectorTest.java330 mLocationListenerCaptor.getValue().onLocationChanged(mMockLocation); in sendLocationUpdate()

12