Home
last modified time | relevance | path

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

/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DLocationUtils.java115 public interface LocationListener { interface in LocationUtils
125 private static final ArrayList<LocationListener> sLocationListeners = new ArrayList<>();
133 for (LocationListener l : sLocationListeners) {
146 public static void addLocationListener(LocationListener listener) { in addLocationListener()
165 public static boolean removeLocationListener(LocationListener listener) { in removeLocationListener()
/packages/modules/CellBroadcastService/tests/src/com/android/cellbroadcastservice/tests/
DGsmCellBroadcastHandlerTest.java38 import android.location.LocationListener;
223 LocationListener listener = getLocationCallback(); in testTriggerMessage()
276 LocationListener listener = getLocationCallback(); in testGeofencingAlertOutOfPolygon()
513 LocationListener locationListener = getLocationCallback(); in setMockCalculation()
563 private LocationListener getLocationCallback() { in getLocationCallback()
564 ArgumentCaptor<LocationListener> locationListenerCaptor = in getLocationCallback()
565 ArgumentCaptor.forClass(LocationListener.class); in getLocationCallback()
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/
DTmaForegroundService.java26 import android.location.LocationListener;
123 private final LocationListener mLocationListener = new 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/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/sensor/
DLocationListeners.java25 import android.location.LocationListener;
162 private final LocationListener mLocationListener = new LocationListener() {
/packages/modules/GeoTZ/locationtzprovider/src/main/java/com/android/timezone/location/provider/
DEnvironmentImpl.java29 import android.location.LocationListener;
297 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/PermissionController/src/com/android/permissioncontroller/permission/data/
DLightAppPermGroupLiveData.kt47 ) : SmartUpdateMediatorLiveData<LightAppPermGroup?>(), LocationUtils.LocationListener { in <lambda>()
DAppPermGroupUiInfoLiveData.kt57 ) : SmartAsyncMediatorLiveData<AppPermGroupUiInfo>(), LocationUtils.LocationListener { in <lambda>()
/packages/modules/CellBroadcastService/src/com/android/cellbroadcastservice/
DCellBroadcastHandler.java43 import android.location.LocationListener;
926 private final LocationListener mLocationListener;