Home
last modified time | relevance | path

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

/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DLocationUtils.java51 …public static Location createLocation(String provider, double latitude, double longitude, float ac… in createLocation() argument
52 …return createLocation(provider, latitude, longitude, accuracy, SystemClock.elapsedRealtimeNanos()); in createLocation()
55 …public static Location createLocation(String provider, double latitude, double longitude, float ac… in createLocation() argument
58 location.setLongitude(longitude); in createLocation()
/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.java418 int longitude = cdma.getLongitude(); in verifyCellIdentityCdma() local
419 assertTrue("getLongitude() out of range [-2592000,2592000], longitude=" + longitude, in verifyCellIdentityCdma()
420 longitude == CellInfo.UNAVAILABLE in verifyCellIdentityCdma()
421 || (longitude >= -LONGITUDE && longitude <= LONGITUDE)); in verifyCellIdentityCdma()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java492 double longitude = 456; in testExtrasPropagation() local
494 testLocation.setLongitude(longitude); in testExtrasPropagation()
536 assertEquals(longitude, testGetLocation.getLongitude(), 0); in testExtrasPropagation()
/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java121 public final float longitude; field in ExifInterfaceTest.ExpectedValue
181 longitude = typedArray.getFloat(index++, 0f); in ExpectedValue()
319 assertEquals(expectedValue.longitude, latLong[1], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
DMediaMuxerTest.java882 float longitude = Float.parseFloat(location.substring(index)); in verifyLocationInFile() local
885 assertTrue("Incorrect longitude: " + longitude + " [" + location + "]", in verifyLocationInFile()
886 Math.abs(longitude - LONGITUDE) <= TOLERANCE); in verifyLocationInFile()
DMediaRecorderTest.java542 float longitude = Float.parseFloat(location.substring(index)); in checkLocationInFile() local
544 … assertTrue("Incorrect longitude: " + longitude, Math.abs(longitude - LONGITUDE) <= TOLERANCE); in checkLocationInFile()
/cts/tests/media/src/android/mediav2/cts/
DMuxerTest.java509 float longitude = Float.parseFloat(loc.substring(index, lastIndex - 1)); in verifyLocationInFile() local
512 assertTrue("Incorrect longitude: " + longitude + " [" + loc + "]", in verifyLocationInFile()
513 Math.abs(longitude - annapurnaLong) <= TOLERANCE); in verifyLocationInFile()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1208 double longitude, double altitude, long timestamp, String method) in testGpsExifValues() argument
1212 parameters.setGpsLongitude(longitude); in testGpsExifValues()
1230 assertEquals((float)longitude, latLong[1], 0.0001f); in testGpsExifValues()