Home
last modified time | relevance | path

Searched refs:hardlinkFile (Results 1 – 18 of 18) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/build/
DFileDownloadCache.java412 File hardlinkFile = destFile; in copyFile() local
414 if (hardlinkFile == null) { in copyFile()
415 hardlinkFile = FileUtil.createTempFileForRemote(remotePath, getWorkFolder()); in copyFile()
417 hardlinkFile.delete(); in copyFile()
420 hardlinkFile.getAbsolutePath(), cachedFile.getAbsolutePath()); in copyFile()
422 FileUtil.recursiveHardlink(cachedFile, hardlinkFile, false); in copyFile()
424 FileUtil.hardlinkFile(cachedFile, hardlinkFile); in copyFile()
426 return hardlinkFile; in copyFile()
428 FileUtil.deleteFile(hardlinkFile); in copyFile()
DDeviceFolderBuildInfo.java156 FileUtil.hardlinkFile(origFile, copyFile); in addAllFiles()
DBuildInfo.java258 FileUtil.hardlinkFile(origFile, copyFile); in addAllFiles()
/tools/tradefederation/core/src/com/android/tradefed/build/content/
DContentInformation.java58 FileUtil.hardlinkFile(baseContent, baseClone); in cloneInformation()
68 FileUtil.hardlinkFile(currentContent, currentClone); in cloneInformation()
/tools/tradefederation/core/src/com/android/tradefed/util/image/
DDeviceImageTracker.java156 FileUtil.hardlinkFile(deviceImage, copyInCacheDeviceImage); in trackUpdatedDeviceImage()
158 FileUtil.hardlinkFile(bootloader, copyInCacheBootloader); in trackUpdatedDeviceImage()
160 FileUtil.hardlinkFile(baseband, copyInCacheBaseband); in trackUpdatedDeviceImage()
DIncrementalImageUtil.java252 FileUtil.hardlinkFile(originalImage, copy); in copyImage()
/tools/tradefederation/core/src/com/android/tradefed/build/cache/
DPartialZipDownloadCache.java112 FileUtil.hardlinkFile(cachedFile, targetFile, true); in getCachedFile()
137 FileUtil.hardlinkFile(toCache, cacheDestination, true); in populateCacheFile()
/tools/tradefederation/core/javatests/com/android/tradefed/config/remote/
DGcsRemoteFileResolverTest.java134 FileUtil.hardlinkFile(zipFile, destFile); in testResolve_unzip()
175 FileUtil.hardlinkFile(testFile, destFile); in testResolve_notZip()
210 FileUtil.hardlinkFile(testFile, destFile); in testResolve_notZip_parallel()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DMixKernelTargetPreparer.java212 FileUtil.hardlinkFile(srcFile, dstFile); in copyDeviceImageToDir()
231 FileUtil.hardlinkFile(srcFile, dstFile); in copyLabelFileToDir()
302 FileUtil.hardlinkFile(newDeviceImage, new File(deviceImagePath)); in setNewDeviceImage()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestResourceDownloader.java48 FileUtil.hardlinkFile(src, dest); in download()
DClusterBuildProvider.java211 FileUtil.hardlinkFile(source, file); in prepareTestResource()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java458 public static void hardlinkFile(File origFile, File destFile) throws IOException { in hardlinkFile() method in FileUtil
459 hardlinkFile(origFile, destFile, false); in hardlinkFile()
472 public static void hardlinkFile(File origFile, File destFile, boolean ignoreExistingFile) in hardlinkFile() method in FileUtil
566 hardlinkFile(childFile, destChild, ignoreExistingFile); in recursiveHardlink()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLogFileSaver.java230 FileUtil.hardlinkFile(fileToLog, logFile); in saveLogFile()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DGkiDeviceFlashPreparer.java479 FileUtil.hardlinkFile(file, hardLink, true); in flattenSystemDlkm()
504 FileUtil.hardlinkFile(path.toFile(), hardLink, true); in flattenSystemDlkm()
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/
DMixKernelTargetPreparerTest.java314 FileUtil.hardlinkFile(deviceImageInLcCache, tmpImg); in testSetNewDeviceImage()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DHostGTestTest.java389 FileUtil.hardlinkFile(tmpScriptPath.toFile(), scriptPath.toFile()); in testRunTest_hardlink()
/tools/tradefederation/core/src/com/android/tradefed/postprocessor/
DBasePostProcessor.java502 FileUtil.hardlinkFile(originalFile, copy); in copyLogFile()
/tools/tradefederation/core/javatests/com/android/tradefed/util/
DFileUtilTest.java607 FileUtil.hardlinkFile(rootFile, hardlink); in testSizeOfDirectory_hardlink()