Home
last modified time | relevance | path

Searched refs:dir (Results 1 – 25 of 98) sorted by relevance

1234

/tools/test/graphicsbenchmark/
DAndroid.mk16 LOCAL_PATH:= $(call my-dir)
38 $(call intermediates-dir-for,JAVA_LIBRARIES,$(m),HOST,COMMON)/javalib.jar:gamecore/bin/$(m).jar)
40 …$(call intermediates-dir-for,NATIVE_TESTS,$(m))/$(m)$(bit_suffix):gamecore/testcases/$(TARGET_ARCH…
42 $(call intermediates-dir-for,APPS,$(m))/package.apk:gamecore/testcases/$(m).apk)
54 gamecore_dist_intermediates := $(call intermediates-dir-for,PACKAGING,gamecore_dist,HOST,COMMON)
58 rm -rf $(dir $@) && mkdir -p $(dir $@)/gamecore
59 mkdir -p $(dir $@)/gamecore/bin
60 mkdir -p $(dir $@)/gamecore/testcases/$(TARGET_ARCH)
62 cp -f $(call word-colon,1,$(p)) $(dir $@)/$(call word-colon,2,$(p)) &&) true
63 echo $(BUILD_NUMBER_FROM_FILE) > $(dir $@)/gamecore/version.txt
[all …]
DREADME12 …re that `adb` and `aapt` are available on your path, and run from tools/test/graphicsbenchmark dir:
18 --apk-dir Directory contains the APKs for qualifications. If --apk-info is not specified and a
19 file named 'apk-info.xml' exists in --apk-dir, that file will be used as the apk-info.
/tools/tradefederation/core/src/com/android/tradefed/build/
DOtatoolsBuildInfo.java41 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/
DAndroid.mk15 LOCAL_PATH := $(call my-dir)
26 …$(call intermediates-dir-for,JAVA_LIBRARIES,tradefed-no-fwk,HOST)/javalib.jar:$(HOST_OUT)/tradefed…
29 …$(call intermediates-dir-for,JAVA_LIBRARIES,tradefed-test-framework,HOST)/javalib.jar:$(HOST_OUT)/…
32 …$(call intermediates-dir-for,JAVA_LIBRARIES,tradefed-isolation,HOST)/javalib.jar:$(HOST_OUT)/trade…
64 tradefed_dist_copy_pairs := $(call intermediates-dir-for,JAVA_LIBRARIES,tradefed-no-fwk,HOST,COMMON…
65 tradefed_dist_copy_pairs += $(foreach m, $(tradefed_dist_host_jars), $(call intermediates-dir-for,J…
67 tradefed_dist_copy_pairs += $(foreach m, $(tradefed_dist_test_apks), $(call intermediates-dir-for,A…
73 tradefed_dist_intermediates := $(call intermediates-dir-for,PACKAGING,tradefed_dist,HOST,COMMON)
77 rm -rf $(dir $@)/tmp && mkdir -p $(dir $@)/tmp
79 cp -f $(call word-colon,1,$(f)) $(dir $@)/tmp/$(call word-colon,2,$(f)) &&) true
[all …]
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extras/
DImportUtils.kt49 var dir = File(".").absoluteFile in findSampleData() variable
50 while (!File(dir, "sample_data").exists()) { in findSampleData()
51 dir = dir.parentFile in findSampleData()
52 if (dir == null) { in findSampleData()
56 return File(dir, "sample_data").absolutePath in findSampleData()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DFatLfnDirectory.java63 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 …]
DFatLfnDirectoryEntry.java74 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()
DAbstractDirectory.java316 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/util/
DSystemUtil.java86 File dir = new File(testCasesDirName); in getExternalTestCasesDirs() local
87 if (dir.exists() && dir.isDirectory()) { in getExternalTestCasesDirs()
89 testCasesDirs.add(dir); in getExternalTestCasesDirs()
112 File dir = new File(var); in getExternalTestCasesDir() local
113 if (dir.exists() && dir.isDirectory()) { in getExternalTestCasesDir()
114 CLog.d("Found test case dir: %s for %s.", dir.getAbsolutePath(), envVariable.name()); in getExternalTestCasesDir()
115 return dir; in getExternalTestCasesDir()
DBuildTestsZipUtils.java55 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()
113 for (File dir : dirs) { in getApkFile()
115 File testAppFile = FileUtil.findFile(dir, apkFileName); in getApkFile()
/tools/test/graphicsbenchmark/dist/
DREADME4 Usage: ./run_gamecore.sh [--all] [--apk-info=file] [--apk-dir=dir]
10 --apk-dir=dir Directory containing the APKs for qualifications. If --apk-info is
11 not specified and a file named 'apk-info.xml' exists in --apk-dir,
Drun_gamecore.sh31 OPTS=`getopt -o ah -l all,help,apk-info:,apk-dir: -- "$@"` || usage
41 --apk-dir)
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DVersionParser.java46 File dir = getTradefedJarDir(); in getPackageVersion() local
47 if (dir != null) { in getPackageVersion()
48 File versionFile = new File(dir, VERSION_FILE); in getPackageVersion()
58 CLog.e("Did not find Version file in directory: %s", dir.getAbsolutePath()); in getPackageVersion()
DFileUtil.java852 public static File findFile(File dir, String fileName) { in findFile() argument
853 if (dir.listFiles() != null) { in findFile()
854 for (File file : dir.listFiles()) { in findFile()
958 public static List<File> collectJars(File dir) { in collectJars() argument
960 File[] jarFiles = dir.listFiles(new JarFilter()); in collectJars()
962 list.addAll(Arrays.asList(dir.listFiles(new JarFilter()))); in collectJars()
972 public boolean accept(File dir, String name) { in accept() argument
1016 public static File createZip(File dir) throws IOException { in createZip() argument
1017 return ZipUtil.createZip(dir); in createZip()
1030 public static void createZip(File dir, File zipFile) throws IOException { in createZip() argument
[all …]
/tools/metalava/src/test/java/com/android/tools/metalava/
DSymlinkTest.kt75 projectSetup = { dir -> in <lambda>() method
78 val file = File(dir, "src/test/pkg/sub1/sub2") in <lambda>()
81 java.nio.file.Files.createSymbolicLink(symlink, dir.toPath()) in <lambda>()
84 java.nio.file.Files.createSymbolicLink(git, dir.toPath()) in <lambda>()
DBaselineTest.kt132 projectSetup = { dir -> in <lambda>() method
134 val file = File(dir, "src/test/pkg/sub1/sub2") in <lambda>()
137 java.nio.file.Files.createSymbolicLink(symlink, dir.toPath()) in <lambda>()
139 java.nio.file.Files.createSymbolicLink(git, dir.toPath()) in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/log/
DLogRegistry.java241 private void saveGlobalLogToDir(File dir) { in saveGlobalLogToDir() argument
243 saveLog(GLOBAL_LOG_PREFIX, globalLog, dir); in saveGlobalLogToDir()
252 private void saveHistoryLogToDir(File dir) { in saveHistoryLogToDir() argument
254 saveLog(HISTORY_LOG_PREFIX, globalLog, dir); in saveHistoryLogToDir()
293 public void dumpLogsToDir(File dir) { in dumpLogsToDir() argument
299 saveLog(filePrefix, logSource, dir); in dumpLogsToDir()
304 saveHistoryLogToDir(dir); in dumpLogsToDir()
306 saveGlobalLogToDir(dir); in dumpLogsToDir()
/tools/repohooks/
Dpre-upload.py294 project = rh.Project(name=project_name, dir=proj_dir, remote=remote)
451 if opts.dir is None:
456 opts.dir = os.path.dirname(os.path.abspath(git_dir))
457 elif not os.path.isdir(opts.dir):
458 parser.error('Invalid dir: %s' % opts.dir)
459 elif not rh.git.is_git_repository(opts.dir):
460 parser.error('Not a git repository: %s' % opts.dir)
465 opts.project = _identify_project(opts.dir)
467 parser.error("Repo couldn't identify the project of %s" % opts.dir)
469 if _run_project_hooks(opts.project, proj_dir=opts.dir,
/tools/loganalysis/tests/
DAndroid.mk15 LOCAL_PATH := $(call my-dir)
21 $(DEST_JAR): $(call intermediates-dir-for,JAVA_LIBRARIES,loganalysis-tests,HOST)/javalib.jar
/tools/tradefederation/core/src/com/android/tradefed/result/
DRetentionFileSaver.java39 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()
/tools/loganalysis/
DAndroid.mk15 LOCAL_PATH := $(call my-dir)
21 BUILT_JAR := $(call intermediates-dir-for,JAVA_LIBRARIES,loganalysis,HOST)/javalib.jar
/tools/tradefederation/core/remote/
DAndroid.mk15 LOCAL_PATH := $(call my-dir)
20 BUILT_JAR := $(call intermediates-dir-for,JAVA_LIBRARIES,tf-remote-client,HOST)/javalib.jar
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationUtil.java271 for (File dir : dirs) { in getConfigNamesFileFromDirs()
273 dir = new File(dir, subPath); in getConfigNamesFileFromDirs()
275 if (!dir.isDirectory()) { in getConfigNamesFileFromDirs()
276 CLog.d("%s doesn't exist or is not a directory.", dir.getAbsolutePath()); in getConfigNamesFileFromDirs()
281 configNames.addAll(FileUtil.findFilesObject(dir, configNamePattern)); in getConfigNamesFileFromDirs()
284 CLog.w("Failed to get test config files from directory %s", dir.getAbsolutePath()); in getConfigNamesFileFromDirs()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DTestOutputUploader.java65 final File dir = new File(new URL(uploadUrl).getPath()); in uploadFile() local
66 if (!dir.exists()) { in uploadFile()
67 dir.mkdirs(); in uploadFile()
69 final File destFile = new File(dir, file.getName()); in uploadFile()
/tools/tradefederation/contrib/
DAndroid.mk15 LOCAL_PATH := $(call my-dir)
22 BUILT_JAR := $(call intermediates-dir-for,JAVA_LIBRARIES,tradefed-contrib,HOST)/javalib.jar

1234