Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java190 File imageFile = new File(imageFilePath); in tearDown() local
191 if (imageFile.exists()) { in tearDown()
192 imageFile.delete(); in tearDown()
318 private void testExifInterfaceCommon(File imageFile, ExpectedValue expectedValue) in testExifInterfaceCommon() argument
320 String verboseTag = imageFile.getName(); in testExifInterfaceCommon()
323 ExifInterface exifInterface = new ExifInterface(imageFile.getAbsolutePath()); in testExifInterfaceCommon()
329 in = mContext.getAssets().open(imageFile.getName()); in testExifInterfaceCommon()
339 in = new BufferedInputStream(new FileInputStream(imageFile.getAbsolutePath())); in testExifInterfaceCommon()
349 fd = Os.open(imageFile.getAbsolutePath(), OsConstants.O_RDONLY, 0600); in testExifInterfaceCommon()
361 File imageFile = clone(srcFile); in testSaveAttributes_withFileName() local
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java660 FileOutputStream imageFile = null; in process() local
662 imageFile = new FileOutputStream(new File(filePath)); in process()
663 bitmap.compress(Bitmap.CompressFormat.PNG, 100, imageFile); in process()
667 IoUtils.closeQuietly(imageFile); in process()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp1295 std::ofstream imageFile(filePath, std::ofstream::binary); in dumpImageToDisk() local
1296 if (!imageFile.is_open()) { in dumpImageToDisk()
1301 imageFile.write((const char*)mapped, actualJpegSize); in dumpImageToDisk()