Searched refs:exif (Results 1 – 3 of 3) sorted by relevance
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 806 ExifInterface exif = new ExifInterface(JPEG_PATH); in testJpegThumbnailSizeByCamera() local 807 assertTrue(exif.hasThumbnail()); in testJpegThumbnailSizeByCamera() 808 byte[] thumb = exif.getThumbnail(); in testJpegThumbnailSizeByCamera() 832 exif = new ExifInterface(JPEG_PATH); in testJpegThumbnailSizeByCamera() 833 assertFalse(exif.hasThumbnail()); in testJpegThumbnailSizeByCamera() 874 ExifInterface exif = new ExifInterface(JPEG_PATH); in testJpegExifByCamera() local 876 boolean extraExiftestPassed = checkExtraExifTagsSucceeds(failedCause, exif); in testJpegExifByCamera() 879 String datetime = exif.getAttribute(ExifInterface.TAG_DATETIME); in testJpegExifByCamera() 884 checkGpsDataNull(exif); in testJpegExifByCamera() 885 double exifFocalLength = exif.getAttributeDouble(ExifInterface.TAG_FOCAL_LENGTH, -1); in testJpegExifByCamera() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStoreUiTest.java | 233 final ExifInterface exif = new ExifInterface(new FileInputStream(target)); in testImageCapture() local 234 assertAttribute(exif, ExifInterface.TAG_MAKE); in testImageCapture() 235 assertAttribute(exif, ExifInterface.TAG_MODEL); in testImageCapture() 236 assertAttribute(exif, ExifInterface.TAG_DATETIME); in testImageCapture() 239 private static void assertAttribute(ExifInterface exif, String tag) { in assertAttribute() argument 240 final String res = exif.getAttribute(tag); in assertAttribute()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 1977 ExifInterface exif = new ExifInterface(jpegFilename); in verifyJpegKeys() local 1981 !exif.hasThumbnail()); in verifyJpegKeys() 1984 expectedThumbnailSize, exif.hasThumbnail()); in verifyJpegKeys() 1993 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegKeys() 2022 verifyJpegExifExtraTags(exif, expectedSize, captureResult, staticInfo, collector, in verifyJpegKeys() 2123 private static void verifyJpegExifExtraTags(ExifInterface exif, Size jpegSize, in verifyJpegExifExtraTags() argument 2140 int exifWidth = exif.getAttributeInt(ExifInterface.TAG_IMAGE_WIDTH, /*defaultValue*/0); in verifyJpegExifExtraTags() 2141 int exifHeight = exif.getAttributeInt(ExifInterface.TAG_IMAGE_LENGTH, /*defaultValue*/0); in verifyJpegExifExtraTags() 2144 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegExifExtraTags() 2191 String dateTime = exif.getAttribute(ExifInterface.TAG_DATETIME); in verifyJpegExifExtraTags() [all …]
|