Home
last modified time | relevance | path

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

/cts/tests/tests/media/misc/src/android/media/misc/cts/
DExifInterfaceTest.java246 private void printExifTagsAndValues(String fileName, ExifInterface exifInterface) { in printExifTagsAndValues() argument
248 if (exifInterface.hasThumbnail()) { in printExifTagsAndValues()
249 byte[] thumbnailBytes = exifInterface.getThumbnailBytes(); in printExifTagsAndValues()
252 Bitmap bitmap = exifInterface.getThumbnailBitmap(); in printExifTagsAndValues()
264 if (exifInterface.getThumbnailBytes() != null) { in printExifTagsAndValues()
273 Log.v(TAG, fileName + " Altitude = " + exifInterface.getAltitude(.0)); in printExifTagsAndValues()
276 if (exifInterface.getLatLong(latLong)) { in printExifTagsAndValues()
285 String tagValue = exifInterface.getAttribute(tagKey); in printExifTagsAndValues()
290 private void assertIntTag(ExifInterface exifInterface, String tag, int expectedValue) { in assertIntTag() argument
291 int intValue = exifInterface.getAttributeInt(tag, 0); in assertIntTag()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DYuvImageTest.java437 ExifInterface exifInterface = new ExifInterface( in testCompressYuvToJpegRWithExif() local
439 assertEquals(exifInterface.getAttribute(ExifInterface.TAG_IMAGE_WIDTH), in testCompressYuvToJpegRWithExif()
441 assertEquals(exifInterface.getAttribute(ExifInterface.TAG_IMAGE_LENGTH), in testCompressYuvToJpegRWithExif()
443 assertEquals(exifInterface.getAttribute(ExifInterface.TAG_DATETIME), in testCompressYuvToJpegRWithExif()
445 assertEquals(exifInterface.getAttribute(ExifInterface.TAG_MAKE), in testCompressYuvToJpegRWithExif()
447 assertEquals(exifInterface.getAttribute(ExifInterface.TAG_MODEL), in testCompressYuvToJpegRWithExif()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodPresentMediaDialog.java215 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in getOrientationInDegreeFromImage() local
217 exifInterface.getAttributeInt( in getOrientationInDegreeFromImage()
/cts/hostsidetests/scopedstorage/redacturi/src/android/scopedstorage/cts/redacturi/
DRedactUriDeviceTest.java527 final ExifInterface exifInterface = new ExifInterface(img); in assertUriIsUnredacted() local
528 assertNotEquals(exifInterface.getGpsDateTime(), -1); in assertUriIsUnredacted()
531 exifInterface.getLatLong(latLong); in assertUriIsUnredacted()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java404 ExifInterface exifInterface = new ExifInterface(filePath); in testSingleImageThumbnail() local
407 assertTrue(exifInterface.getLatLong(latLong)); in testSingleImageThumbnail()
411 exifInterface.getAttribute(ExifInterface.TAG_GPS_DATESTAMP)); in testSingleImageThumbnail()
413 exifInterface.getAttribute(ExifInterface.TAG_GPS_TIMESTAMP)); in testSingleImageThumbnail()
417 exifInterface.getAttributeInt(ExifInterface.TAG_ORIENTATION, in testSingleImageThumbnail()
426 exifInterface.getAttribute(ExifInterface.TAG_DATETIME); in testSingleImageThumbnail()
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/
DScopedStorageTestHelper.java357 ExifInterface exifInterface = new ExifInterface(fd); in isFileDescriptorRedactedForUri() local
358 intent.putExtra(queryType, exifInterface.getGpsDateTime() == -1); in isFileDescriptorRedactedForUri()