Searched refs:Location (Results 1 - 25 of 46) 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.java32 * 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 DILocationManager.aidl27 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 DGeofenceHardwareMonitorCallback.java19 import android.location.Location;
35 public void onMonitoringSystemChange(int monitoringType, boolean available, Location location) {
H A DIFusedLocationHardwareSink.aidl19 import android.location.Location;
22 * Fused Location hardware event sink interface.
33 void onLocationAvailable(in Location[] locations);
H A DIGeofenceHardwareMonitorCallback.aidl19 import android.location.Location;
23 void onMonitoringSystemChange(int monitoringType, boolean available, in Location location);
H A DIGeofenceHardwareCallback.aidl19 import android.location.Location;
23 void onGeofenceTransition(int geofenceId, int transition, in Location location,
H A DGeofenceHardwareCallback.java19 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 DFusedLocationHardwareSink.java19 import android.location.Location;
28 public abstract void onLocationAvailable(Location[] locations);
/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/packages/FusedLocation/src/com/android/location/fused/
H A DFusionEngine.java28 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 DLocationFudger.java24 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 DGeofenceState.java22 import android.location.Location;
36 private final Location mLocation;
58 mLocation = new Location("");
67 public int processLocation(Location location) {
H A DLocationBasedCountryDetector.java23 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 DFlpHardwareProvider.java26 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 DMockProvider.java21 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 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/ml/bordeaux/service/src/android/bordeaux/services/
H A DLocationCluster.java18 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 DLocationStatsAggregator.java26 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 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...]

Completed in 1433 milliseconds

12