Searched refs:childFile (Results 1 – 6 of 6) sorted by relevance
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FileUtil.java | 265 for (File childFile : file.listFiles()) { in setReadableRecursive() 266 setReadableRecursive(childFile); in setReadableRecursive() 483 for (File childFile : sourceDir.listFiles()) { in recursiveHardlink() 484 File destChild = new File(destDir, childFile.getName()); in recursiveHardlink() 485 if (childFile.isDirectory()) { in recursiveHardlink() 486 recursiveHardlink(childFile, destChild, ignoreExistingFile); in recursiveHardlink() 487 } else if (childFile.isFile()) { in recursiveHardlink() 488 hardlinkFile(childFile, destChild, ignoreExistingFile); in recursiveHardlink() 508 for (File childFile : sourceDir.listFiles()) { in recursiveSymlink() 509 File destChild = new File(destDir, childFile.getName()); in recursiveSymlink() [all …]
|
D | ZipUtil2.java | 66 File childFile = new File(destDir, entry.getName()); in extractZip() local 67 childFile.getParentFile().mkdirs(); in extractZip() 69 childFile.mkdirs(); in extractZip() 70 if (!applyUnixModeIfNecessary(entry, childFile)) { in extractZip() 75 FileUtil.writeToFile(zipFile.getInputStream(entry), childFile); in extractZip() local 76 if (!applyUnixModeIfNecessary(entry, childFile)) { in extractZip()
|
D | ZipUtil.java | 110 File childFile = new File(destDir, entry.getName()); in extractZip() local 111 childFile.getParentFile().mkdirs(); in extractZip() 115 FileUtil.writeToFile(zipFile.getInputStream(entry), childFile); in extractZip() local
|
/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | FileDownloadCache.java | 166 for (File childFile : fileList) { in addFiles() 167 if (childFile.isDirectory()) { in addFiles() 168 relPathSegments.push(childFile.getName()); in addFiles() 169 addFiles(childFile, relPathSegments, cacheEntryList); in addFiles() 171 } else if (childFile.isFile()) { in addFiles() 177 relPath.append(childFile.getName()); in addFiles() 178 cacheEntryList.add(new FilePair(relPath.toString(), childFile)); in addFiles() 181 childFile.getAbsolutePath())); in addFiles()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ClassPathScanner.java | 161 for (File childFile : childFiles) { in getEntriesFromDir() 162 if (childFile.isDirectory()) { in getEntriesFromDir() 163 rootPath.add(childFile.getName() + "/"); in getEntriesFromDir() 164 getEntriesFromDir(childFile, entries, rootPath, filter); in getEntriesFromDir() 167 } else if (childFile.isFile()) { in getEntriesFromDir() 169 String classPathEntryName = constructPath(rootPath, childFile.getName()); in getEntriesFromDir()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 1586 for (File childFile : childFiles) { in pushDir() 1587 String remotePath = String.format("%s/%s", deviceFilePath, childFile.getName()); in pushDir() 1588 if (childFile.isDirectory()) { in pushDir() 1590 if (excludedDirectories.contains(childFile.getName())) { in pushDir() 1593 childFile.getAbsolutePath()); in pushDir() 1597 if (!pushDir(childFile, remotePath, excludedDirectories)) { in pushDir() 1600 } else if (childFile.isFile()) { in pushDir() 1601 if (!pushFile(childFile, remotePath)) { in pushDir()
|