Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/
DLocationManagerTest.java1115 private void updateLocationAndWait(String providerName, double latitude, double longitude) in updateLocationAndWait() argument
1124 updateLocation(providerName, latitude, longitude); in updateLocationAndWait()
1130 assertEquals(latitude, location.getLatitude()); in updateLocationAndWait()
1150 private void registerProximityListener(double latitude, double longitude, float radius, in registerProximityListener() argument
1153 mManager.addProximityAlert(latitude, longitude, radius, expiration, mPendingIntent); in registerProximityListener()
1183 private void updateLocation(final String providerName, final double latitude, in updateLocation() argument
1186 location.setLatitude(latitude); in updateLocation()
1194 private void updateLocation(final double latitude, final double longitude) { in updateLocation() argument
1195 updateLocation(TEST_MOCK_PROVIDER_NAME, latitude, longitude); in updateLocation()
1198 private void updateFusedLocation(final double latitude, final double longitude) { in updateFusedLocation() 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.java302 private void updateLocation(final String providerName, final double latitude, in updateLocation() argument
305 nlocation.setLatitude(latitude); in updateLocation()
312 location.setLatitude(latitude); in updateLocation()
/cts/tests/tests/media/src/android/media/cts/
DMediaMuxerTest.java401 float latitude = Float.parseFloat(location.substring(0, index - 1)); in verifyLocationInFile() local
403 assertTrue("Incorrect latitude: " + latitude + " [" + location + "]", in verifyLocationInFile()
404 Math.abs(latitude - LATITUDE) <= TOLERANCE); in verifyLocationInFile()
DMediaRecorderTest.java306 float latitude = Float.parseFloat(location.substring(0, index - 1)); in checkLocationInFile() local
308 assertTrue("Incorrect latitude: " + latitude, Math.abs(latitude - LATITUDE) <= TOLERANCE); in checkLocationInFile()
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java1079 private void testGpsExifValues(Parameters parameters, double latitude, in testGpsExifValues() argument
1083 parameters.setGpsLatitude(latitude); in testGpsExifValues()
1101 assertEquals((float)latitude, latLong[0], 0.0001f); in testGpsExifValues()