/frameworks/base/services/core/java/com/android/server/location/gnss/ |
D | GnssGeofenceProxy.java | 33 public double latitude; field in GnssGeofenceProxy.GeofenceEntry 64 public boolean addCircularHardwareGeofence(int geofenceId, double latitude, in addCircularHardwareGeofence() argument 68 boolean added = mGnssNative.addGeofence(geofenceId, latitude, longitude, radius, in addCircularHardwareGeofence() 74 entry.latitude = latitude; in addCircularHardwareGeofence() 132 boolean added = mGnssNative.addGeofence(entry.geofenceId, entry.latitude, in onHalRestarted()
|
/frameworks/base/services/core/java/com/android/server/location/fudger/ |
D | LocationFudger.java | 158 double latitude = wrapLatitude(coarse.getLatitude()); in createCoarse() local 162 longitude += wrapLongitude(metersToDegreesLongitude(mLongitudeOffsetM, latitude)); in createCoarse() 163 latitude += wrapLatitude(metersToDegreesLatitude(mLatitudeOffsetM)); in createCoarse() 172 latitude = wrapLatitude(Math.round(latitude / latGranularity) * latGranularity); in createCoarse() 173 double lonGranularity = metersToDegreesLongitude(mAccuracyM, latitude); in createCoarse() 176 coarse.setLatitude(latitude); in createCoarse()
|
/frameworks/base/core/java/android/hardware/location/ |
D | GeofenceHardwareRequest.java | 42 private void setCircularGeofence(double latitude, double longitude, double radius) { in setCircularGeofence() argument 43 mLatitude = latitude; in setCircularGeofence() 56 public static GeofenceHardwareRequest createCircularGeofence(double latitude, in createCircularGeofence() argument 59 geofenceRequest.setCircularGeofence(latitude, longitude, radius); in createCircularGeofence()
|
/frameworks/base/core/java/android/location/ |
D | Geofence.java | 53 public static Geofence createCircle(double latitude, double longitude, float radius, in createCircle() argument 55 return new Geofence(latitude, longitude, radius, expirationRealtimeMs); in createCircle() 58 Geofence(double latitude, double longitude, float radius, long expirationRealtimeMs) { in Geofence() argument 59 Preconditions.checkArgumentInRange(latitude, -90.0, 90.0, "latitude"); in Geofence() 63 mLatitude = latitude; in Geofence()
|
D | IGpsGeofenceHardware.aidl | 27 boolean addCircularHardwareGeofence(int geofenceId, double latitude, double in addCircularHardwareGeofence() argument
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/ |
D | LocationUtils.java | 56 public static Location createLocation(String provider, double latitude, double longitude, in createLocation() argument 59 location.setLatitude(latitude); in createLocation() 67 public static LocationResult createLocationResult(String provider, double latitude, in createLocationResult() argument 69 return LocationResult.wrap(createLocation(provider, latitude, longitude, accuracy)); in createLocationResult()
|
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/ |
D | CameraSettings.java | 70 public final double latitude; field in CameraSettings.GpsData 84 public GpsData(double latitude, double longitude, double altitude, long timeStamp, in GpsData() argument 87 (latitude != 0.0 || longitude != 0.0 || altitude != 0.0)) { in GpsData() 90 this.latitude = latitude; in GpsData() 99 this.latitude = src.latitude; in GpsData()
|
/frameworks/base/location/java/android/location/provider/ |
D | ReverseGeocodeRequest.java | 55 double latitude, in ReverseGeocodeRequest() argument 62 Preconditions.checkArgumentInRange(latitude, -90.0, 90.0, "latitude"); in ReverseGeocodeRequest() 65 mLatitude = latitude; in ReverseGeocodeRequest() 195 @FloatRange(from = -90.0, to = 90.0) double latitude, in Builder() 201 mLatitude = latitude; in Builder()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/twilight/ |
D | TwilightServiceTest.java | 62 private Location createMockLocation(double latitude, double longitude) { in createMockLocation() argument 66 location.setLatitude(latitude); in createMockLocation()
|
/frameworks/base/location/java/android/location/ |
D | Geocoder.java | 139 @FloatRange(from = -90D, to = 90D) double latitude, in getFromLocation() 144 getFromLocation(latitude, longitude, maxResults, listener); in getFromLocation() 165 @FloatRange(from = -90D, to = 90D) double latitude, in getFromLocation() 171 latitude, in getFromLocation()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/gnss/hal/ |
D | FakeGnssHal.java | 193 public GnssHalGeofence(int geofenceId, double latitude, double longitude, double radius, in GnssHalGeofence() argument 198 Center.setLatitude(latitude); in GnssHalGeofence() 437 protected void injectLocation(@GnssLocationFlags int gnssLocationFlags, double latitude, in injectLocation() argument 443 mState.mInjectedLocation.setLatitude(latitude); in injectLocation() 449 protected void injectBestLocation(@GnssLocationFlags int gnssLocationFlags, double latitude, in injectBestLocation() argument 456 mState.mInjectedBestLocation.setLatitude(latitude); in injectBestLocation() 626 protected boolean addGeofence(int geofenceId, double latitude, double longitude, double radius, in addGeofence() argument 634 new GnssHalGeofence(geofenceId, latitude, longitude, radius, lastTransition, in addGeofence()
|
/frameworks/base/media/java/android/media/ |
D | MediaMuxer.java | 298 private static native void nativeSetLocation(long nativeObject, int latitude, int longitude); in nativeSetLocation() argument 435 public void setLocation(float latitude, float longitude) { in setLocation() argument 436 int latitudex10000 = Math.round(latitude * 10000); in setLocation() 440 String msg = "Latitude: " + latitude + " out of range."; in setLocation()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ims/ |
D | ImsCallProfileTest.java | 100 double latitude = 123; in testCallComposerExtras() local 102 testLocation.setLatitude(latitude); in testCallComposerExtras() 107 assertEquals(latitude, testGetLocation.getLatitude(), 0); in testCallComposerExtras()
|
/frameworks/av/media/ndk/ |
D | NdkMediaMuxer.cpp | 65 media_status_t AMediaMuxer_setLocation(AMediaMuxer *muxer, float latitude, float longtitude) { in AMediaMuxer_setLocation() argument 66 return translate_error(muxer->mImpl->setLocation(latitude * 10000, longtitude * 10000)); in AMediaMuxer_setLocation()
|
/frameworks/native/opengl/tests/angeles/ |
D | demo.c | 210 int a, longitude, latitude; in createSuperShape() local 228 for (latitude = latitudeBegin; latitude < latitudeEnd; ++latitude) in createSuperShape() 232 float p1 = -PI / 2 + latitude * 2 * PI / resol2; in createSuperShape() 233 float p2 = -PI / 2 + (latitude + 1) * 2 * PI / resol2; in createSuperShape() 255 if (latitude == latitudeBegin + 1) in createSuperShape()
|
/frameworks/av/media/libstagefright/ |
D | MediaMuxer.cpp | 158 status_t MediaMuxer::setLocation(int latitude, int longitude) { in setLocation() argument 169 ALOGV("Setting location: latitude = %d, longitude = %d", latitude, longitude); in setLocation() 170 return static_cast<MPEG4Writer*>(mWriter.get())->setGeoData(latitude, longitude); in setLocation()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaMuxerBase.h | 83 virtual status_t setLocation(int latitude, int longitude) = 0;
|
D | MediaMuxer.h | 91 status_t setLocation(int latitude, int longitude);
|
D | MediaAppender.h | 50 status_t setLocation(int latitude, int longitude);
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaMuxer.h | 108 float latitude, float longitude) __INTRODUCED_IN(21);
|
/frameworks/base/media/jni/ |
D | android_media_MediaMuxer.cpp | 196 JNIEnv *env, jclass /* clazz */, jlong nativeObject, jint latitude, jint longitude) { in android_media_MediaMuxer_setLocation() argument 199 status_t res = muxer->setLocation(latitude, longitude); in android_media_MediaMuxer_setLocation()
|
/frameworks/base/packages/FusedLocation/test/src/com/android/location/gnss/tests/ |
D | GnssOverlayLocationServiceTest.java | 171 private static Location createLocation(String provider, double latitude, double longitude, in createLocation() argument 174 location.setLatitude(latitude); in createLocation()
|
/frameworks/base/packages/FusedLocation/test/src/com/android/location/fused/tests/ |
D | FusedLocationServiceTest.java | 196 private static Location createLocation(String provider, double latitude, double longitude, in createLocation() argument 199 location.setLatitude(latitude); in createLocation()
|
/frameworks/base/services/core/java/com/android/server/location/gnss/hal/ |
D | GnssNative.java | 920 public boolean addGeofence(int geofenceId, double latitude, double longitude, double radius, in addGeofence() argument 924 return mGnssHal.addGeofence(geofenceId, latitude, longitude, radius, lastTransition, in addGeofence() 1404 protected void injectLocation(@GnssLocationFlags int gnssLocationFlags, double latitude, in injectLocation() argument 1409 native_inject_location(gnssLocationFlags, latitude, longitude, altitude, speed, in injectLocation() 1415 protected void injectBestLocation(@GnssLocationFlags int gnssLocationFlags, double latitude, in injectBestLocation() argument 1420 native_inject_best_location(gnssLocationFlags, latitude, longitude, altitude, speed, in injectBestLocation() 1521 protected boolean addGeofence(int geofenceId, double latitude, double longitude, in addGeofence() argument 1524 return native_add_geofence(geofenceId, latitude, longitude, radius, lastTransition, in addGeofence() 1686 private static native boolean native_add_geofence(int geofenceId, double latitude, in native_add_geofence() argument
|
/frameworks/base/location/lib/java/com/android/location/provider/ |
D | GeocodeProvider.java | 107 public abstract String onGetFromLocation(double latitude, double longitude, int maxResults, in onGetFromLocation() argument
|