Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/location/
DLocationBasedCountryDetector.java24 import android.location.LocationListener;
61 protected List<LocationListener> mLocationListeners;
97 protected void registerListener(String provider, LocationListener listener) { in registerListener()
104 protected void unregisterListener(LocationListener listener) { in unregisterListener()
156 mLocationListeners = new ArrayList<LocationListener>(totalProviders); in detectCountry()
160 LocationListener listener = new LocationListener () { in detectCountry()
207 for (LocationListener listener : mLocationListeners) { in stop()
DFlpHardwareProvider.java27 import android.location.LocationListener;
385 private final class NetworkLocationListener implements LocationListener {
DGeofenceManager.java30 import android.location.LocationListener;
42 public class GeofenceManager implements LocationListener, PendingIntent.OnFinished {
DGpsLocationProvider.java50 import android.location.LocationListener;
2023 private final class NetworkLocationListener implements LocationListener {
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DLocationBasedCountryDetectorTest.java21 import android.location.LocationListener;
44 private Map<String, LocationListener> mListeners;
55 mListeners = new HashMap<String, LocationListener>(); in TestCountryDetector()
96 protected void registerListener(String provider, LocationListener listener) { in registerListener()
102 protected void unregisterListener(LocationListener listener) { in unregisterListener()
103 for (Entry<String, LocationListener> entry : mListeners.entrySet()) { in unregisterListener()
112 public Map<String, LocationListener> getListeners() { in getListeners()
128 LocationListener[] listeners = new LocationListener[mListeners.size()]; in notifyLocationFound()
130 for (LocationListener listener :listeners) { in notifyLocationFound()
197 Map<String, LocationListener> listeners = detector.getListeners(); in testFindingCountryCommon()
/frameworks/base/location/java/android/location/
DLocationManager.java207 private HashMap<LocationListener,ListenerTransport> mListeners =
208 new HashMap<LocationListener,ListenerTransport>();
216 private LocationListener mListener;
219 ListenerTransport(LocationListener listener, Looper looper) { in ListenerTransport()
453 LocationListener listener) { in requestLocationUpdates()
484 LocationListener listener, Looper looper) { in requestLocationUpdates()
516 LocationListener listener, Looper looper) { in requestLocationUpdates()
672 public void requestSingleUpdate(String provider, LocationListener listener, Looper looper) { in requestSingleUpdate()
701 public void requestSingleUpdate(Criteria criteria, LocationListener listener, Looper looper) { in requestSingleUpdate()
813 public void requestLocationUpdates(LocationRequest request, LocationListener listener, in requestLocationUpdates()
[all …]
DLocationListener.java35 public interface LocationListener { interface
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/
DExternalSharedPermsFLTest.java21 import android.location.LocationListener;
36 new LocationListener() { in testRunFineLocation()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/
DExternalSharedPermsTest.java21 import android.location.LocationListener;
41 new LocationListener() { in testRunLocationAndBluetooth()
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/
DExternalSharedPermsDiffKeyTest.java22 import android.location.LocationListener;
39 new LocationListener() { in testRunBluetoothAndFineLocation()
/frameworks/base/services/core/java/com/android/server/twilight/
DTwilightService.java30 import android.location.LocationListener;
443 private final LocationListener mEmptyLocationListener = new LocationListener() {
457 private final LocationListener mLocationListener = new LocationListener() {
/frameworks/base/docs/html/training/location/
Dreceive-location-updates.jd64 …droid.gms.location.LocationRequest, com.google.android.gms.location.LocationListener)">{@code requ…
210 …droid.gms.location.LocationRequest, com.google.android.gms.location.LocationListener)">{@code requ…
218 …"{@docRoot}reference/com/google/android/gms/location/LocationListener.html">{@code LocationListene…
227 …"{@docRoot}reference/com/google/android/gms/location/LocationListener.html">{@code LocationListene…
229 …droid.gms.location.LocationRequest, com.google.android.gms.location.LocationListener)">{@code requ…
235 …"{@docRoot}reference/com/google/android/gms/location/LocationListener.html">{@code LocationListene…
264 …om/google/android/gms/location/LocationListener.html#onLocationChanged(android.location.Location)"…
268 …"{@docRoot}reference/com/google/android/gms/location/LocationListener.html">{@code LocationListene…
275 ConnectionCallbacks, OnConnectionFailedListener, LocationListener {
303 …oid.gms.common.api.GoogleApiClient, com.google.android.gms.location.LocationListener)">{@code remo…
[all …]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DLocationStatsAggregator.java27 import android.location.LocationListener;
225 private final LocationListener mLocationListener = new LocationListener() {
/frameworks/base/docs/html/training/articles/
Dwear-location-detection.jd74 href="{@docRoot}reference/com/google/android/gms/location/LocationListener.html">{@code
75 LocationListener}</a>.</li>
88 <a href="{@docRoot}reference/com/google/android/gms/location/LocationListener.html">
89 {@code LocationListener}</a> interface:</p>
95 LocationListener {
147 …om.google.android.gms.location.LocationRequest, com.google.android.gms.location.LocationListener)">
150 ….google.android.gms.common.api.GoogleApiClient, com.google.android.gms.location.LocationListener)">
207 …bled location updates, the system calls the {@link android.location.LocationListener#onLocationCha…
321 the location data with the handset. With the {@link android.location.LocationListener}, you
322 implement the {@link android.location.LocationListener#onLocationChanged onLocationChanged()}
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/
DFusionEngine.java29 import android.location.LocationListener;
38 public class FusionEngine implements LocationListener {
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/
DTrackerService.java29 import android.location.LocationListener;
291 private class LocationTrackingListener implements LocationListener {
/frameworks/base/docs/html/guide/topics/location/
Dstrategies.jd30 <li>{@link android.location.LocationListener}</li>
97 {@link android.location.LocationListener}. Your {@link android.location.LocationListener} must
101 <p>For example, the following code shows how to define a {@link android.location.LocationListener}
110 LocationListener locationListener = new LocationListener() {
134 {@link android.location.LocationListener}, which receives callbacks for location updates.</p>
/frameworks/base/api/
Dsystem-current.txt14803 public abstract interface LocationListener {
14834 method public void removeUpdates(android.location.LocationListener);
14836 …blic void requestLocationUpdates(java.lang.String, long, float, android.location.LocationListener);
14837 …uestLocationUpdates(java.lang.String, long, float, android.location.LocationListener, android.os.L…
14838 …ionUpdates(long, float, android.location.Criteria, android.location.LocationListener, android.os.L…
14841 …tLocationUpdates(android.location.LocationRequest, android.location.LocationListener, android.os.L…
14843 …method public void requestSingleUpdate(java.lang.String, android.location.LocationListener, androi…
14844 …oid requestSingleUpdate(android.location.Criteria, android.location.LocationListener, android.os.L…
Dcurrent.txt13845 public abstract interface LocationListener {
13872 method public void removeUpdates(android.location.LocationListener);
13874 …blic void requestLocationUpdates(java.lang.String, long, float, android.location.LocationListener);
13875 …uestLocationUpdates(java.lang.String, long, float, android.location.LocationListener, android.os.L…
13876 …ionUpdates(long, float, android.location.Criteria, android.location.LocationListener, android.os.L…
13879 …method public void requestSingleUpdate(java.lang.String, android.location.LocationListener, androi…
13880 …oid requestSingleUpdate(android.location.Criteria, android.location.LocationListener, android.os.L…
/frameworks/base/docs/html/
Dsitemap.txt3933 http://developer.android.com/reference/android/location/LocationListener.html