Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/device/src/android/scopedstorage/cts/device/
DRedactUriDeviceTest.java506 float[] latLong = new float[]{0, 0}; in assertUriIsUnredacted() local
507 exifInterface.getLatLong(latLong); in assertUriIsUnredacted()
508 assertNotEquals(latLong[0], 0); in assertUriIsUnredacted()
509 assertNotEquals(latLong[1], 0); in assertUriIsUnredacted()
514 float[] latLong = new float[]{0, 0}; in assertUriIsRedacted() local
515 redactedExifInf.getLatLong(latLong); in assertUriIsRedacted()
516 assertEquals(latLong[0], 0.0, 0.0); in assertUriIsRedacted()
517 assertEquals(latLong[1], 0.0, 0.0); in assertUriIsRedacted()
/cts/tests/tests/provider/src/android/provider/cts/media/
DMediaStore_Images_MediaTest.java406 final float[] latLong = new float[2];
407 exif.getLatLong(latLong);
408 assertEquals(53.83451, latLong[0], 0.001);
409 assertEquals(10.69585, latLong[1], 0.001);
425 final float[] latLong = new float[2];
426 exif.getLatLong(latLong);
427 assertEquals(0, latLong[0], 0.001);
428 assertEquals(0, latLong[1], 0.001);
/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java250 float[] latLong = new float[2]; in printExifTagsAndValues() local
251 if (exifInterface.getLatLong(latLong)) { in printExifTagsAndValues()
252 Log.v(TAG, fileName + " Latitude = " + latLong[0]); in printExifTagsAndValues()
253 Log.v(TAG, fileName + " Longitude = " + latLong[1]); in printExifTagsAndValues()
308 float[] latLong = new float[2]; in compareWithExpectedValue() local
309 assertEquals(expectedValue.hasLatLong, exifInterface.getLatLong(latLong)); in compareWithExpectedValue()
318 assertEquals(expectedValue.latitude, latLong[0], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
319 assertEquals(expectedValue.longitude, latLong[1], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java484 float[] latLong = new float[2]; in handleIntentPictureResult() local
485 if (exif.getLatLong(latLong)) { in handleIntentPictureResult()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java415 float[] latLong = new float[2]; in testSingleImageThumbnail() local
416 assertTrue(exifInterface.getLatLong(latLong)); in testSingleImageThumbnail()
417 assertEquals(GPS_LATITUDE, latLong[0], GPS_DIFFERENCE_TOLERANCE); in testSingleImageThumbnail()
418 assertEquals(GPS_LONGITUDE, latLong[1], GPS_DIFFERENCE_TOLERANCE); in testSingleImageThumbnail()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1227 float[] latLong = new float[2]; in testGpsExifValues() local
1228 assertTrue(exif.getLatLong(latLong)); in testGpsExifValues()
1229 assertEquals((float)latitude, latLong[0], 0.0001f); in testGpsExifValues() local
1230 assertEquals((float)longitude, latLong[1], 0.0001f); in testGpsExifValues() local