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

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

Completed in 3682 milliseconds