/frameworks/base/location/java/android/location/ |
H A D | Location.aidl | 19 parcelable Location;
|
H A D | ILocationListener.aidl | 20 import android.location.Location; 28 void onLocationChanged(in Location location);
|
H A D | IGpsStatusListener.aidl | 19 import android.location.Location;
|
H A D | LocationListener.java | 33 * <p> There are no restrictions on the use of the supplied Location object. 35 * @param location The new location, as a Location object. 37 void onLocationChanged(Location location);
|
H A D | ILocationProvider.aidl | 20 import android.location.Location; 49 void updateLocation(in Location location);
|
H A D | ILocationManager.aidl | 26 import android.location.Location; 63 Location getLastKnownLocation(String provider); 68 void reportLocation(in Location location, boolean passive); 82 void setTestProviderLocation(String provider, in Location loc);
|
H A D | Location.java | 38 public class Location implements Parcelable { class in inherits:Parcelable 96 * Constructs a new Location. By default, time, latitude, 103 public Location(String provider) { method in class:Location 108 * Constructs a new Location object that is a copy of the given 111 public Location(Location l) { method in class:Location 118 public void set(Location l) { 408 public float distanceTo(Location dest) { 436 public float bearingTo(Location dest) { 682 return "Location[mProvide [all...] |
H A D | LocationManager.java | 86 * providers. You can query the {@link Location#getProvider()} method to determine 113 * Key used for a Bundle extra holding a Location value 189 public void onLocationChanged(Location location) { 226 Location location = new Location((Location) msg.obj); 397 * be called with the current Location or with status updates. 452 * be called with the current Location or with status updates. 510 * be called with the current Location or with status updates. 592 * be broadcast with the current Location o [all...] |
/frameworks/base/location/tests/locationtests/src/android/location/ |
H A D | LocationManagerTest.java | 21 import android.location.Location; 88 String loc1 = Location.convert(-80.075, Location.FORMAT_DEGREES); 92 String loc1b = Location.convert(-80.0, Location.FORMAT_DEGREES); 96 String loc2 = Location.convert(-80.085, Location.FORMAT_DEGREES); 100 String loc3 = Location.convert(-80.085, Location.FORMAT_MINUTES); 104 String loc4 = Location [all...] |
H A D | LocationTest.java | 24 * Unit tests for android.location.Location 29 // ***** Tests for Location.convert 35 result = Location.convert(testDegreesCoord); 46 result = Location.convert(testMinutesCoord); 57 result = Location.convert(testSecondsCoord); 68 result = Location.convert(testSecondsCoord); 79 result = Location.convert(-80.075, Location.FORMAT_DEGREES); 87 result = Location.convert(-80.0, Location [all...] |
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsFL/src/com/android/framework/externalsharedpermsfltestapp/ |
H A D | ExternalSharedPermsFLTest.java | 20 import android.location.Location; 37 public void onLocationChanged(Location location) {}
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPerms/src/com/android/framework/externalsharedpermstestapp/ |
H A D | ExternalSharedPermsTest.java | 20 import android.location.Location; 42 public void onLocationChanged(Location location) {}
|
/frameworks/base/core/tests/hosttests/test-apps/ExternalSharedPermsDiffKey/src/com/android/framework/externalsharedpermsdiffkeytestapp/ |
H A D | ExternalSharedPermsDiffKeyTest.java | 21 import android.location.Location; 40 public void onLocationChanged(Location location) {}
|
/frameworks/base/services/java/com/android/server/location/ |
H A D | LocationProviderInterface.java | 20 import android.location.Location; 26 * Location Manager's interface for location providers. 53 void updateLocation(Location location);
|
H A D | PassiveProvider.java | 21 import android.location.Location; 133 public void updateLocation(Location location) {
|
H A D | MockProvider.java | 21 import android.location.Location; 49 private final Location mLocation; 74 mLocation = new Location(name); 165 public void setLocation(Location l) { 211 public void updateLocation(Location location) {
|
H A D | LocationProviderProxy.java | 25 import android.location.Location; 423 public void updateLocation(Location location) {
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
H A D | TrackerEntry.java | 21 import android.location.Location; 37 private Location mLocation; 87 private TrackerEntry(Location loc) { 89 mLocation = new Location(loc); 93 * Creates a TrackerEntry from a Location 95 static TrackerEntry createEntry(Location loc, float distFromNetLocation) { 131 private void setLocation(Location location) { 143 Location getLocation() { 215 Location location = new Location(ta [all...] |
H A D | KMLFormatter.java | 21 import android.location.Location; 48 Location loc = entry.getLocation();
|
H A D | TrackerDataHelper.java | 21 import android.location.Location; 83 public void writeEntry(Location loc, float distFromNetLoc) {
|
/frameworks/base/core/java/android/webkit/ |
H A D | GeolocationService.java | 21 import android.location.Location; 97 * @param location The new location, as a Location object. 99 public void onLocationChanged(Location location) { 191 private static native void nativeNewLocationAvailable(long nativeObject, Location location);
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | LocationProvider.java | 24 import android.location.Location; 35 * Location providers can be implemented as services and return the result of 120 public void updateLocation(Location location) { 163 * @param location new Location to report 167 public void reportLocation(Location location) { 330 public abstract void onUpdateLocation(Location location);
|
/frameworks/base/services/java/com/android/server/ |
H A D | UiModeManagerService.java | 36 import android.location.Location; 106 private Location mLocation; 239 public void onLocationChanged(Location location) { 254 public void onLocationChanged(Location location) { 282 private boolean hasMoved(Location location) { 711 Location location = null; 715 final Location lastKnownLocation = 731 location = new Location("fake");
|
H A D | LocationManagerService.java | 40 import android.location.Location; 180 private HashMap<String,Location> mLastKnownLocation = 181 new HashMap<String,Location>(); 299 public boolean callLocationChangedLocked(Location location) { 375 Slog.v(TAG, "Location listener died"); 971 Location mLastFixBroadcast; 1340 final Location mLocation; 1351 mLocation = new Location(""); 1365 Location loc = new Location(""); [all...] |
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/ |
H A D | TrackerService.java | 28 import android.location.Location; 52 * Location Tracking service 69 private Location mNetworkLocation; 280 private synchronized float getDistanceFromNetwork(Location location) { 300 public void onLocationChanged(Location location) {
|