Home
last modified time | relevance | path

Searched refs:location (Results 1 – 25 of 930) sorted by relevance

12345678910>>...38

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/altitude/
DAltitudeConverterTest.java17 package com.android.server.location.altitude;
24 import android.frameworks.location.altitude.GetGeoidHeightRequest;
25 import android.frameworks.location.altitude.GetGeoidHeightResponse;
26 import android.location.Location;
27 import android.location.altitude.AltitudeConverter;
55 Location location = new Location(""); in testAddMslAltitudeToLocation_expectedBehavior() local
56 location.setLatitude(-35.334815); in testAddMslAltitudeToLocation_expectedBehavior()
57 location.setLongitude(-45); in testAddMslAltitudeToLocation_expectedBehavior()
58 location.setAltitude(-1); in testAddMslAltitudeToLocation_expectedBehavior()
59 location.setVerticalAccuracyMeters(1); in testAddMslAltitudeToLocation_expectedBehavior()
[all …]
/frameworks/base/location/api/
Dsystem-lint-baseline.txt2 RequiresPermission: android.location.LocationManager#addGpsStatusListener(android.location.GpsStatu…
4 RequiresPermission: android.location.LocationManager#addNmeaListener(android.location.OnNmeaMessage…
6 RequiresPermission: android.location.LocationManager#addNmeaListener(android.location.OnNmeaMessage…
8 RequiresPermission: android.location.LocationManager#addNmeaListener(java.util.concurrent.Executor,…
10 RequiresPermission: android.location.LocationManager#addProximityAlert(double, double, float, long,…
12 RequiresPermission: android.location.LocationManager#injectGnssMeasurementCorrections(android.locat…
14 …id.location.LocationManager#registerGnssMeasurementsCallback(android.location.GnssMeasurementReque…
16 RequiresPermission: android.location.LocationManager#registerGnssMeasurementsCallback(android.locat…
18 … android.location.LocationManager#registerGnssMeasurementsCallback(android.location.GnssRequest, j…
20 …iresPermission: android.location.LocationManager#registerGnssMeasurementsCallback(java.util.concur…
[all …]
Dmodule-lib-lint-baseline.txt2 RequiresPermission: android.location.LocationManager#addGpsStatusListener(android.location.GpsStatu…
4 RequiresPermission: android.location.LocationManager#addNmeaListener(android.location.OnNmeaMessage…
6 RequiresPermission: android.location.LocationManager#addNmeaListener(android.location.OnNmeaMessage…
8 RequiresPermission: android.location.LocationManager#addNmeaListener(java.util.concurrent.Executor,…
10 RequiresPermission: android.location.LocationManager#addProximityAlert(double, double, float, long,…
12 RequiresPermission: android.location.LocationManager#injectGnssMeasurementCorrections(android.locat…
14 …id.location.LocationManager#registerGnssMeasurementsCallback(android.location.GnssMeasurementReque…
16 RequiresPermission: android.location.LocationManager#registerGnssMeasurementsCallback(android.locat…
18 … android.location.LocationManager#registerGnssMeasurementsCallback(android.location.GnssRequest, j…
20 …iresPermission: android.location.LocationManager#registerGnssMeasurementsCallback(java.util.concur…
[all …]
Dlint-baseline.txt2 RequiresPermission: android.location.LocationManager#addGpsStatusListener(android.location.GpsStatu…
4 RequiresPermission: android.location.LocationManager#addNmeaListener(android.location.OnNmeaMessage…
6 RequiresPermission: android.location.LocationManager#addNmeaListener(android.location.OnNmeaMessage…
8 RequiresPermission: android.location.LocationManager#addNmeaListener(java.util.concurrent.Executor,…
10 RequiresPermission: android.location.LocationManager#addProximityAlert(double, double, float, long,…
12 …id.location.LocationManager#registerGnssMeasurementsCallback(android.location.GnssMeasurementReque…
14 RequiresPermission: android.location.LocationManager#registerGnssMeasurementsCallback(android.locat…
16 …iresPermission: android.location.LocationManager#registerGnssMeasurementsCallback(java.util.concur…
18 RequiresPermission: android.location.LocationManager#registerGnssNavigationMessageCallback(android.
20 …sPermission: android.location.LocationManager#registerGnssNavigationMessageCallback(java.util.conc…
[all …]
Dtest-lint-baseline.txt2 GetterSetterNames: android.location.GnssClock#setBiasNanos(double):
4 GetterSetterNames: android.location.GnssClock#setBiasUncertaintyNanos(double):
6 GetterSetterNames: android.location.GnssClock#setDriftNanosPerSecond(double):
8 GetterSetterNames: android.location.GnssClock#setDriftUncertaintyNanosPerSecond(double):
10 GetterSetterNames: android.location.GnssClock#setElapsedRealtimeNanos(long):
12 GetterSetterNames: android.location.GnssClock#setElapsedRealtimeUncertaintyNanos(double):
14 GetterSetterNames: android.location.GnssClock#setFullBiasNanos(long):
16 GetterSetterNames: android.location.GnssClock#setLeapSecond(int):
18 GetterSetterNames: android.location.GnssClock#setReferenceCarrierFrequencyHzForIsb(double):
20 GetterSetterNames: android.location.GnssClock#setReferenceCodeTypeForIsb(String):
[all …]
Dcurrent.txt2 package android.location {
48 …field @NonNull public static final android.os.Parcelable.Creator<android.location.Address> CREATOR;
53 ctor @Deprecated public Criteria(android.location.Criteria);
81 …field @Deprecated @NonNull public static final android.os.Parcelable.Creator<android.location.Crit…
91 …method @Deprecated @Nullable public java.util.List<android.location.Address> getFromLocation(@Floa…
92 …(from=-180.0, to=180.0) double, @IntRange(from=1) int, @NonNull android.location.Geocoder.GeocodeL…
93 …method @Deprecated @Nullable public java.util.List<android.location.Address> getFromLocationName(@…
94 …omLocationName(@NonNull String, @IntRange(from=1) int, @NonNull android.location.Geocoder.GeocodeL…
95 …method @Deprecated @Nullable public java.util.List<android.location.Address> getFromLocationName(@…
96 ….0) double, @FloatRange(from=-180.0, to=180.0) double, @NonNull android.location.Geocoder.GeocodeL…
[all …]
Dsystem-current.txt2 package android.location {
6 method public void onLocationBatch(java.util.List<android.location.Location>);
16 …field @NonNull public static final android.os.Parcelable.Creator<android.location.CorrelationVecto…
21 method @NonNull public android.location.CorrelationVector build();
22 …method @NonNull public android.location.CorrelationVector.Builder setFrequencyOffsetMetersPerSecon…
23 method @NonNull public android.location.CorrelationVector.Builder setMagnitude(@NonNull int[]);
24 …method @NonNull public android.location.CorrelationVector.Builder setSamplingStartMeters(@FloatRan…
25 …method @NonNull public android.location.CorrelationVector.Builder setSamplingWidthMeters(@FloatRan…
38 …field @NonNull public static final android.os.Parcelable.Creator<android.location.Country> CREATOR;
42 …ull java.util.concurrent.Executor, @NonNull java.util.function.Consumer<android.location.Country>);
[all …]
/frameworks/base/location/java/android/location/altitude/
DAltitudeConverter.java17 package android.location.altitude;
23 import android.frameworks.location.altitude.GetGeoidHeightRequest;
24 import android.frameworks.location.altitude.GetGeoidHeightResponse;
25 import android.location.Location;
26 import android.location.flags.Flags;
28 import com.android.internal.location.altitude.GeoidMap;
29 import com.android.internal.location.altitude.S2CellIdUtils;
30 import com.android.internal.location.altitude.nano.MapParamsProto;
66 private static void validate(@NonNull Location location) { in validate() argument
68 isFiniteAndAtAbsMost(location.getLatitude(), MAX_ABS_VALID_LATITUDE), in validate()
[all …]
/frameworks/base/location/java/android/location/
DLocationResult.java17 package android.location;
22 import android.location.flags.Flags;
68 for (Location location : locations) { in create()
69 locationsCopy.add(new Location(Objects.requireNonNull(location))); in create()
81 for (Location location : locations) { in create()
82 locationsCopy.add(new Location(Objects.requireNonNull(location))); in create()
105 for (Location location : locations) { in wrap()
106 newLocations.add(Objects.requireNonNull(location)); in wrap()
128 Location location = mLocations.get(i); in validate() local
130 if (location.getLatitude() < -90.0 in validate()
[all …]
DILocationManager.aidl17 package android.location;
20 import android.location.Address;
21 import android.location.Criteria;
22 import android.location.Geofence;
23 import android.location.GnssAntennaInfo;
24 import android.location.GnssCapabilities;
25 import android.location.GnssMeasurementCorrections;
26 import android.location.GnssMeasurementRequest;
27 import android.location.IGnssAntennaInfoListener;
28 import android.location.IGnssMeasurementsListener;
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLES31.java411 int location, in glProgramUniform1i() argument
419 int location, in glProgramUniform2i() argument
428 int location, in glProgramUniform3i() argument
438 int location, in glProgramUniform4i() argument
449 int location, in glProgramUniform1ui() argument
457 int location, in glProgramUniform2ui() argument
466 int location, in glProgramUniform3ui() argument
476 int location, in glProgramUniform4ui() argument
487 int location, in glProgramUniform1f() argument
495 int location, in glProgramUniform2f() argument
[all …]
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/
DFusedLocationServiceTest.java17 package com.android.location.fused.tests;
19 import static android.location.LocationManager.GPS_PROVIDER;
20 import static android.location.LocationManager.NETWORK_PROVIDER;
22 import static androidx.test.ext.truth.location.LocationSubject.assertThat;
25 import android.location.Criteria;
26 import android.location.Location;
27 import android.location.LocationManager;
28 import android.location.LocationRequest;
29 import android.location.provider.ILocationProvider;
30 import android.location.provider.ILocationProviderManager;
[all …]
/frameworks/base/location/java/android/location/flags/
Dlocation.aconfig1 package: "android.location.flags"
6 namespace: "location"
13 namespace: "location"
14 description: "Enable location bypass feature"
21 namespace: "location"
22 description: "Enable location bypass appops behavior"
28 namespace: "location"
35 namespace: "location"
42 namespace: "location"
49 namespace: "location"
[all …]
/frameworks/base/services/core/java/com/android/server/location/altitude/
DAltitudeService.java17 package com.android.server.location.altitude;
20 import android.frameworks.location.altitude.AddMslAltitudeToLocationRequest;
21 import android.frameworks.location.altitude.AddMslAltitudeToLocationResponse;
22 import android.frameworks.location.altitude.GetGeoidHeightRequest;
23 import android.frameworks.location.altitude.GetGeoidHeightResponse;
24 import android.frameworks.location.altitude.IAltitudeService;
25 import android.location.Location;
26 import android.location.altitude.AltitudeConverter;
52 Location location = new Location(""); in addMslAltitudeToLocation() local
53 location.setLatitude(request.latitudeDegrees); in addMslAltitudeToLocation()
[all …]
/frameworks/base/services/core/jni/gnss/
DUtils.cpp31 namespace location_flags = android::location::flags;
167 jobject translateGnssLocation(JNIEnv* env, const android::hardware::gnss::GnssLocation& location) { in translateGnssLocation() argument
170 uint32_t flags = static_cast<uint32_t>(location.gnssLocationFlags); in translateGnssLocation()
172 SET(Latitude, location.latitudeDegrees); in translateGnssLocation()
173 SET(Longitude, location.longitudeDegrees); in translateGnssLocation()
176 SET(Altitude, location.altitudeMeters); in translateGnssLocation()
179 SET(Speed, (float)location.speedMetersPerSec); in translateGnssLocation()
182 SET(Bearing, (float)location.bearingDegrees); in translateGnssLocation()
185 SET(Accuracy, (float)location.horizontalAccuracyMeters); in translateGnssLocation()
188 SET(VerticalAccuracyMeters, (float)location.verticalAccuracyMeters); in translateGnssLocation()
[all …]
/frameworks/base/packages/FusedLocation/test/src/com/android/location/gnss/tests/
DGnssOverlayLocationServiceTest.java17 package com.android.location.gnss.tests;
19 import static android.location.LocationManager.GPS_HARDWARE_PROVIDER;
21 import static androidx.test.ext.truth.location.LocationSubject.assertThat;
24 import android.location.Criteria;
25 import android.location.Location;
26 import android.location.LocationManager;
27 import android.location.LocationRequest;
28 import android.location.provider.ILocationProvider;
29 import android.location.provider.ILocationProviderManager;
30 import android.location.provider.ProviderProperties;
[all …]
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES31.spec20 void glProgramUniform1i ( GLuint program, GLint location, GLint v0 )
21 void glProgramUniform2i ( GLuint program, GLint location, GLint v0, GLint v1 )
22 void glProgramUniform3i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2 )
23 void glProgramUniform4i ( GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3 )
24 void glProgramUniform1ui ( GLuint program, GLint location, GLuint v0 )
25 void glProgramUniform2ui ( GLuint program, GLint location, GLuint v0, GLuint v1 )
26 void glProgramUniform3ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2 )
27 void glProgramUniform4ui ( GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint …
28 void glProgramUniform1f ( GLuint program, GLint location, GLfloat v0 )
29 void glProgramUniform2f ( GLuint program, GLint location, GLfloat v0, GLfloat v1 )
[all …]
/frameworks/base/services/core/java/com/android/server/location/provider/
DStationaryThrottlingLocationProvider.java17 package com.android.server.location.provider;
19 import static android.location.provider.ProviderRequest.INTERVAL_DISABLED;
22 import static com.android.server.location.LocationManagerService.D;
23 import static com.android.server.location.LocationManagerService.TAG;
24 import static com.android.server.location.eventlog.LocationEventLog.EVENT_LOG;
29 import android.location.Location;
30 import android.location.LocationRequest;
31 import android.location.LocationResult;
32 import android.location.provider.ProviderRequest;
40 import com.android.server.location.injector.DeviceIdleHelper;
[all …]
DMockLocationProvider.java17 package com.android.server.location.provider;
22 import android.location.Location;
23 import android.location.LocationResult;
24 import android.location.LocationResult.BadLocationException;
25 import android.location.provider.ProviderProperties;
26 import android.location.provider.ProviderRequest;
27 import android.location.util.identity.CallerIdentity;
56 Location location = new Location(l); in setProviderLocation() local
57 location.setIsFromMockProvider(true); in setProviderLocation()
58 mLocation = location; in setProviderLocation()
[all …]
/frameworks/base/services/core/java/com/android/server/location/geofence/
DGeofenceManager.java17 package com.android.server.location.geofence;
19 import static android.location.LocationManager.FUSED_PROVIDER;
20 import static android.location.LocationManager.KEY_PROXIMITY_ENTERING;
22 import static com.android.server.location.LocationPermissions.PERMISSION_FINE;
29 import android.location.Geofence;
30 import android.location.Location;
31 import android.location.LocationListener;
32 import android.location.LocationManager;
33 import android.location.LocationRequest;
34 import android.location.util.identity.CallerIdentity;
[all …]
/frameworks/base/location/
DAndroid.bp11 name: "framework-location-sources",
19 name: "framework-location",
21 ":framework-location-sources",
25 "android.location",
26 "com.android.internal.location",
29 "android.location.flags-aconfig-java",
34 "com.android.internal.location",
38 "frameworks/base/location/java",
45 name: "framework-location-compat-config",
46 src: ":framework-location",
/frameworks/base/services/core/java/com/android/server/
DSensorNotificationService.java27 import android.location.Location;
28 import android.location.LocationListener;
29 import android.location.LocationManager;
113 public void onLocationChanged(Location location) { in onLocationChanged() argument
116 location.getLatitude(), location.getLongitude(), in onLocationChanged()
117 location.getAltitude(), location.getAccuracy(), in onLocationChanged()
118 location.isMock())); in onLocationChanged()
121 if (location.getLatitude() == 0 && location.getLongitude() == 0) { in onLocationChanged()
133 if (useMockedLocation() == location.isMock() || time < MILLIS_2010_1_1) { in onLocationChanged()
138 (float) location.getLatitude(), (float) location.getLongitude(), in onLocationChanged()
[all …]
/frameworks/base/core/java/android/hardware/location/
DIContextHubService.aidl17 package android.hardware.location;
21 import android.hardware.location.ContextHubInfo;
22 import android.hardware.location.ContextHubMessage;
23 import android.hardware.location.NanoApp;
24 import android.hardware.location.NanoAppBinary;
25 import android.hardware.location.NanoAppFilter;
26 import android.hardware.location.NanoAppInstanceInfo;
27 import android.hardware.location.IContextHubCallback;
28 import android.hardware.location.IContextHubClient;
29 import android.hardware.location.IContextHubClientCallback;
[all …]
/frameworks/base/location/lib/java/com/android/location/provider/
DLocationProviderBase.java17 package com.android.location.provider;
22 import android.location.ILocationManager;
23 import android.location.Location;
24 import android.location.LocationManager;
25 import android.location.LocationProvider;
26 import android.location.provider.ILocationProvider;
27 import android.location.provider.ILocationProviderManager;
28 import android.location.provider.ProviderProperties;
29 import android.location.provider.ProviderRequest;
252 public void reportLocation(@NonNull Location location) { in reportLocation() argument
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DLocationUtils.java17 package com.android.server.location;
19 import android.location.Location;
20 import android.location.LocationResult;
58 Location location = new Location(provider); in createLocation() local
59 location.setLatitude(latitude); in createLocation()
60 location.setLongitude(longitude); in createLocation()
61 location.setAccuracy(accuracy); in createLocation()
62 location.setTime(System.currentTimeMillis()); in createLocation()
63 location.setElapsedRealtimeNanos(SystemClock.elapsedRealtimeNanos()); in createLocation()
64 return location; in createLocation()

12345678910>>...38