Home
last modified time | relevance | path

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

/cts/hostsidetests/scopedstorage/redacturi/src/android/scopedstorage/cts/redacturi/
DRedactUriDeviceTest.java530 float[] latLong = new float[]{0, 0}; in assertUriIsUnredacted() local
531 exifInterface.getLatLong(latLong); in assertUriIsUnredacted()
532 assertNotEquals(latLong[0], 0); in assertUriIsUnredacted()
533 assertNotEquals(latLong[1], 0); in assertUriIsUnredacted()
538 float[] latLong = new float[]{0, 0}; in assertUriIsRedacted() local
539 redactedExifInf.getLatLong(latLong); in assertUriIsRedacted()
540 assertEquals(latLong[0], 0.0, 0.0); in assertUriIsRedacted()
541 assertEquals(latLong[1], 0.0, 0.0); in assertUriIsRedacted()
/cts/tests/PhotoPicker/src/android/photopicker/cts/util/
DResultsAssertionsUtils.java199 final float[] latLong = new float[2]; in assertImageExifRedacted() local
200 exif.getLatLong(latLong); in assertImageExifRedacted()
202 .that(latLong[0]).isWithin(0.001f).of(0); in assertImageExifRedacted()
204 .that(latLong[1]).isWithin(0.001f).of(0); in assertImageExifRedacted()
/cts/tests/mediaprovider/src/android/provider/cts/media/
DMediaStore_Images_MediaTest.java422 final float[] latLong = new float[2];
423 exif.getLatLong(latLong);
424 assertEquals(53.83451, latLong[0], 0.001);
425 assertEquals(10.69585, latLong[1], 0.001);
442 final float[] latLong = new float[2];
443 exif.getLatLong(latLong);
444 assertEquals(0, latLong[0], 0.001);
445 assertEquals(0, latLong[1], 0.001);
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DExifInterfaceTest.java275 float[] latLong = new float[2]; in printExifTagsAndValues() local
276 if (exifInterface.getLatLong(latLong)) { in printExifTagsAndValues()
277 Log.v(TAG, fileName + " Latitude = " + latLong[0]); in printExifTagsAndValues()
278 Log.v(TAG, fileName + " Longitude = " + latLong[1]); in printExifTagsAndValues()
333 float[] latLong = new float[2]; in compareWithExpectedValue() local
334 assertEquals(expectedValue.hasLatLong, exifInterface.getLatLong(latLong)); in compareWithExpectedValue()
343 assertEquals(expectedValue.latitude, latLong[0], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
344 assertEquals(expectedValue.longitude, latLong[1], DIFFERENCE_TOLERANCE); in compareWithExpectedValue()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraIntentsActivity.java482 float[] latLong = new float[2]; in handleIntentPictureResult() local
483 if (exif.getLatLong(latLong)) { in handleIntentPictureResult()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java406 float[] latLong = new float[2]; in testSingleImageThumbnail() local
407 assertTrue(exifInterface.getLatLong(latLong)); in testSingleImageThumbnail()
408 assertEquals(GPS_LATITUDE, latLong[0], GPS_DIFFERENCE_TOLERANCE); in testSingleImageThumbnail()
409 assertEquals(GPS_LONGITUDE, latLong[1], GPS_DIFFERENCE_TOLERANCE); in testSingleImageThumbnail()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1228 float[] latLong = new float[2]; in testGpsExifValues() local
1229 assertTrue(exif.getLatLong(latLong)); in testGpsExifValues()
1230 assertEquals((float)latitude, latLong[0], 0.0001f); in testGpsExifValues() local
1231 assertEquals((float)longitude, latLong[1], 0.0001f); in testGpsExifValues() local