Home
last modified time | relevance | path

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

/packages/apps/UnifiedEmail/src/org/apache/commons/io/
DFileUtils.java560 public static void copyFileToDirectory(File srcFile, File destDir) throws IOException { in copyFileToDirectory() argument
561 copyFileToDirectory(srcFile, destDir, true); in copyFileToDirectory()
583 …public static void copyFileToDirectory(File srcFile, File destDir, boolean preserveFileDate) throw… in copyFileToDirectory() argument
590 copyFile(srcFile, new File(destDir, srcFile.getName()), preserveFileDate); in copyFileToDirectory()
609 public static void copyFile(File srcFile, File destFile) throws IOException { in copyFile() argument
610 copyFile(srcFile, destFile, true); in copyFile()
631 public static void copyFile(File srcFile, File destFile, in copyFile() argument
633 if (srcFile == null) { in copyFile()
639 if (srcFile.exists() == false) { in copyFile()
640 throw new FileNotFoundException("Source '" + srcFile + "' does not exist"); in copyFile()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java296 File srcFile = getLocalFileFromUri(mContext, mSourceUri); in resetToOriginalImageIfNeeded() local
299 if (srcFile != null) { in resetToOriginalImageIfNeeded()
300 srcFile.renameTo(mDestinationFile); in resetToOriginalImageIfNeeded()
468 File srcFile = getLocalFileFromUri(mContext, srcUri); in moveSrcToAuxIfNeeded() local
469 if (srcFile == null) { in moveSrcToAuxIfNeeded()
500 String from = srcFile.getName(); in moveSrcToAuxIfNeeded()
511 boolean success = srcFile.renameTo(newSrcFile); in moveSrcToAuxIfNeeded()
/packages/apps/Nfc/src/com/android/nfc/beam/
DBeamTransferManager.java400 File srcFile = new File(uri.getPath()); in processFiles() local
404 Log.d(TAG, "Renaming from " + srcFile); in processFiles()
405 if (!srcFile.renameTo(dstFile)) { in processFiles()
406 if (DBG) Log.d(TAG, "Failed to rename from " + srcFile + " to " + dstFile); in processFiles()
407 srcFile.delete(); in processFiles()
412 if (DBG) Log.d(TAG, "Did successful rename from " + srcFile + " to " + dstFile); in processFiles()
/packages/apps/Calculator/
Dbuild.gradle39 manifest.srcFile "AndroidManifest.xml"