/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 | 32 * Location</a> developer guide.</p> 40 * <p> There are no restrictions on the use of the supplied Location object. 42 * @param location The new location, as a Location object. 44 void onLocationChanged(Location location);
|
H A D | ILocationManager.aidl | 27 import android.location.Location; 48 Location getLastLocation(in LocationRequest request, String packageName); 73 void setTestProviderLocation(String provider, in Location loc); 87 void reportLocation(in Location location, boolean passive);
|
/frameworks/base/core/java/android/hardware/location/ |
H A D | GeofenceHardwareMonitorCallback.java | 19 import android.location.Location; 35 public void onMonitoringSystemChange(int monitoringType, boolean available, Location location) {
|
H A D | IFusedLocationHardwareSink.aidl | 19 import android.location.Location; 22 * Fused Location hardware event sink interface. 33 void onLocationAvailable(in Location[] locations);
|
H A D | IGeofenceHardwareMonitorCallback.aidl | 19 import android.location.Location; 23 void onMonitoringSystemChange(int monitoringType, boolean available, in Location location);
|
H A D | IGeofenceHardwareCallback.aidl | 19 import android.location.Location; 23 void onGeofenceTransition(int geofenceId, int transition, in Location location,
|
H A D | GeofenceHardwareCallback.java | 19 import android.location.Location; 37 public void onGeofenceTransition(int geofenceId, int transition, Location location,
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
H A D | FusedLocationHardwareSink.java | 19 import android.location.Location; 28 public abstract void onLocationAvailable(Location[] locations);
|
/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/packages/FusedLocation/src/com/android/location/fused/ |
H A D | FusionEngine.java | 28 import android.location.Location; 40 public void reportLocation(Location location); 56 private Location mFusedLocation; 57 private Location mGpsLocation; 58 private Location mNetworkLocation; 68 mNetworkLocation = new Location(""); 70 mGpsLocation = new Location(""); 202 private static boolean isBetterThan(Location locationA, Location locationB) { 231 mFusedLocation = new Location(mGpsLocatio [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | LocationFudger.java | 24 import android.location.Location; 168 public Location getOrCreate(Location location) { 170 Location coarse = location.getExtraLocation(Location.EXTRA_COARSE_LOCATION); 181 private Location addCoarseLocationExtraLocked(Location location) { 182 Location coarse = createCoarseLocked(location); 183 location.setExtraLocation(Location.EXTRA_COARSE_LOCATION, coarse); 202 private Location createCoarseLocke [all...] |
H A D | GeofenceState.java | 22 import android.location.Location; 36 private final Location mLocation; 58 mLocation = new Location(""); 67 public int processLocation(Location location) {
|
H A D | LocationBasedCountryDetector.java | 23 import android.location.Location; 74 protected String getCountryFromLocation(Location location) { 111 protected Location getLastKnownLocation() { 113 Location bestLocation = null; 115 Location lastKnownLocation = mLocationManager.getLastKnownLocation(provider); 162 public void onLocationChanged(Location location) { 221 private synchronized void queryCountryCode(final Location location) {
|
H A D | FlpHardwareProvider.java | 26 import android.location.Location; 102 private void onLocationReport(Location[] locations) { 103 for (Location location : locations) { 140 Location location, 153 private void onGeofenceMonitorStatus(int status, int source, Location location) { 155 Location updatedLocation = null; 207 private native void nativeInjectLocation(Location location); 237 public static final String LOCATION = "Location"; 369 public void onLocationChanged(Location location) { 421 private Location updateLocationInformatio [all...] |
H A D | MockProvider.java | 21 import android.location.Location; 46 private final Location mLocation; 64 mLocation = new Location(name); 108 public void setLocation(Location l) {
|
/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/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | LocationCluster.java | 18 import android.location.Location; 30 private ArrayList<Location> mLocations = new ArrayList<Location>(); 48 public LocationCluster(Location location, long duration) { 53 public void addSample(Location location, long duration) { 57 // TODO: extend Location class with additional field for this. 71 for (Location location : mLocations) {
|
H A D | LocationStatsAggregator.java | 26 import android.location.Location; 46 public static final String CURRENT_LOCATION = "Current Location"; 48 public static final String UNKNOWN_LOCATION = "Unknown Location"; 125 Location location = 152 private Location getLastKnownLocation() { 154 Location bestResult = null; 161 Location location = mLocationManager.getLastKnownLocation(provider); 187 Location location = getLastKnownLocation(); 191 Log.i(TAG, "Best Available Location Provider: " + provider); 203 mHandlerThread = new HandlerThread("Location Handle [all...] |
/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...] |