Searched refs:dstFile (Results 1 – 4 of 4) sorted by relevance
/packages/apps/Nfc/src/com/android/nfc/beam/ |
D | BeamTransferManager.java | 417 File dstFile = generateUniqueDestination(beamPath.getAbsolutePath(), in processFiles() local 420 if (!srcFile.renameTo(dstFile)) { in processFiles() 421 if (DBG) Log.d(TAG, "Failed to rename from " + srcFile + " to " + dstFile); in processFiles() 425 mPaths.add(dstFile.getAbsolutePath()); in processFiles() 426 mMimeTypes.put(dstFile.getAbsolutePath(), mimeType); in processFiles() 427 if (DBG) Log.d(TAG, "Did successful rename from " + srcFile + " to " + dstFile); in processFiles() 531 File dstFile = new File(path + File.separator + fileName); in generateUniqueDestination() local 533 while (dstFile.exists()) { in generateUniqueDestination() 534 dstFile = new File(path + File.separator + fileNameWithoutExtension + "-" + in generateUniqueDestination() 538 return dstFile; in generateUniqueDestination()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | XmpPresets.java | 61 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()
|
D | SaveImage.java | 467 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/ |
D | CopyJob.java | 546 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()
|