Searched refs:exif (Results 1 – 5 of 5) sorted by relevance
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 895 ExifInterface exif = new ExifInterface(mJpegPath); in testJpegThumbnailSizeByCamera() local 896 assertTrue(exif.hasThumbnail()); in testJpegThumbnailSizeByCamera() 897 byte[] thumb = exif.getThumbnail(); in testJpegThumbnailSizeByCamera() 921 exif = new ExifInterface(mJpegPath); in testJpegThumbnailSizeByCamera() 922 assertFalse(exif.hasThumbnail()); in testJpegThumbnailSizeByCamera() 963 ExifInterface exif = new ExifInterface(mJpegPath); in testJpegExifByCamera() local 965 boolean extraExiftestPassed = checkExtraExifTagsSucceeds(failedCause, exif); in testJpegExifByCamera() 968 String datetime = exif.getAttribute(ExifInterface.TAG_DATETIME); in testJpegExifByCamera() 983 checkGpsDataNull(exif); in testJpegExifByCamera() 984 double exifFocalLength = exif.getAttributeDouble(ExifInterface.TAG_FOCAL_LENGTH, -1); in testJpegExifByCamera() [all …]
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ExifInterfaceTest.java | 564 ExifInterface exif = new ExifInterface(imageFile.getAbsolutePath()); in testSetDateTime() local 565 exif.setAttribute(ExifInterface.TAG_DATETIME, dateTimeValue); in testSetDateTime() 566 exif.setAttribute(ExifInterface.TAG_DATETIME_ORIGINAL, dateTimeOriginalValue); in testSetDateTime() 567 exif.saveAttributes(); in testSetDateTime() 570 exif = new ExifInterface(imageFile.getAbsolutePath()); in testSetDateTime() 571 assertEquals(dateTimeValue, exif.getAttribute(ExifInterface.TAG_DATETIME)); in testSetDateTime() 572 assertEquals(dateTimeOriginalValue, exif.getAttribute(ExifInterface.TAG_DATETIME_ORIGINAL)); in testSetDateTime() 575 exif.setAttribute(ExifInterface.TAG_DATETIME, null); in testSetDateTime() 576 exif.saveAttributes(); in testSetDateTime() 579 exif = new ExifInterface(imageFile.getAbsolutePath()); in testSetDateTime() [all …]
|
/cts/tests/providerui/src/android/providerui/cts/ |
D | MediaStoreUiTest.java | 301 final ExifInterface exif = new ExifInterface(new FileInputStream(target)); in testImageCaptureWithoutLocation() local 302 assertAttribute(exif, ExifInterface.TAG_MAKE); in testImageCaptureWithoutLocation() 303 assertAttribute(exif, ExifInterface.TAG_MODEL); in testImageCaptureWithoutLocation() 304 assertAttribute(exif, ExifInterface.TAG_DATETIME); in testImageCaptureWithoutLocation() 306 Boolean hasLocation = exif.getLatLong(latLong); in testImageCaptureWithoutLocation() 376 private static void assertAttribute(ExifInterface exif, String tag) { in assertAttribute() argument 377 final String res = exif.getAttribute(tag); in assertAttribute()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 2284 ExifInterface exif = new ExifInterface(blobFilename); in verifyJpegKeys() local 2288 !exif.hasThumbnail()); in verifyJpegKeys() 2291 expectedThumbnailSize, exif.hasThumbnail()); in verifyJpegKeys() 2300 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegKeys() 2329 verifyJpegExifExtraTags(exif, expectedSize, captureResult, staticInfo, collector, in verifyJpegKeys() 2430 private static void verifyJpegExifExtraTags(ExifInterface exif, Size jpegSize, in verifyJpegExifExtraTags() argument 2447 int exifWidth = exif.getAttributeInt(ExifInterface.TAG_IMAGE_WIDTH, /*defaultValue*/0); in verifyJpegExifExtraTags() 2448 int exifHeight = exif.getAttributeInt(ExifInterface.TAG_IMAGE_LENGTH, /*defaultValue*/0); in verifyJpegExifExtraTags() 2451 int exifOrientation = exif.getAttributeInt(ExifInterface.TAG_ORIENTATION, in verifyJpegExifExtraTags() 2498 String dateTime = exif.getAttribute(ExifInterface.TAG_DATETIME); in verifyJpegExifExtraTags() [all …]
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | MediaStore_Images_MediaTest.java | 329 final ExifInterface exif = new ExifInterface(is); 331 exif.getLatLong(latLong); 335 String xmp = exif.getAttribute(ExifInterface.TAG_XMP); 349 final ExifInterface exif = new ExifInterface(is); 351 exif.getLatLong(latLong); 355 String xmp = exif.getAttribute(ExifInterface.TAG_XMP);
|