Searched refs:origFile (Results 1 – 2 of 2) sorted by relevance
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FileUtil.java | 405 public static void hardlinkFile(File origFile, File destFile) throws IOException { in hardlinkFile() argument 406 hardlinkFile(origFile, destFile, false); in hardlinkFile() 419 public static void hardlinkFile(File origFile, File destFile, boolean ignoreExistingFile) in hardlinkFile() argument 422 Files.createLink(destFile.toPath(), origFile.toPath()); in hardlinkFile() 430 copyFile(origFile, destFile); in hardlinkFile() 444 public static void symlinkFile(File origFile, File destFile) throws IOException { in symlinkFile() argument 447 origFile.getAbsolutePath(), destFile.getAbsolutePath()); in symlinkFile() 448 Files.createSymbolicLink(destFile.toPath(), origFile.toPath()); in symlinkFile() 525 public static void copyFile(File origFile, File destFile) throws IOException { in copyFile() argument 526 writeToFile(new FileInputStream(origFile), destFile); in copyFile()
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | BuildInfo.java | 220 File origFile = fileEntry.getValue().getFile(); in addAllFiles() local 225 if (origFile.isDirectory()) { in addAllFiles() 227 FileUtil.recursiveHardlink(origFile, copyFile); in addAllFiles() 231 FileUtil.getExtension(origFile.getName())); in addAllFiles() 233 FileUtil.hardlinkFile(origFile, copyFile); in addAllFiles()
|