Home
last modified time | relevance | path

Searched refs:latitude (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()
1168 assertEquals(latitude, location.getLatitude()); 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()
1221 private void updateLocation(final String providerName, final double latitude, in updateLocation() argument
1224 location.setLatitude(latitude); 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.java116 double latitude = 1.23456789; in testAccessLatitude() local
117 address.setLatitude(latitude); in testAccessLatitude()
119 assertEquals(latitude, address.getLatitude()); in testAccessLatitude()
/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()
DExifInterfaceTest.java89 public final float latitude; field in ExifInterfaceTest.ExpectedValue
132 latitude = typedArray.getFloat(4, 0f); in ExpectedValue()
290 assertEquals(expectedValue.latitude, latLong[0], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
DMediaRecorderTest.java356 float latitude = Float.parseFloat(location.substring(0, index - 1)); in checkLocationInFile() local
358 assertTrue("Incorrect latitude: " + latitude, Math.abs(latitude - LATITUDE) <= TOLERANCE); in checkLocationInFile()
/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/camera/src/android/hardware/cts/
DCameraTest.java1077 private void testGpsExifValues(Parameters parameters, double latitude, in testGpsExifValues() argument
1081 parameters.setGpsLatitude(latitude); in testGpsExifValues()
1099 assertEquals((float)latitude, latLong[0], 0.0001f); in testGpsExifValues()