Home
last modified time | relevance | path

Searched refs:root (Results 1 – 25 of 54) sorted by relevance

123

/tools/tradefederation/core/src/com/android/tradefed/testtype/
DGoogleBenchmarkTest.java150 private void doRunAllTestsInSubdirectory(String root, ITestDevice testDevice, in doRunAllTestsInSubdirectory() argument
152 if (testDevice.isDirectory(root)) { in doRunAllTestsInSubdirectory()
154 for (String child : testDevice.getChildren(root)) { in doRunAllTestsInSubdirectory()
155 doRunAllTestsInSubdirectory(root + "/" + child, testDevice, listener); in doRunAllTestsInSubdirectory()
160 String rootEntry = root.substring(root.lastIndexOf("/") + 1); in doRunAllTestsInSubdirectory()
164 testDevice.executeShellCommand(String.format("chmod 755 %s", root)); in doRunAllTestsInSubdirectory()
165 if (shouldSkipFile(root)) { in doRunAllTestsInSubdirectory()
171 int numTests = countExpectedTests(testDevice, root); in doRunAllTestsInSubdirectory()
182 String cmd = String.format("%s %s", root, GBENCHMARK_JSON_OUTPUT_FORMAT); in doRunAllTestsInSubdirectory()
DGTest.java128 String root, ITestDevice testDevice, ITestInvocationListener listener) in doRunAllTestsInSubdirectory() argument
130 if (testDevice.isDirectory(root)) { in doRunAllTestsInSubdirectory()
132 for (String child : testDevice.getChildren(root)) { in doRunAllTestsInSubdirectory()
133 doRunAllTestsInSubdirectory(root + "/" + child, testDevice, listener); in doRunAllTestsInSubdirectory()
137 IShellOutputReceiver resultParser = createResultParser(getFileName(root), listener); in doRunAllTestsInSubdirectory()
138 if (shouldSkipFile(root)) { in doRunAllTestsInSubdirectory()
141 String flags = getAllGTestFlags(root); in doRunAllTestsInSubdirectory()
142 CLog.i("Running gtest %s %s on %s", root, flags, testDevice.getSerialNumber()); in doRunAllTestsInSubdirectory()
144 runTestXml(testDevice, root, flags, listener); in doRunAllTestsInSubdirectory()
146 runTest(testDevice, resultParser, root, flags); in doRunAllTestsInSubdirectory()
/tools/tradefederation/core/atest/test_finders/
Dtf_integration_finder.py96 root = tree.getroot()
97 self._load_include_tags(root)
98 return root
101 def _load_include_tags(self, root): argument
115 while i < len(root):
116 elem = root[i]
131 root[i] = node
/tools/metalava/src/main/java/com/android/tools/metalava/
DConvertJarsToSignatureFiles.kt43 fun convertJars(root: File) { in <lambda>()
47 root, in <lambda>()
57 val oldApiFile = File(root, "prebuilts/sdk/$api/public/api/android.txt") in <lambda>()
61 File(root, "prebuilts/sdk/$api/public/api/android.txt") in <lambda>()
99 val oldRemovedFile = File(root, "prebuilts/sdk/$api/public/api/removed.txt") in <lambda>()
DDriver.kt421 val root = File("").absoluteFile in processFlags() constant
423 val rootPath = root.path in processFlags()
494 options.androidJarSignatureFiles?.let { root -> in processNonCodebaseFlags() method
496 ConvertJarsToSignatureFiles().convertJars(root) in processNonCodebaseFlags()
1040 val root = File("").absoluteFile in createStubFiles() constant
1041 stubWriter.writeSourceList(it, root) in createStubFiles()
1245 val root = findRoot(file) ?: continue in extractRoots() constant
1246 dirToRootCache[parent.path] = root in extractRoots()
1248 if (!sourceRoots.contains(root)) { in extractRoots()
1249 sourceRoots.add(root) in extractRoots()
DComparisonVisitor.kt394 val root = ItemTree(null) in createTree() constant
395 stack.push(root) in createTree()
420 ensureSorted(root.children) in createTree()
421 return root.children in createTree()
DReporter.kt238 val root: VirtualFile? = StandardFileSystems.local().findFileByPath(rootFolder.path) in toString() constant
239 … if (root != null) VfsUtilCore.getRelativePath(virtualFile, root) ?: file.path else file.path in toString()
DStubWriter.kt70 fun writeSourceList(target: File, root: File?) { in writeSourceList()
72 val contents = if (root != null) { in writeSourceList()
73 val path = root.path.replace('\\', '/') + "/" in writeSourceList()
/tools/tradefederation/core/atest/docs/
Ddeveloper_workflow.md56 (path relative to android repo root)
71 atest root dir: `./run_atest_unittests.sh`. Alternatively, you can
84 to android repo root).
120 (from android repo root)
129 (path relative to android repo root)
146 (path relative to android repo root)
/tools/tradefederation/contrib/src/com/android/performance/tests/
DGeekbenchTest.java165 JSONObject root = new JSONObject(tokener); in parseResultJSON() local
166 String overallScore = root.getString("score"); in parseResultJSON()
169 String overallScoreMulticore = root.getString("multicore_score"); in parseResultJSON()
173 JSONArray arr = root.getJSONArray("sections"); in parseResultJSON()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlatency.py69 root = ET.parse(xml_file).getroot()
70 event_pairs = root.findall('event-pair')
76 start_evt = root.find(
78 end_evt = root.find(
/tools/test/connectivity/acts/framework/tests/
Dacts_import_unit_test.py126 for root, _, files in os.walk(base_dir):
128 full_path = os.path.join(root, f)
134 path = os.path.relpath(os.path.join(root, f), os.getcwd())
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py104 root = tree.getroot()
105 for element in root.iter('sourceFolder'):
109 for element in root.iter('root'):
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZipToolsTest.java108 StoredEntry root = zfile.get(name); in assertFileInZip() local
109 assertNotNull(root); in assertFileInZip()
111 InputStream is = root.open(); in assertFileInZip()
/tools/repohooks/tools/
Dcheckpatch.pl42 my $root;
213 'root=s' => \$root,
315 if (defined $root) {
316 if (!top_of_kernel_tree($root)) {
317 die "$P: $root: --root does not point at a valid tree\n";
321 $root = '.';
324 $root = $1;
328 if (!defined $root) {
841 return 0 if (!$tree || !(-e "$root/scripts/get_maintainer.pl"));
843 …my $status = `perl $root/scripts/get_maintainer.pl --status --nom --nol --nogit --nogit-fallback -…
[all …]
/tools/external_updater/
Darchive_utils.py127 for root, dirs, files in os.walk(path):
129 return root
/tools/dexter/dexter/
Ddexter_tests.py17 data_root = args.root or 'tools/dexter/testdata'
21 if args.root is None:
/tools/asuite/aidegen/lib/
Dide_util.py669 for root, _, files in os.walk(top):
670 logging.debug('Search all files under %s to get %s, %s.', top, root,
674 os.path.join(root, file_))
675 yield os.path.join(root, file_)
/tools/test/connectivity/tools/
Dproto_check.py71 for root, _, filenames in os.walk(os.path.dirname(proto_file)):
74 gen_file = os.path.join(root, filename)
/tools/test/connectivity/acts/framework/acts/libs/uicd/
Duicd_cli.py80 for (root, _, files) in os.walk(path, onerror=_raise):
82 workflow_files.append(os.path.join(root, file))
/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestMapping.java81 JSONObject root = new JSONObject(tokener); in TestMapping() local
82 Iterator<String> testGroups = (Iterator<String>) root.keys(); in TestMapping()
92 JSONArray arr = root.getJSONArray(group); in TestMapping()
/tools/tradefederation/core/src/com/android/tradefed/config/
DConfigurationFactory.java287 private String getAbsolutePath(String root, String name) throws ConfigurationException { in getAbsolutePath() argument
290 if (root == null) { in getAbsolutePath()
293 root = System.getProperty("user.dir"); in getAbsolutePath()
295 file = new File(root, name); in getAbsolutePath()
/tools/test/connectivity/acts/framework/acts/
Dtracelogger.py40 self.root = et.Element('logger')
80 self.cat = et.SubElement(self.root, 'category', name='general', id='gen')
/tools/tradefederation/core/atest/
Dcli_translator.py269 for root, _, filenames in os.walk(path):
271 test_mapping_files.append(os.path.join(root, filename))
/tools/test/connectivity/acts/tests/google/bt/pts/instructions/
DMCAP_PTS_INSTRUCTIONS23 From AOSP root, assuming your target is already built.
26 adb root

123