Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/
DLocationManagerTest.java740 private void updateLocationAndWait(String providerName, double latitude, double longitude) in updateLocationAndWait() argument
749 updateLocation(providerName, latitude, longitude); in updateLocationAndWait()
756 assertEquals(longitude, location.getLongitude()); in updateLocationAndWait()
775 private void registerProximityListener(double latitude, double longitude, float radius, in registerProximityListener() argument
778 mManager.addProximityAlert(latitude, longitude, radius, expiration, mPendingIntent); in registerProximityListener()
809 final double longitude) { in updateLocation() argument
812 location.setLongitude(longitude); in updateLocation()
819 private void updateLocation(final double latitude, final double longitude) { in updateLocation() argument
820 updateLocation(TEST_MOCK_PROVIDER_NAME, latitude, longitude); in updateLocation()
DAddressTest.java134 double longitude = 1.23456789; in testAccessLongitude() local
135 address.setLongitude(longitude); in testAccessLongitude()
137 assertEquals(longitude, address.getLongitude()); in testAccessLongitude()
/cts/tests/tests/media/src/android/media/cts/
DMediaMuxerTest.java384 float longitude = Float.parseFloat(location.substring(index)); in verifyLocationInFile() local
387 assertTrue("Incorrect longitude: " + longitude, in verifyLocationInFile()
388 Math.abs(longitude - LONGITUDE) <= TOLERANCE); in verifyLocationInFile()
DMediaRecorderTest.java275 float longitude = Float.parseFloat(location.substring(index)); in checkLocationInFile() local
277 … assertTrue("Incorrect longitude: " + longitude, Math.abs(longitude - LONGITUDE) <= TOLERANCE); in checkLocationInFile()
/cts/tests/tests/location2/src/android/location2/cts/
DLocationManagerTest.java282 final double longitude) { in updateLocation() argument
285 nlocation.setLongitude(longitude); in updateLocation()
292 location.setLongitude(longitude); in updateLocation()
/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java884 double longitude, double altitude, long timestamp, String method) in testGpsExifValues() argument
888 parameters.setGpsLongitude(longitude); in testGpsExifValues()
906 assertEquals((float)longitude, latLong[1], 0.0001f); in testGpsExifValues()