/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | FileReadSandboxTest.kt | 33 val root = temporaryFolder.newFolder() in Test sandbox() constant 35 val goodFile = File(root, "goodFile").apply { createNewFile() } in Test sandbox() 36 val badFile = File(root, "badFile").apply { createNewFile() } in Test sandbox() 38 val goodDir = File(root, "goodDir").apply { mkdirs() } in Test sandbox() 41 val badDir = File(root, "badDir").apply { mkdirs() } in Test sandbox() 44 val subDir = File(root, "subdir").apply { mkdirs() } in Test sandbox() 76 …val allowedSet = mutableSetOf(root, goodFile, goodDir, goodDirFile, subDir, subSubDir, subSubDirGo… in Test sandbox() 111 val newFile1 = File(root, "newFile1").apply { createNewFile() } in Test sandbox() 128 root.listFiles() in Test sandbox() 141 root.listFiles() in Test sandbox()
|
/tools/doc_generation/ |
D | switcher4.py | 46 root = os.path.split(java_ref_root)[1] variable 47 if root != "reference": 144 for root, dirs, files in os.walk(java_source_abs_path): 152 print "***", os.path.join(root, file_) 158 doc = os.path.join(root, file_) 193 for root, dirs, files in os.walk(kotlin_source_abs_path): 201 print "***", os.path.join(root, file_) 207 doc = os.path.join(root, file_)
|
/tools/asuite/atest-py2/test_finders/ |
D | tf_integration_finder.py | 96 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] 133 root[i] = node
|
/tools/asuite/atest/test_finders/ |
D | tf_integration_finder.py | 105 root = tree.getroot() 106 self._load_include_tags(root) 107 return root 110 def _load_include_tags(self, root): argument 126 while i < len(root): 127 elem = root[i] 146 root[i] = node
|
/tools/treble/split/ |
D | manifest_split.py | 143 root = ET.parse(config_file).getroot() 146 c.attrib["name"]: config_file for c in root.findall("remove_project") 150 {c.attrib["name"]: config_file for c in root.findall("add_project")}) 155 for child in root.findall("path_mapping") 179 root = manifest.getroot() 180 repo_list = [(p.get("path", p.get("name")), p.get("name")) for p in root.findall("project")] 434 root = manifest.getroot() 435 for child in root.findall("project"): 437 root.remove(child)
|
/tools/asuite/aidegen/lib/ |
D | common_util_unittest.py | 266 root = 'my/path-to-root/master' 269 mock_get_android_root_dir.return_value = root 275 self.assertEqual(os.path.join(default_root, os.path.basename(root)), 312 root = 'root' 313 mock_get_env.return_value = root 315 self.assertEqual(root, expected) 316 root = '' 317 mock_get_env.return_value = root 364 root = ElementTree.fromstring(self._TEST_XML_CONTENT) 365 pretty_xml = common_util.to_pretty_xml(root)
|
D | ide_common_util.py | 84 for root, _, files in os.walk(top): 85 logging.debug('Search all files under %s to get %s, %s.', top, root, 88 exe_file = os.path.join(root, file_)
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | ConvertJarsToSignatureFiles.kt | 43 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>()
|
D | Driver.kt | 419 val root = File("").absoluteFile in processFlags() constant 420 val rootPath = root.path in processFlags() 488 options.androidJarSignatureFiles?.let { root -> in processNonCodebaseFlags() method 490 ConvertJarsToSignatureFiles().convertJars(root) in processNonCodebaseFlags() 1066 val root = File("").absoluteFile in createStubFiles() constant 1067 stubWriter.writeSourceList(it, root) in createStubFiles() 1198 val root = findRoot(file) ?: continue in extractRoots() constant 1199 dirToRootCache[parent.path] = root in extractRoots() 1201 if (!sourceRoots.contains(root)) { in extractRoots() 1202 sourceRoots.add(root) in extractRoots()
|
D | ComparisonVisitor.kt | 518 val root = ItemTree(null) in createTree() constant 519 stack.push(root) in createTree() 558 removeDuplicates(root) in createTree() 561 ensureSorted(root) in createTree() 564 return root.children in createTree()
|
/tools/asuite/atest-py2/docs/ |
D | developer_workflow.md | 56 (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/asuite/atest/docs/ |
D | developer_workflow.md | 56 (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/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | latency.py | 69 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/ |
D | acts_import_unit_test.py | 79 for root, _, files in os.walk(acts_path): 81 full_path = os.path.join(root, f) 87 path = os.path.relpath(os.path.join(root, f), os.getcwd())
|
D | test_suite.py | 43 for root, _, files in os.walk(os.path.dirname(__file__)): 46 test_files.append(os.path.join(root, filename)) 48 suite.addTest(loader.discover(root, filename))
|
/tools/asuite/atest/ |
D | atest_execution_info.py | 83 def print_test_result(root, history_arg): argument 98 target = '%s/20*_*_*' % root 214 for root, _, files in os.walk(constants.ATEST_RESULT_ROOT): 218 json_file = os.path.join(root, 'test_result')
|
/tools/repohooks/tools/ |
D | checkpatch.pl | 42 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/asuite/aidegen/project/ |
D | project_splitter.py | 164 root = common_util.get_android_root_dir() 178 child, parent.source_path[key], root) 458 def _remove_child_duplicate_sources_from_parent(child, parent_sources, root): argument 475 os.path.relpath(path, root), child.project_relative_path)):
|
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/ |
D | ZipToolsTest.java | 108 StoredEntry root = zfile.get(name); in assertFileInZip() local 109 assertNotNull(root); in assertFileInZip() 111 InputStream is = root.open(); in assertFileInZip()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | StubWriter.kt | 66 fun writeSourceList(target: File, root: File?) { in <lambda>() 68 val contents = if (root != null) { in <lambda>() 69 val path = root.path.replace('\\', '/') + "/" in <lambda>()
|
/tools/external_updater/ |
D | archive_utils.py | 130 for root, dirs, files in os.walk(path): 132 return root
|
/tools/dexter/dexter/ |
D | dexter_tests.py | 17 data_root = args.root or 'tools/dexter/testdata' 21 if args.root is None:
|
/tools/repohooks/rh/ |
D | config_test.py | 51 def check_repo_root(root): argument 53 assertEqual('REPO_ROOT', REPO_ROOT, root)
|
/tools/treble/build/ |
D | README.md | 56 All projects in the root directory that are not in the overlays 64 directory can be mounted at the root directory to support different targets.
|
/tools/test/connectivity/acts/framework/acts/libs/uicd/ |
D | uicd_cli.py | 84 for (root, _, files) in os.walk(path, onerror=_raise): 86 workflow_files.append(os.path.join(root, file))
|