/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | LocationUtils.java | 156 public interface LocationListener { interface in LocationUtils 172 public static void addAutomotiveLocationBypassListener(LocationListener listener) { in addAutomotiveLocationBypassListener() 183 public static void addLocationListener(LocationListener listener) { in addLocationListener() 194 public static boolean removeAutomotiveLocationBypassListener(LocationListener listener) { in removeAutomotiveLocationBypassListener() 205 public static boolean removeLocationListener(LocationListener listener) { in removeLocationListener() 209 private static final List<LocationListener> sAutomotiveLocationBypassListeners = 211 private static final List<LocationListener> sLocationListeners = new ArrayList<>(); 221 List<LocationListener> locationListeners) { in getLocationBroadcastReceiver() 228 for (LocationListener l : locationListeners) { in getLocationBroadcastReceiver() 237 private static void addLocationListener(LocationListener listener, [all …]
|
/packages/apps/Camera2/src/com/android/camera/app/ |
D | LegacyLocationProvider.java | 37 LocationListener [] mLocationListeners = new LocationListener[] { 38 new LocationListener(android.location.LocationManager.GPS_PROVIDER), 39 new LocationListener(android.location.LocationManager.NETWORK_PROVIDER) 128 private class LocationListener class in LegacyLocationProvider 129 implements android.location.LocationListener { 134 public LocationListener(String provider) { in LocationListener() method in LegacyLocationProvider.LocationListener
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | LocationManager.java | 36 LocationListener [] mLocationListeners = new LocationListener[] { 37 new LocationListener(android.location.LocationManager.GPS_PROVIDER), 38 new LocationListener(android.location.LocationManager.NETWORK_PROVIDER) 121 private class LocationListener class in LocationManager 122 implements android.location.LocationListener { 127 public LocationListener(String provider) { in LocationListener() method in LocationManager.LocationListener
|
/packages/apps/Dialer/java/com/android/incallui/calllocation/impl/ |
D | LocationHelper.java | 31 import com.google.android.gms.location.LocationListener; 67 private final List<LocationListener> listeners = new ArrayList<>(); 132 void addLocationListener(LocationListener listener) { in addLocationListener() 138 void removeLocationListener(LocationListener listener) { in removeLocationListener() 156 for (LocationListener listener : listeners) { in onLocationChanged() 165 private class LocationHelperInternal implements LocationListener {
|
D | LocationPresenter.java | 27 import com.google.android.gms.location.LocationListener; 37 implements LocationListener {
|
/packages/apps/TV/common/src/com/android/tv/common/util/ |
D | LocationUtils.java | 23 import android.location.LocationListener; 184 private static final LocationListener LOCATION_LISTENER = 185 new LocationListener() {
|
/packages/modules/Permission/tests/cts/permission/AppThatAccessesLocationOnCommand/src/android/permission/cts/appthataccesseslocation/ |
D | AccessLocationOnCommand.java | 25 import android.location.LocationListener; 38 .requestSingleUpdate(crit, new LocationListener() {
|
/packages/services/Car/tests/AdasLocationTestApp/src/com/google/android/car/adaslocation/ |
D | AdasLocationActivity.java | 27 import android.location.LocationListener; 54 private LocationListener mLocationListener; 69 mLocationListener = new LocationListener() { in onCreate()
|
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/ |
D | GsmCellBroadcastHandlerTest.java | 40 import android.location.LocationListener; 244 LocationListener listener = getLocationCallback(); in testTriggerMessage() 297 LocationListener listener = getLocationCallback(); in testGeofencingAlertOutOfPolygon() 481 LocationListener listener = getLocationCallback(); in testConsecutiveGeofencingTriggerMessages() 672 LocationListener locationListener = getLocationCallback(); in setMockCalculation() 722 private LocationListener getLocationCallback() { in getLocationCallback() 723 ArgumentCaptor<LocationListener> locationListenerCaptor = in getLocationCallback() 724 ArgumentCaptor.forClass(LocationListener.class); in getLocationCallback()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/ |
D | LocationListeners.java | 25 import android.location.LocationListener; 195 private final LocationListener mLocationListener = new LocationListener() {
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | AfcManagerTest.java | 34 import android.location.LocationListener; 254 ArgumentCaptor<LocationListener> locationListenerCaptor = in testStopListeningForLocationUpdates() 255 ArgumentCaptor.forClass(LocationListener.class); in testStopListeningForLocationUpdates() 262 LocationListener locationListener = locationListenerCaptor.getValue(); in testStopListeningForLocationUpdates()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | AfcManager.java | 22 import android.location.LocationListener; 53 private final LocationListener mLocationListener; 80 mLocationListener = new LocationListener() { in AfcManager()
|
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/ |
D | EnvironmentImpl.java | 29 import android.location.LocationListener; 314 LocationListener locationListener = new LocationListener() { in startPassiveLocationListening()
|
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/ |
D | AtomTests.java | 49 import android.location.LocationListener; 357 final LocationListener locListener = new LocationListener() { in testGpsScan() 406 final LocationListener locListener = location -> { in testGpsStatus()
|
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/ |
D | LocationAccessCheckTest.java | 56 import android.location.LocationListener; 509 new LocationListener() { in assumeCanGetFineLocation()
|
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/ |
D | ThreadNetworkCountryCodeTest.java | 51 import android.location.LocationListener; 113 @Captor private ArgumentCaptor<LocationListener> mLocationListenerCaptor;
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | LightAppPermGroupLiveData.kt | 50 ) : SmartUpdateMediatorLiveData<LightAppPermGroup?>(), LocationUtils.LocationListener { in <lambda>()
|
D | AppPermGroupUiInfoLiveData.kt | 59 ) : SmartAsyncMediatorLiveData<AppPermGroupUiInfo>(), LocationUtils.LocationListener { in <lambda>()
|
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/ |
D | UwbCountryCodeTest.java | 45 import android.location.LocationListener; 107 private ArgumentCaptor<LocationListener> mLocationListenerCaptor;
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/ |
D | SafetyCenterQsViewModel.kt | 173 LocationUtils.LocationListener {
|
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/ |
D | CellBroadcastHandler.java | 49 import android.location.LocationListener; 964 private final LocationListener mLocationListener;
|