/tools/tradefederation/core/src/com/android/tradefed/build/ |
D | OtatoolsBuildInfo.java | 41 public void setSecurityDir(File dir, String version) { in setSecurityDir() argument 42 setFile(SECURITY_DIR_NAME, dir, version); in setSecurityDir() 55 public void setBinDir(File dir, String version) { in setBinDir() argument 56 setFile(BIN_DIR_NAME, dir, version); in setBinDir() 69 public void setFrameworkDir(File dir, String version) { in setFrameworkDir() argument 70 setFile(FRAMEWORK_DIR_NAME, dir, version); in setFrameworkDir() 83 public void setReleasetoolsDir(File dir, String version) { in setReleasetoolsDir() argument 84 setFile(RELEASETOOLS_DIR_NAME, dir, version); in setReleasetoolsDir()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | SystemUtil.java | 72 File dir = new File(testCasesDirName); in getExternalTestCasesDirs() local 73 if (dir.exists() && dir.isDirectory()) { in getExternalTestCasesDirs() 75 testCasesDirs.add(dir); in getExternalTestCasesDirs() 98 File dir = new File(var); in getExternalTestCasesDir() local 99 if (dir.exists() && dir.isDirectory()) { in getExternalTestCasesDir() 100 CLog.d("Found test case dir: %s for %s.", dir.getAbsolutePath(), envVariable.name()); in getExternalTestCasesDir() 101 return dir; in getExternalTestCasesDir()
|
D | BuildTestsZipUtils.java | 55 for (File dir : altDirs) { in getApkFile() 56 dirs.add(dir); in getApkFile() 59 dirs.add(FileUtil.getFileForPath(dir, "DATA", "app")); in getApkFile() 60 dirs.add(FileUtil.getFileForPath(dir, "DATA", "app", apkBase)); in getApkFile() 61 dirs.add(FileUtil.getFileForPath(dir, "DATA", "priv-app", apkBase)); in getApkFile() 63 dirs.add(FileUtil.getFileForPath(dir, "data", "app", apkBase)); in getApkFile() 105 for (File dir : dirs) { in getApkFile() 107 File testAppFile = FileUtil.findFile(dir, apkFileName); in getApkFile()
|
D | ZipUtil.java | 130 public static File createZip(File dir) throws IOException { in createZip() argument 131 return createZip(dir, DEFAULT_DIRNAME); in createZip() 143 public static File createZip(File dir, String name) throws IOException { in createZip() argument 145 createZip(dir, zipFile); in createZip() 157 public static void createZip(File dir, File zipFile) throws IOException { in createZip() argument 162 addToZip(out, dir, new LinkedList<String>()); in createZip()
|
D | ClassPathScanner.java | 150 private void getEntriesFromDir(File dir, Set<String> entries, List<String> rootPath, in getEntriesFromDir() argument 152 File[] childFiles = dir.listFiles(); in getEntriesFromDir() 155 dir.getAbsolutePath())); in getEntriesFromDir() 172 dir.getAbsolutePath())); in getEntriesFromDir()
|
D | TarUtil.java | 174 File dir = FileUtil.createTempDir("tmp_tar_dir"); in extractAndLog() local 177 ungzipLog = TarUtil.unGzip(targzFile, dir); in extractAndLog() 178 List<File> logs = TarUtil.unTar(ungzipLog, dir); in extractAndLog() 191 FileUtil.recursiveDelete(dir); in extractAndLog()
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
D | FatLfnDirectory.java | 63 final AbstractDirectory dir; field in FatLfnDirectory 65 FatLfnDirectory(AbstractDirectory dir, Fat fat, boolean readOnly) in FatLfnDirectory() argument 70 if ((dir == null) || (fat == null)) throw new NullPointerException(); in FatLfnDirectory() 73 this.dir = dir; in FatLfnDirectory() 139 dir.addEntries(entry.compactForm()); in addFile() 146 dir.setDirty(); in addFile() 191 final FatDirectoryEntry real = dir.createSub(fat); in addDirectory() 197 dir.addEntries(e.compactForm()); in addDirectory() 202 dir.removeEntry(real); in addDirectory() 242 final int size = dir.getEntryCount(); in parseLfn() [all …]
|
D | FatLfnDirectoryEntry.java | 74 FatLfnDirectory dir, int offset, int len) { in extract() argument 76 final FatDirectoryEntry realEntry = dir.dir.getEntry(offset + len - 1); in extract() 87 FatDirectoryEntry entry = dir.dir.getEntry(i + offset); in extract() 94 return new FatLfnDirectoryEntry(dir, realEntry, fileName); in extract()
|
D | AbstractDirectory.java | 316 final ClusterChainDirectory dir = in createSub() local 323 dot.setStartCluster(dir.getStorageCluster()); in createSub() 325 dir.addEntry(dot); in createSub() 333 dir.addEntry(dotDot); in createSub() 335 dir.flush(); in createSub()
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
D | LogRegistry.java | 246 private void saveGlobalLogToDir(File dir) { in saveGlobalLogToDir() argument 248 saveLog(GLOBAL_LOG_PREFIX, globalLog, dir); in saveGlobalLogToDir() 257 private void saveHistoryLogToDir(File dir) { in saveHistoryLogToDir() argument 259 saveLog(HISTORY_LOG_PREFIX, globalLog, dir); in saveHistoryLogToDir() 292 public void dumpLogsToDir(File dir) { in dumpLogsToDir() argument 298 saveLog(filePrefix, logSource, dir); in dumpLogsToDir() 303 saveHistoryLogToDir(dir); in dumpLogsToDir() 305 saveGlobalLogToDir(dir); in dumpLogsToDir()
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ConfigurationUtil.java | 192 for (File dir : dirs) { in getConfigNamesFileFromDirs() 194 dir = new File(dir, subPath); in getConfigNamesFileFromDirs() 196 if (!dir.isDirectory()) { in getConfigNamesFileFromDirs() 197 CLog.d("%s doesn't exist or is not a directory.", dir.getAbsolutePath()); in getConfigNamesFileFromDirs() 202 configNames.addAll(FileUtil.findFilesObject(dir, configNamePattern)); in getConfigNamesFileFromDirs() 205 CLog.w("Failed to get test config files from directory %s", dir.getAbsolutePath()); in getConfigNamesFileFromDirs()
|
/tools/repohooks/ |
D | pre-upload.py | 275 project = rh.Project(name=project_name, dir=proj_dir, remote=remote) 388 if opts.dir is None: 394 opts.dir = os.path.dirname(os.path.abspath(git_dir)) 395 elif not os.path.isdir(opts.dir): 396 parser.error('Invalid dir: %s' % opts.dir) 397 elif not os.path.isdir(os.path.join(opts.dir, '.git')): 398 parser.error('Not a git directory: %s' % opts.dir) 403 opts.project = _identify_project(opts.dir) 405 parser.error("Repo couldn't identify the project of %s" % opts.dir) 407 if _run_project_hooks(opts.project, proj_dir=opts.dir,
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | RetentionFileSaver.java | 39 public void writeRetentionFile(File dir, int logRetentionDays) { in writeRetentionFile() argument 44 File retentionFile = new File(dir, RETENTION_FILE_NAME); in writeRetentionFile() 48 CLog.e("Unable to create retention file in directory in %s", dir.getAbsolutePath()); in writeRetentionFile()
|
D | LogFilesReporter.java | 111 protected void uploadFolderOnDeviceToLogs(String dir, ITestInvocationListener listener) in uploadFolderOnDeviceToLogs() argument 115 IFileEntry outputDir = getDevice().getFileEntry(dir); in uploadFolderOnDeviceToLogs() 130 CLog.w("Directory not found on device: %s", dir); in uploadFolderOnDeviceToLogs()
|
/tools/tradefederation/core/ |
D | Android.mk | 15 LOCAL_PATH := $(call my-dir) 146 tradefed_dist_intermediates := $(call intermediates-dir-for,PACKAGING,tradefed_dist,HOST,COMMON) 150 $(hide) rm -rf $(dir $@) && mkdir -p $(dir $@) 151 $(hide) cp -f $^ $(dir $@) 152 $(hide) cd $(dir $@) && zip -q $(notdir $@) $(notdir $^)
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | TestFilePushSetup.java | 96 for (File dir : mAltDirs) { in getLocalPathForFilename() 97 dirs.add(dir); in getLocalPathForFilename() 98 dirs.add(FileUtil.getFileForPath(dir, "DATA")); in getLocalPathForFilename() 126 for (File dir : dirs) { in getLocalPathForFilename() 127 File testAppFile = new File(dir, fileName); in getLocalPathForFilename()
|
/tools/acloud/ |
D | Android.mk | 17 LOCAL_PATH := $(call my-dir) 28 $(hide) mkdir -p $(dir $@)
|
/tools/tradefederation/core/tests/test-apps/ |
D | Android.mk | 15 LOCAL_PATH := $(call my-dir)
|
/tools/tradefederation/core/util-apps/ |
D | Android.mk | 15 LOCAL_PATH := $(call my-dir)
|
/tools/external/fat32lib/ |
D | Android.mk | 15 LOCAL_PATH := $(call my-dir)
|
/tools/metalava/ |
D | Android.mk | 16 LOCAL_PATH := $(call my-dir)
|
/tools/tradefederation/core/tests/test-apps/TradeFedTestApp/ |
D | Android.mk | 15 LOCAL_PATH:= $(call my-dir)
|
/tools/tradefederation/core/util-apps/WifiUtil/ |
D | Android.mk | 15 LOCAL_PATH := $(call my-dir)
|
/tools/tradefederation/core/tests/test-apps/UITestApp/ |
D | Android.mk | 15 LOCAL_PATH:= $(call my-dir)
|
/tools/tradefederation/core/tests/test-apps/NativeTestSampleApp/src/ |
D | Android.mk | 17 LOCAL_PATH := $(call my-dir)
|