Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java221 private void printExifTagsAndValues(String fileName, ExifInterface exifInterface) { in printExifTagsAndValues() argument
223 if (exifInterface.hasThumbnail()) { in printExifTagsAndValues()
224 byte[] thumbnailBytes = exifInterface.getThumbnailBytes(); in printExifTagsAndValues()
227 Bitmap bitmap = exifInterface.getThumbnailBitmap(); in printExifTagsAndValues()
239 if (exifInterface.getThumbnailBytes() != null) { in printExifTagsAndValues()
248 Log.v(TAG, fileName + " Altitude = " + exifInterface.getAltitude(.0)); in printExifTagsAndValues()
251 if (exifInterface.getLatLong(latLong)) { in printExifTagsAndValues()
260 String tagValue = exifInterface.getAttribute(tagKey); in printExifTagsAndValues()
265 private void assertIntTag(ExifInterface exifInterface, String tag, int expectedValue) { in assertIntTag() argument
266 int intValue = exifInterface.getAttributeInt(tag, 0); in assertIntTag()
[all …]
/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/device/src/android/scopedstorage/cts/device/
DRedactUriDeviceTest.java501 final ExifInterface exifInterface = new ExifInterface(img); in assertUriIsUnredacted() local
502 assertNotEquals(exifInterface.getGpsDateTime(), -1); in assertUriIsUnredacted()
505 exifInterface.getLatLong(latLong); in assertUriIsUnredacted()
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java413 ExifInterface exifInterface = new ExifInterface(filePath); in testSingleImageThumbnail() local
416 assertTrue(exifInterface.getLatLong(latLong)); in testSingleImageThumbnail()
420 exifInterface.getAttribute(ExifInterface.TAG_GPS_DATESTAMP)); in testSingleImageThumbnail()
422 exifInterface.getAttribute(ExifInterface.TAG_GPS_TIMESTAMP)); in testSingleImageThumbnail()
426 exifInterface.getAttributeInt(ExifInterface.TAG_ORIENTATION, in testSingleImageThumbnail()
435 exifInterface.getAttribute(ExifInterface.TAG_DATETIME); in testSingleImageThumbnail()
/cts/hostsidetests/scopedstorage/ScopedStorageTestHelper/src/android/scopedstorage/cts/
DScopedStorageTestHelper.java160 ExifInterface exifInterface = new ExifInterface(fd); in isFileDescriptorRedactedForUri() local
161 intent.putExtra(queryType, exifInterface.getGpsDateTime() == -1); in isFileDescriptorRedactedForUri()