/frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
LocationBasedCountryDetectorTest.java | 21 import android.location.LocationListener; 44 private Map<String, LocationListener> mListeners; 55 mListeners = new HashMap<String, LocationListener>(); 96 protected void registerListener(String provider, LocationListener listener) { 102 protected void unregisterListener(LocationListener listener) { 103 for (Entry<String, LocationListener> entry : mListeners.entrySet()) { 112 public Map<String, LocationListener> getListeners() { 128 LocationListener[] listeners = new LocationListener[mListeners.size()]; 130 for (LocationListener listener :listeners) [all...] |
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/ |
ExternalSharedPermsFLTest.java | 21 import android.location.LocationListener; 36 new LocationListener() {
|
/frameworks/base/services/java/com/android/server/location/ |
LocationBasedCountryDetector.java | 24 import android.location.LocationListener; 61 protected List<LocationListener> mLocationListeners; 97 protected void registerListener(String provider, LocationListener listener) { 104 protected void unregisterListener(LocationListener listener) { 154 mLocationListeners = new ArrayList<LocationListener>(totalProviders); 158 LocationListener listener = new LocationListener () { 205 for (LocationListener listener : mLocationListeners) {
|
/packages/apps/Camera/src/com/android/camera/ |
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 122 implements android.location.LocationListener { 127 public LocationListener(String provider) {
|
/frameworks/base/location/java/android/location/ |
LocationListener.java | 24 * LocationListener has been registered with the location manager service 25 * using the {@link LocationManager#requestLocationUpdates(String, long, float, LocationListener)} 28 public interface LocationListener {
|
LocationManager.java | 157 private HashMap<LocationListener,ListenerTransport> mListeners = 158 new HashMap<LocationListener,ListenerTransport>(); 166 private LocationListener mListener; 169 ListenerTransport(LocationListener listener, Looper looper) { 396 * the named provider. Periodically, the supplied LocationListener will 404 * and the {@link LocationListener#onProviderDisabled(String)} 406 * the {@link LocationListener#onProviderEnabled(String)} method will 430 * @param listener a {#link LocationListener} whose 431 * {@link LocationListener#onLocationChanged} method will be called for 439 long minTime, float minDistance, LocationListener listener) [all...] |
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/ |
ExternalSharedPermsTest.java | 21 import android.location.LocationListener; 41 new LocationListener() {
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/ |
ExternalSharedPermsDiffKeyTest.java | 22 import android.location.LocationListener; 39 new LocationListener() {
|
/frameworks/base/core/java/android/webkit/ |
GeolocationService.java | 22 import android.location.LocationListener; 34 final class GeolocationService implements LocationListener { 97 * LocationListener implementation. 111 * LocationListener implementation. 128 * LocationListener implementation. 143 * LocationListener implementation.
|
/frameworks/base/docs/html/sdk/api_diff/9/changes/ |
android.location.LocationManager.html | 93 <A NAME="android.location.LocationManager.requestLocationUpdates_added(long, float, android.location.Criteria, android.location.LocationListener, android.os.Looper)"></A> 94 <nobr><code>void</code> <A HREF="../../../../reference/android/location/LocationManager.html#requestLocationUpdates(long, float, android.location.Criteria, android.location.LocationListener, android.os.Looper)" target="_top"><code>requestLocationUpdates</code></A>(<code>long,</nobr> float<nobr>,</nobr> Criteria<nobr>,</nobr> LocationListener<nobr>,</nobr> Looper<nobr><nobr></code>)</nobr> 107 <A NAME="android.location.LocationManager.requestSingleUpdate_added(android.location.Criteria, android.location.LocationListener, android.os.Looper)"></A> 108 <nobr><code>void</code> <A HREF="../../../../reference/android/location/LocationManager.html#requestSingleUpdate(android.location.Criteria, android.location.LocationListener, android.os.Looper)" target="_top"><code>requestSingleUpdate</code></A>(<code>Criteria,</nobr> LocationListener<nobr>,</nobr> Looper<nobr><nobr></code>)</nobr> 121 <A NAME="android.location.LocationManager.requestSingleUpdate_added(java.lang.String, android.location.LocationListener, android.os.Looper)"></A> 122 <nobr><code>void</code> <A HREF="../../../../reference/android/location/LocationManager.html#requestSingleUpdate(java.lang.String, android.location.LocationListener, android.os.Looper)" target="_top"><code>requestSingleUpdate</code></A>(<code>String,</nobr> LocationListener<nobr>,</nobr> Looper<nobr><nobr></code>)</nobr>
|
methods_index_additions.html | [all...] |
methods_index_all.html | [all...] |
/cts/tests/tests/location/src/android/location/cts/ |
LocationManagerTest.java | 34 import android.location.LocationListener; 313 args = {String.class, long.class, float.class, LocationListener.class} 318 args = {LocationListener.class} 337 (LocationListener) null); 351 mManager.removeUpdates( (LocationListener) null ); 433 args = {String.class, long.class, float.class, LocationListener.class, Looper.class} 438 args = {LocationListener.class} 474 (LocationListener) null, Looper.myLooper()); 488 mManager.removeUpdates( (LocationListener) null ); 683 @ToBeFixed(bug = "", explanation = "The callbacks of LocationListener can not be tested [all...] |
/frameworks/base/docs/html/guide/topics/location/ |
obtaining-user-location.jd | 38 <li>{@link android.location.LocationListener}</li> 91 {@link android.location.LocationListener}. Your {@link android.location.LocationListener} must 95 <p>For example, the following code shows how to define a {@link android.location.LocationListener} 104 LocationListener locationListener = new LocationListener() { 118 locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER, 0, 0, locationListener); 128 {@link android.location.LocationListener}, which receives callbacks for location updates.</p> 209 locationManager.requestLocationUpdates(locationProvider, 0, 0, locationListener); [all...] |
/cts/tests/tests/permission/src/android/permission/cts/ |
NoLocationPermissionTest.java | 25 import android.location.LocationListener; 96 LocationListener mockListener = new MockLocationListener(); 399 private static class MockLocationListener implements LocationListener {
|
/frameworks/base/services/java/com/android/server/ |
UiModeManagerService.java | 37 import android.location.LocationListener; 236 // A LocationListener to initialize the network location provider. The location updates 238 private final LocationListener mEmptyLocationListener = new LocationListener() { 252 private final LocationListener mLocationListener = new LocationListener() { [all...] |
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
TrackerService.java | 29 import android.location.LocationListener; 291 private class LocationTrackingListener implements LocationListener {
|
/packages/wallpapers/Basic/src/com/android/wallpaper/grass/ |
GrassRS.java | 33 import android.location.LocationListener; 357 private class LocationUpdater implements LocationListener {
|
/prebuilt/sdk/14/ |
android.jar | |
/prebuilt/darwin-x86/swt/ |
swt.jar | |
/prebuilt/windows/swt/ |
swt.jar | |
/prebuilt/windows-x86_64/swt/ |
swt.jar | |
/frameworks/base/docs/html/sdk/api_diff/9/ |
user_comments_for_8_to_9.xml | 925 <identifier id="android.location.LocationManager.requestLocationUpdates_added(long, float, android.location.Criteria, android.location.LocationListener, android.os.Looper)"/> 937 <identifier id="android.location.LocationManager.requestSingleUpdate_added(android.location.Criteria, android.location.LocationListener, android.os.Looper)"/> 949 <identifier id="android.location.LocationManager.requestSingleUpdate_added(java.lang.String, android.location.LocationListener, android.os.Looper)"/> [all...] |
/prebuilt/darwin-x86_64/swt/ |
swt.jar | |
/prebuilt/linux-x86/swt/ |
swt.jar | |