Searched refs:childFile (Results 1 – 8 of 8) sorted by relevance
/tools/tradefederation/core/common_util/com/android/tradefed/util/ |
D | FileUtil.java | 290 for (File childFile : file.listFiles()) { in setReadableRecursive() 291 setReadableRecursive(childFile); in setReadableRecursive() 558 for (File childFile : sourceDir.listFiles()) { in recursiveHardlink() 559 File destChild = new File(destDir, childFile.getName()); in recursiveHardlink() 560 if (childFile.isDirectory()) { in recursiveHardlink() 561 recursiveHardlink(childFile, destChild, ignoreExistingFile); in recursiveHardlink() 562 } else if (childFile.isFile()) { in recursiveHardlink() 563 if (copyInsteadofHardlink.contains(childFile.getName())) { in recursiveHardlink() 564 FileUtil.copyFile(childFile, destChild); in recursiveHardlink() 566 hardlinkFile(childFile, destChild, ignoreExistingFile); in recursiveHardlink() [all …]
|
D | ZipUtil2.java | 84 File childFile = new File(destDir, entry.getName()); in extractZip() local 86 childFile.getParentFile().mkdirs(); in extractZip() 88 childFile.mkdirs(); in extractZip() 89 if (!applyUnixModeIfNecessary(entry, childFile)) { in extractZip() 94 if (!extractZipEntry(zipFile, entry, childFile)) { in extractZip() 208 File childFile = new File(destDir, entry.getName()); in restorePermissions() local 209 if (!applyUnixModeIfNecessary(entry, childFile)) { in restorePermissions()
|
D | ZipUtil.java | 117 File childFile = new File(destDir, entry.getName()); in extractZip() local 119 childFile.getParentFile().mkdirs(); in extractZip() 121 childFile.mkdirs(); in extractZip() 123 FileUtil.writeToFile(zipFile.getInputStream(entry), childFile); in extractZip() local 141 File childFile = new File(destDir, entry.getName()); in extractZip() local 143 childFile.getParentFile().mkdirs(); in extractZip() 145 FileUtil.writeToFile(zipFile.getInputStream(entry), childFile); in extractZip() local
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | ClassPathScanner.java | 159 for (File childFile : childFiles) { in getEntriesFromDir() 160 if (childFile.isDirectory()) { in getEntriesFromDir() 161 rootPath.add(childFile.getName() + "/"); in getEntriesFromDir() 162 getEntriesFromDir(childFile, entries, rootPath, filter); in getEntriesFromDir() 165 } else if (childFile.isFile()) { in getEntriesFromDir() 167 String classPathEntryName = constructPath(rootPath, childFile.getName()); in getEntriesFromDir()
|
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/contentprovider/ |
D | ContentProviderHandler.java | 499 for (File childFile : childFiles) { in pushDirInternal() 500 String remotePath = String.format("%s/%s", deviceFilePath, childFile.getName()); in pushDirInternal() 501 if (childFile.isDirectory()) { in pushDirInternal() 503 if (excludedDirectories.contains(childFile.getName())) { in pushDirInternal() 506 childFile.getAbsolutePath()); in pushDirInternal() 510 if (!pushDirInternal(childFile, remotePath, excludedDirectories, userId)) { in pushDirInternal() 513 } else if (childFile.isFile()) { in pushDirInternal() 514 if (!pushFileInternal(childFile, remotePath, userId)) { in pushDirInternal()
|
/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() 180 CLog.w("Unrecognized file type %s in cache", childFile.getAbsolutePath()); in addFiles()
|
/tools/carrier_settings/java/ |
D | CarrierConfigConverterV2.java | 168 for (File childFile : new File(assetsDirName).listFiles()) { in convert() 169 String childFileName = childFile.getName(); in convert() 170 String fullChildName = childFile.getCanonicalPath(); in convert()
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDevice.java | 2079 for (File childFile : childFiles) { in pushDirInternal() 2080 String remotePath = String.format("%s/%s", deviceFilePath, childFile.getName()); in pushDirInternal() 2081 if (childFile.isDirectory()) { in pushDirInternal() 2083 if (excludedDirectories.contains(childFile.getName())) { in pushDirInternal() 2086 childFile.getAbsolutePath()); in pushDirInternal() 2090 if (!pushDirInternal(childFile, remotePath, excludedDirectories, userId)) { in pushDirInternal() 2093 } else if (childFile.isFile()) { in pushDirInternal() 2094 if (!pushFileInternal(childFile, remotePath, true, userId)) { in pushDirInternal()
|