Home
last modified time | relevance | path

Searched refs:latitude (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/location/src/android/location/cts/
DLocationManagerTest.java937 double latitude = 20; in testLocationShouldStillBeMarkedMockWhenProvidersDoNotMatch() local
949 updateLocationAndWait(TEST_MOCK_PROVIDER_NAME, realProviderToFool, latitude, longitude); in testLocationShouldStillBeMarkedMockWhenProvidersDoNotMatch()
1065 private void updateLocationAndWait(String providerName, double latitude, double longitude) in updateLocationAndWait() argument
1067 updateLocationAndWait(providerName, providerName, latitude, longitude); in updateLocationAndWait()
1080 double latitude, double longitude) throws InterruptedException { in updateLocationAndWait() argument
1090 updateLocation(testProviderName, locationProviderName, latitude, longitude); in updateLocationAndWait()
1096 assertEquals("Bad latitude", latitude, location.getLatitude()); in updateLocationAndWait()
1116 private void registerProximityListener(double latitude, double longitude, float radius, in registerProximityListener() argument
1119 mManager.addProximityAlert(latitude, longitude, radius, expiration, mPendingIntent); in registerProximityListener()
1149 private void updateLocation(final String providerName, final double latitude, in updateLocation() argument
[all …]
DAddressTest.java116 double latitude = 1.23456789; in testAccessLatitude() local
117 address.setLatitude(latitude); in testAccessLatitude()
119 assertEquals(latitude, address.getLatitude()); in testAccessLatitude()
/cts/tests/tests/location2/src/android/location2/cts/
DLocationManagerTest.java290 private void updateLocation(final String providerName, final double latitude,
293 nlocation.setLatitude(latitude);
300 location.setLatitude(latitude);
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCellInfoTest.java401 int latitude = cdma.getLatitude(); in verifyCellIdentityCdma() local
402 assertTrue("getLatitude() out of range [-1296000,1296000], latitude=" + latitude, in verifyCellIdentityCdma()
403 latitude == CellInfo.UNAVAILABLE in verifyCellIdentityCdma()
404 || (latitude >= -LATITUDE && latitude <= LATITUDE)); in verifyCellIdentityCdma()
/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java108 public final float latitude; field in ExifInterfaceTest.ExpectedValue
170 latitude = typedArray.getFloat(index++, 0f); in ExpectedValue()
306 assertEquals(expectedValue.latitude, latLong[0], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
DMediaMuxerTest.java649 float latitude = Float.parseFloat(location.substring(0, index)); in verifyLocationInFile() local
651 assertTrue("Incorrect latitude: " + latitude + " [" + location + "]", in verifyLocationInFile()
652 Math.abs(latitude - LATITUDE) <= TOLERANCE); in verifyLocationInFile()
DMediaRecorderTest.java530 float latitude = Float.parseFloat(location.substring(0, index)); in checkLocationInFile() local
532 assertTrue("Incorrect latitude: " + latitude, Math.abs(latitude - LATITUDE) <= TOLERANCE); in checkLocationInFile()
/cts/tests/media/src/android/mediav2/cts/
DMuxerTest.java442 float latitude = Float.parseFloat(loc.substring(0, index - 1)); in verifyLocationInFile() local
448 assertTrue("Incorrect latitude: " + latitude + " [" + loc + "]", in verifyLocationInFile()
449 Math.abs(latitude - annapurnaLat) <= TOLERANCE); in verifyLocationInFile()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1176 private void testGpsExifValues(Parameters parameters, double latitude, in testGpsExifValues() argument
1180 parameters.setGpsLatitude(latitude); in testGpsExifValues()
1198 assertEquals((float)latitude, latLong[0], 0.0001f); in testGpsExifValues()