Home
last modified time | relevance | path

Searched refs:dstFile (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/
DTestToPhoneFileCopier.kt32 private val dstFile = constant
35 fun getDst() = dstFile.absolutePath in getDst()
38 dstFile.writeBytes( in getDst()
44 dstFile.delete() in getDst()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DXmpPresets.java61 Context context, Uri srcUri, File dstFile, ImagePreset preset) { in writeFilterXMP() argument
82 Log.v(LOGTAG, "Write XMP meta to file failed:" + dstFile.getAbsolutePath()); in writeFilterXMP()
86 if (!XmpUtilHelper.writeXMPMeta(dstFile.getAbsolutePath(), xmpMeta)) { in writeFilterXMP()
87 Log.v(LOGTAG, "Write XMP meta to file failed:" + dstFile.getAbsolutePath()); in writeFilterXMP()
DSaveImage.java467 private Uri moveSrcToAuxIfNeeded(Uri srcUri, File dstFile) { in moveSrcToAuxIfNeeded() argument
476 File auxDiretory = getLocalAuxDirectory(dstFile); in moveSrcToAuxIfNeeded()
497 File newSrcFile = new File(auxDiretory, dstFile.getName()); in moveSrcToAuxIfNeeded()
505 String name = dstFile.getName(); in moveSrcToAuxIfNeeded()
521 private static File getLocalAuxDirectory(File dstFile) { in getLocalAuxDirectory() argument
522 File dstDirectory = dstFile.getParentFile(); in getLocalAuxDirectory()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DCopyJob.java546 ParcelFileDescriptor dstFile = null; in copyFileHelper() local
596 dstFile = getClient(dest).openFile(dest.derivedUri, "w", mSignal); in copyFileHelper()
606 out = new ParcelFileDescriptor.AutoCloseOutputStream(dstFile); in copyFileHelper()
615 final FileDescriptor dstFd = dstFile.getFileDescriptor(); in copyFileHelper()
636 Os.fsync(dstFile.getFileDescriptor()); in copyFileHelper()
647 Os.close(dstFile.getFileDescriptor()); in copyFileHelper()
669 if (dstFile != null) { in copyFileHelper()
671 dstFile.closeWithError("Error copying bytes."); in copyFileHelper()