Home
last modified time | relevance | path

Searched refs:longitude (Results 1 – 14 of 14) sorted by relevance

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DLocationUtils.java52 …public static Location createLocation(String provider, double latitude, double longitude, float ac… in createLocation() argument
53 …return createLocation(provider, latitude, longitude, accuracy, SystemClock.elapsedRealtimeNanos()); in createLocation()
56 …public static Location createLocation(String provider, double latitude, double longitude, float ac… in createLocation() argument
59 location.setLongitude(longitude); in createLocation()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/location/
DLocationProvider.java90 public void setLocation(double latitude, double longitude, float accuracy) { in setLocation() argument
92 createLocation(sProviderName, latitude, longitude, accuracy)); in setLocation()
95 private static Location createLocation(String provider, double latitude, double longitude, in createLocation() argument
99 location.setLongitude(longitude); in createLocation()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerRecorderActivity.java199 float longitude = Float.parseFloat(location.substring(index)); in checkLocationInFile() local
203 + longitude, Math.abs(longitude - LONGITUDE) <= TOLERANCE); in checkLocationInFile()
DExifInterfaceTest.java142 public final float longitude; field in ExifInterfaceTest.ExpectedValue
202 longitude = typedArray.getFloat(index++, 0f); in ExpectedValue()
344 assertEquals(expectedValue.longitude, latLong[1], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
/cts/tests/location/location_none/src/android/location/cts/none/
DAddressTest.java142 double longitude = 1.23456789; in testAccessLongitude() local
143 address.setLongitude(longitude); in testAccessLongitude()
145 assertEquals(longitude, address.getLongitude(), DELTA); in testAccessLongitude()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsCallProfileTest.java377 double longitude = 456; in testCallComposerExtras() local
379 testLocation.setLongitude(longitude); in testCallComposerExtras()
384 assertEquals(longitude, testGetLocation.getLongitude(), 0); in testCallComposerExtras()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java434 int longitude = cdma.getLongitude(); in verifyCellIdentityCdma() local
435 assertTrue("getLongitude() out of range [-2592000,2592000], longitude=" + longitude, in verifyCellIdentityCdma()
436 longitude == CellInfo.UNAVAILABLE in verifyCellIdentityCdma()
437 || (longitude >= -LONGITUDE && longitude <= LONGITUDE)); in verifyCellIdentityCdma()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java643 double longitude = 456; in testExtrasPropagation() local
645 testLocation.setLongitude(longitude); in testExtrasPropagation()
687 assertEquals(longitude, testGetLocation.getLongitude(), 0); in testExtrasPropagation()
/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DMediaMuxerTest.java922 float longitude = Float.parseFloat(location.substring(index)); in verifyLocationInFile() local
925 assertTrue("Incorrect longitude: " + longitude + " [" + location + "]", in verifyLocationInFile()
926 Math.abs(longitude - LONGITUDE) <= TOLERANCE); in verifyLocationInFile()
/cts/tests/media/src/android/mediav2/cts/
DMuxerTest.java490 float longitude = Float.parseFloat(loc.substring(index, lastIndex - 1)); in verifyLocationInFile() local
493 assertTrue("Incorrect longitude: " + longitude + " [" + loc + "]", in verifyLocationInFile()
494 Math.abs(longitude - ANNAPURNA_LONG) <= TOLERANCE); in verifyLocationInFile()
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/
DMediaRecorderTest.java569 float longitude = Float.parseFloat(location.substring(index)); in checkLocationInFile() local
571 … assertTrue("Incorrect longitude: " + longitude, Math.abs(longitude - LONGITUDE) <= TOLERANCE); in checkLocationInFile()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1209 double longitude, double altitude, long timestamp, String method) in testGpsExifValues() argument
1213 parameters.setGpsLongitude(longitude); in testGpsExifValues()
1231 assertEquals((float)longitude, latLong[1], 0.0001f); in testGpsExifValues()
/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DSatelliteManagerTestOnMockService.java5221 private void setTestProviderLocation(double latitude, double longitude) { in setTestProviderLocation() argument
5224 TEST_PROVIDER, latitude, longitude, LOCATION_ACCURACY); in setTestProviderLocation()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt35823 field public static final String LONGITUDE = "longitude";