Home
last modified time | relevance | path

Searched refs:LocationListener (Results 1 – 21 of 21) sorted by relevance

/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DLocationUtils.java156 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/
DLegacyLocationProvider.java37 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/
DLocationManager.java36 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/
DLocationHelper.java31 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 {
DLocationPresenter.java27 import com.google.android.gms.location.LocationListener;
37 implements LocationListener {
/packages/apps/TV/common/src/com/android/tv/common/util/
DLocationUtils.java23 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/
DAccessLocationOnCommand.java25 import android.location.LocationListener;
38 .requestSingleUpdate(crit, new LocationListener() {
/packages/services/Car/tests/AdasLocationTestApp/src/com/google/android/car/adaslocation/
DAdasLocationActivity.java27 import android.location.LocationListener;
54 private LocationListener mLocationListener;
69 mLocationListener = new LocationListener() { in onCreate()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DGsmCellBroadcastHandlerTest.java40 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/
DLocationListeners.java25 import android.location.LocationListener;
195 private final LocationListener mLocationListener = new LocationListener() {
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DAfcManagerTest.java34 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/
DAfcManager.java22 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/
DEnvironmentImpl.java29 import android.location.LocationListener;
314 LocationListener locationListener = new LocationListener() { in startPassiveLocationListening()
/packages/modules/StatsD/tests/apps/statsdapp/src/com/android/server/cts/device/statsd/
DAtomTests.java49 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/
DLocationAccessCheckTest.java56 import android.location.LocationListener;
509 new LocationListener() { in assumeCanGetFineLocation()
/packages/modules/Connectivity/thread/tests/unit/src/com/android/server/thread/
DThreadNetworkCountryCodeTest.java51 import android.location.LocationListener;
113 @Captor private ArgumentCaptor<LocationListener> mLocationListenerCaptor;
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DLightAppPermGroupLiveData.kt50 ) : SmartUpdateMediatorLiveData<LightAppPermGroup?>(), LocationUtils.LocationListener { in <lambda>()
DAppPermGroupUiInfoLiveData.kt59 ) : SmartAsyncMediatorLiveData<AppPermGroupUiInfo>(), LocationUtils.LocationListener { in <lambda>()
/packages/modules/Uwb/service/tests/src/com/android/server/uwb/
DUwbCountryCodeTest.java45 import android.location.LocationListener;
107 private ArgumentCaptor<LocationListener> mLocationListenerCaptor;
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/model/
DSafetyCenterQsViewModel.kt173 LocationUtils.LocationListener {
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java49 import android.location.LocationListener;
964 private final LocationListener mLocationListener;