Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java187 File imageFile = new File(imageFilePath); in tearDown() local
188 if (imageFile.exists()) { in tearDown()
189 imageFile.delete(); in tearDown()
315 private void testExifInterfaceCommon(File imageFile, ExpectedValue expectedValue) in testExifInterfaceCommon() argument
317 String verboseTag = imageFile.getName(); in testExifInterfaceCommon()
320 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testExifInterfaceCommon()
326 in = mContext.getAssets().open(imageFile.getName()); in testExifInterfaceCommon()
336 in = new BufferedInputStream(new FileInputStream(imageFile.getAbsolutePath())); in testExifInterfaceCommon()
346 fd = Os.open(imageFile.getAbsolutePath(), OsConstants.O_RDONLY, 0600); in testExifInterfaceCommon()
356 private void testSaveAttributes_withFileName(File imageFile, ExpectedValue expectedValue) in testSaveAttributes_withFileName() argument
[all …]
/frameworks/support/exifinterface/src/androidTest/java/androidx/exifinterface/media/
DExifInterfaceTest.java329 File imageFile = new File(imageFilePath); in tearDown() local
330 if (imageFile.exists()) { in tearDown()
331 imageFile.delete(); in tearDown()
533 File imageFile = new File( in testSetDateTime() local
535 ExifInterface exif = new ExifInterface(imageFile.getAbsolutePath()); in testSetDateTime()
541 exif = new ExifInterface(imageFile.getAbsolutePath()); in testSetDateTime()
550 exif = new ExifInterface(imageFile.getAbsolutePath()); in testSetDateTime()
556 exif = new ExifInterface(imageFile.getAbsolutePath()); in testSetDateTime()
563 File imageFile = new File( in testRotation() local
565 ExifInterface exif = new ExifInterface(imageFile.getAbsolutePath()); in testRotation()
[all …]
/frameworks/support/print/src/main/java/androidx/print/
DPrintHelper.java331 public void printBitmap(@NonNull String jobName, @NonNull Uri imageFile) in printBitmap() argument
333 printBitmap(jobName, imageFile, null); in printBitmap()
346 public void printBitmap(@NonNull final String jobName, @NonNull final Uri imageFile, in printBitmap() argument
353 PrintDocumentAdapter printDocumentAdapter = new PrintUriAdapter(jobName, imageFile, in printBitmap()
381 PrintUriAdapter(String jobName, Uri imageFile, OnPrintFinishCallback callback, in PrintUriAdapter() argument
384 mImageFile = imageFile; in PrintUriAdapter()
/frameworks/base/services/core/java/com/android/server/am/
DTaskPersister.java725 FileOutputStream imageFile = null; in processNextItem() local
727 imageFile = new FileOutputStream(new File(filePath)); in processNextItem()
728 bitmap.compress(Bitmap.CompressFormat.PNG, 100, imageFile); in processNextItem()
732 IoUtils.closeQuietly(imageFile); in processNextItem()
/frameworks/support/heifwriter/src/androidTest/java/androidx/heifwriter/
DHeifWriterTest.java119 File imageFile = new File(imageFilePath); in tearDown() local
120 if (imageFile.exists()) { in tearDown()
121 imageFile.delete(); in tearDown()