Home
last modified time | relevance | path

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

/cts/tests/tests/location/src/android/location/cts/
DLocationManagerTest.java1153 private void updateLocationAndWait(String providerName, double latitude, double longitude) in updateLocationAndWait() argument
1162 updateLocation(providerName, latitude, longitude); in updateLocationAndWait()
1169 assertEquals(longitude, location.getLongitude()); in updateLocationAndWait()
1188 private void registerProximityListener(double latitude, double longitude, float radius, in registerProximityListener() argument
1191 mManager.addProximityAlert(latitude, longitude, radius, expiration, mPendingIntent); in registerProximityListener()
1222 final double longitude) { in updateLocation() argument
1225 location.setLongitude(longitude); in updateLocation()
1232 private void updateLocation(final double latitude, final double longitude) { in updateLocation() argument
1233 updateLocation(TEST_MOCK_PROVIDER_NAME, latitude, longitude); in updateLocation()
1236 private void updateFusedLocation(final double latitude, final double longitude) { in updateFusedLocation() argument
[all …]
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.java402 float longitude = Float.parseFloat(location.substring(index)); in verifyLocationInFile() local
405 assertTrue("Incorrect longitude: " + longitude + " [" + location + "]", in verifyLocationInFile()
406 Math.abs(longitude - LONGITUDE) <= TOLERANCE); in verifyLocationInFile()
DExifInterfaceTest.java90 public final float longitude; field in ExifInterfaceTest.ExpectedValue
133 longitude = typedArray.getFloat(5, 0f); in ExpectedValue()
291 assertEquals(expectedValue.longitude, latLong[1], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
DMediaRecorderTest.java357 float longitude = Float.parseFloat(location.substring(index)); in checkLocationInFile() local
359 … assertTrue("Incorrect longitude: " + longitude, Math.abs(longitude - LONGITUDE) <= TOLERANCE); in checkLocationInFile()
/cts/tests/tests/location2/src/android/location2/cts/
DLocationManagerTest.java303 final double longitude) { in updateLocation() argument
306 nlocation.setLongitude(longitude); in updateLocation()
313 location.setLongitude(longitude); in updateLocation()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1078 double longitude, double altitude, long timestamp, String method) in testGpsExifValues() argument
1082 parameters.setGpsLongitude(longitude); in testGpsExifValues()
1100 assertEquals((float)longitude, latLong[1], 0.0001f); in testGpsExifValues()