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

1234

/frameworks/base/location/java/android/location/
H A DLocation.aidl19 parcelable Location;
H A DIBatchedLocationCallback.aidl19 import android.location.Location;
28 void onLocationBatch(in List<Location> locations);
H A DILocationListener.aidl20 import android.location.Location;
28 void onLocationChanged(in Location location);
H A DIGnssStatusListener.aidl19 import android.location.Location;
H A DBatchedLocationCallback.java43 public void onLocationBatch(List<Location> locations) {}
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);
/frameworks/data-binding/compilerCommon/src/test/java/android/databinding/tool/store/
H A DLocationTest.java30 assertFalse(new Location().isValid());
35 Location location = new Location(0, 0, 1, 1);
41 Location location1 = new Location(0, 0, 10, 1);
42 Location location2 = new Location(0, 0, 9, 1);
52 Location loc = new Location(1, 2, 3, 4);
58 Location lo
[all...]
/frameworks/base/core/java/android/hardware/location/
H A DGeofenceHardwareMonitorCallback.java20 import android.location.Location;
44 public void onMonitoringSystemChange(int monitoringType, boolean available, Location location) {
54 * {@link #onMonitoringSystemChange(int, boolean, android.location.Location)}.
H A DIFusedLocationHardwareSink.aidl19 import android.location.Location;
22 * Fused Location hardware event sink interface.
33 void onLocationAvailable(in Location[] locations) = 0;
H A DIGeofenceHardwareCallback.aidl19 import android.location.Location;
23 void onGeofenceTransition(int geofenceId, int transition, in Location location,
H A DGeofenceHardwareCallback.java20 import android.location.Location;
41 public void onGeofenceTransition(int geofenceId, int transition, Location location,
H A DIGeofenceHardwareMonitorCallback.aidl20 import android.location.Location;
H A DGeofenceHardwareMonitorEvent.java20 import android.location.Location;
34 private final Location mLocation;
40 Location location) {
71 public Location getLocation() {
83 Location location = source.readParcelable(classLoader);
/frameworks/base/location/lib/java/com/android/location/provider/
H A DFusedLocationHardwareSink.java19 import android.location.Location;
32 public void onLocationAvailable(Location[] locations) {
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/scopes/
H A DLocationScopeProvider.java20 import android.databinding.tool.store.Location;
28 List<Location> provideScopeLocation();
/frameworks/base/location/tests/locationtests/src/android/location/
H A DLocationTest.java25 * Unit tests for android.location.Location
30 // ***** Tests for Location.convert
36 result = Location.convert(testDegreesCoord);
47 result = Location.convert(testMinutesCoord);
58 result = Location.convert(testSecondsCoord);
69 result = Location.convert(testSecondsCoord);
80 result = Location.convert(-80.075, Location.FORMAT_DEGREES);
88 result = Location.convert(-80.0, Location
[all...]
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...]
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/processing/
H A DScopedErrorReport.java19 import android.databinding.tool.store.Location;
28 private final List<Location> mLocations;
33 ScopedErrorReport(String filePath, List<Location> locations) {
42 public List<Location> getLocations() {
59 for (Location location : mLocations) {
63 sb.append("\n Location: ").append(mLocations.get(0).toUserReadableString());
H A DScope.java22 import android.databinding.tool.store.Location;
40 public static void enter(final Location location) {
43 public List<Location> provideScopeLocation() {
127 List<Location> locations = loc.provideScopeLocation();
131 for (Location location : locations) {
145 List<Location> locations = null;
159 private static List<Location> findAbsoluteLocationFrom(ScopeEntry entry,
161 List<Location> locations = top.provideScopeLocation();
169 List<Location> chosen = new ArrayList<Location>();
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/twilight/
H A DTwilightServiceTest.java21 import android.location.Location;
27 private Location mInitialLocation;
48 final Location validLocation = createMockLocation(35.0, 35.0);
56 final Location invalidLocation = createMockLocation(0.0, 0.0);
62 private Location createMockLocation(double latitude, double longitude) {
64 final Location location = new Location("");
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/
H A DMockLayoutBinder.java17 import android.databinding.tool.store.Location;
30 public IdentifierExpr addVariable(String name, String type, Location location) {
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/store/
H A DLocation.java40 public class Location { class
51 public Location parentLocation;
54 public Location() { method in class:Location
58 public Location(Location other) { method in class:Location
65 public Location(Token start, Token end) { method in class:Location
84 public Location(ParserRuleContext context) { method in class:Location
89 public Location(int startLine, int startOffset, int endLine, int endOffset) { method in class:Location
98 return "Location{" +
107 public void setParentLocation(Location parentLocatio
[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 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/core/java/com/android/server/location/
H A DLocationFudger.java24 import android.location.Location;
165 public Location getOrCreate(Location location) {
167 Location coarse = location.getExtraLocation(Location.EXTRA_COARSE_LOCATION);
178 private Location addCoarseLocationExtraLocked(Location location) {
179 Location coarse = createCoarseLocked(location);
180 location.setExtraLocation(Location.EXTRA_COARSE_LOCATION, coarse);
199 private Location createCoarseLocke
[all...]

Completed in 435 milliseconds

1234