Home
last modified time | relevance | path

Searched refs:exif (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/cts/
DCameraTest.java808 ExifInterface exif = new ExifInterface(JPEG_PATH); in testJpegThumbnailSizeByCamera() local
809 assertTrue(exif.hasThumbnail()); in testJpegThumbnailSizeByCamera()
810 byte[] thumb = exif.getThumbnail(); in testJpegThumbnailSizeByCamera()
834 exif = new ExifInterface(JPEG_PATH); in testJpegThumbnailSizeByCamera()
835 assertFalse(exif.hasThumbnail()); in testJpegThumbnailSizeByCamera()
876 ExifInterface exif = new ExifInterface(JPEG_PATH); in testJpegExifByCamera() local
878 boolean extraExiftestPassed = checkExtraExifTagsSucceeds(failedCause, exif); in testJpegExifByCamera()
881 String datetime = exif.getAttribute(ExifInterface.TAG_DATETIME); in testJpegExifByCamera()
886 checkGpsDataNull(exif); in testJpegExifByCamera()
887 double exifFocalLength = exif.getAttributeDouble(ExifInterface.TAG_FOCAL_LENGTH, -1); in testJpegExifByCamera()
[all …]
/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DCameraTestUtils.java1760 ExifInterface exif = new ExifInterface(jpegFilename); in verifyJpegKeys() local
1764 !exif.hasThumbnail()); in verifyJpegKeys()
1767 expectedThumbnailSize, exif.hasThumbnail()); in verifyJpegKeys()
1776 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegKeys()
1805 verifyJpegExifExtraTags(exif, expectedSize, captureResult, staticInfo, collector); in verifyJpegKeys()
1905 private static void verifyJpegExifExtraTags(ExifInterface exif, Size jpegSize, in verifyJpegExifExtraTags() argument
1921 int exifWidth = exif.getAttributeInt(ExifInterface.TAG_IMAGE_WIDTH, /*defaultValue*/0); in verifyJpegExifExtraTags()
1922 int exifHeight = exif.getAttributeInt(ExifInterface.TAG_IMAGE_LENGTH, /*defaultValue*/0); in verifyJpegExifExtraTags()
1925 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegExifExtraTags()
1972 String dateTime = exif.getAttribute(ExifInterface.TAG_DATETIME); in verifyJpegExifExtraTags()
[all …]