Searched refs:Location (Results 1 - 25 of 28) sorted by relevance

12

/frameworks/base/location/java/android/location/
H A DLocation.aidl19 parcelable Location;
H A DILocationListener.aidl20 import android.location.Location;
28 void onLocationChanged(in Location location);
H A DIGpsStatusListener.aidl19 import android.location.Location;
H A DLocationListener.java33 * <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 DILocationProvider.aidl20 import android.location.Location;
49 void updateLocation(in Location location);
H A DILocationManager.aidl26 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 DLocation.java38 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 DLocationManager.java86 * 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 DLocationManagerTest.java21 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 DLocationTest.java24 * 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 DExternalSharedPermsFLTest.java20 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 DExternalSharedPermsTest.java20 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 DExternalSharedPermsDiffKeyTest.java21 import android.location.Location;
40 public void onLocationChanged(Location location) {}
/frameworks/base/services/java/com/android/server/location/
H A DLocationProviderInterface.java20 import android.location.Location;
26 * Location Manager's interface for location providers.
53 void updateLocation(Location location);
H A DPassiveProvider.java21 import android.location.Location;
133 public void updateLocation(Location location) {
H A DMockProvider.java21 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 DLocationProviderProxy.java25 import android.location.Location;
423 public void updateLocation(Location location) {
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
H A DTrackerEntry.java21 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 DKMLFormatter.java21 import android.location.Location;
48 Location loc = entry.getLocation();
H A DTrackerDataHelper.java21 import android.location.Location;
83 public void writeEntry(Location loc, float distFromNetLoc) {
/frameworks/base/core/java/android/webkit/
H A DGeolocationService.java21 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 DLocationProvider.java24 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 DUiModeManagerService.java36 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 DLocationManagerService.java40 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 DTrackerService.java28 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) {

Completed in 212 milliseconds

12