Home
last modified time | relevance | path

Searched refs:latitude (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
58 location.setLatitude(latitude); 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
98 location.setLatitude(latitude); in createLocation()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerRecorderActivity.java198 float latitude = Float.parseFloat(location.substring(0, index)); in checkLocationInFile() local
201 + latitude, Math.abs(latitude - LATITUDE) <= TOLERANCE); in checkLocationInFile()
DExifInterfaceTest.java139 public final float latitude; field in ExifInterfaceTest.ExpectedValue
201 latitude = typedArray.getFloat(index++, 0f); in ExpectedValue()
343 assertEquals(expectedValue.latitude, latLong[0], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
/cts/tests/location/location_none/src/android/location/cts/none/
DAddressTest.java122 double latitude = 1.23456789; in testAccessLatitude() local
123 address.setLatitude(latitude); in testAccessLatitude()
125 assertEquals(latitude, address.getLatitude(), DELTA); in testAccessLatitude()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsCallProfileTest.java376 double latitude = 123; in testCallComposerExtras() local
378 testLocation.setLatitude(latitude); in testCallComposerExtras()
383 assertEquals(latitude, testGetLocation.getLatitude(), 0); in testCallComposerExtras()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java439 int latitude = cdma.getLatitude(); in verifyCellIdentityCdma() local
440 assertTrue("getLatitude() out of range [-1296000,1296000], latitude=" + latitude, in verifyCellIdentityCdma()
441 latitude == CellInfo.UNAVAILABLE in verifyCellIdentityCdma()
442 || (latitude >= -LATITUDE && latitude <= LATITUDE)); in verifyCellIdentityCdma()
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallDetailsTest.java642 double latitude = 123; in testExtrasPropagation() local
644 testLocation.setLatitude(latitude); in testExtrasPropagation()
686 assertEquals(latitude, testGetLocation.getLatitude(), 0); in testExtrasPropagation()
/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DMediaMuxerTest.java921 float latitude = Float.parseFloat(location.substring(0, index)); in verifyLocationInFile() local
923 assertTrue("Incorrect latitude: " + latitude + " [" + location + "]", in verifyLocationInFile()
924 Math.abs(latitude - LATITUDE) <= TOLERANCE); in verifyLocationInFile()
/cts/tests/media/src/android/mediav2/cts/
DMuxerTest.java485 float latitude = Float.parseFloat(loc.substring(0, index - 1)); in verifyLocationInFile() local
491 assertTrue("Incorrect latitude: " + latitude + " [" + loc + "]", in verifyLocationInFile()
492 Math.abs(latitude - ANNAPURNA_LAT) <= TOLERANCE); in verifyLocationInFile()
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/
DMediaRecorderTest.java568 float latitude = Float.parseFloat(location.substring(0, index)); in checkLocationInFile() local
570 assertTrue("Incorrect latitude: " + latitude, Math.abs(latitude - LATITUDE) <= TOLERANCE); in checkLocationInFile()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1208 private void testGpsExifValues(Parameters parameters, double latitude, in testGpsExifValues() argument
1212 parameters.setGpsLatitude(latitude); in testGpsExifValues()
1230 assertEquals((float)latitude, latLong[0], 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.txt35822 field public static final String LATITUDE = "latitude";