Home
last modified time | relevance | path

Searched refs:child (Results 1 – 25 of 47) sorted by relevance

12

/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DLongevityHostRunner.java172 for (Runner child : suite.getRunners()) { in run()
173 if (child instanceof IDeviceTest) { in run()
174 ((IDeviceTest) child).setDevice(mTestInfo.getDevice()); in run()
176 if (child instanceof IAbiReceiver) { in run()
177 ((IAbiReceiver) child).setAbi(mAbi); in run()
179 if (child instanceof IBuildReceiver) { in run()
180 ((IBuildReceiver) child).setBuild(mTestInfo.getBuildInfo()); in run()
182 if (child instanceof IInvocationContextReceiver) { in run()
183 ((IInvocationContextReceiver) child).setInvocationContext(mTestInfo.getContext()); in run()
185 if (child instanceof ITestInformationReceiver) { in run()
[all …]
/tools/asuite/asuite_plugin/src/java/com/android/atest/run/
DAtestRunConfiguration.java62 Element child = element.getChild(TEST_TARGET_KEY); in readExternal() local
63 if (hasValue(child)) { in readExternal()
64 mTestTarget = child.getTextTrim(); in readExternal()
66 child = element.getChild(LUNCH_TARGET_KEY); in readExternal()
67 if (hasValue(child)) { in readExternal()
68 mLunchTarget = child.getTextTrim(); in readExternal()
102 Element child = new Element(key); in setElementChild() local
103 child.setText(value); in setElementChild()
104 element.addContent(child); in setElementChild()
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java116 SignerConfig child, SignerCapabilities childCapabilities) in createSigningLineage() argument
123 return signingCertificateLineage.spawnDescendant(parent, child, childCapabilities); in createSigningLineage()
308 public SigningCertificateLineage spawnDescendant(SignerConfig parent, SignerConfig child) in spawnDescendant() argument
311 if (parent == null || child == null) { in spawnDescendant()
315 return spawnDescendant(parent, child, signerCapabilities); in spawnDescendant()
327 SignerConfig parent, SignerConfig child, SignerCapabilities childCapabilities) in spawnDescendant() argument
333 if (child == null) { in spawnDescendant()
357 child.getCertificate(), signatureAlgorithm.getId())); in spawnDescendant()
382 child.getCertificate(), sigAlgorithm, null, in spawnDescendant()
/tools/asuite/aidegen/project/
Dsource_splitter.py155 for child in projects:
158 if parent is child:
161 child.project_relative_path,
164 parent.source_path[key] -= child.source_path[key]
166 child, parent.source_path[key], root)
303 def _remove_child_duplicate_sources_from_parent(child, parent_sources, root): argument
320 os.path.relpath(path, root), child.project_relative_path)):
Dsource_splitter_unittest.py258 child = mock.Mock()
259 child.project_relative_path = 'c/d'
263 child, parent_sources, root)
267 child, parent_sources, root)
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/model/
DSliceGroupBuilderTest.kt50 val child = group.endSlice { in testNestedBuild() constant
53 assertEquals(1.1, child.startTime) in testNestedBuild()
54 assertEquals(1.2, child.endTime) in testNestedBuild()
55 assertEquals("nested", child.name) in testNestedBuild()
66 assertEquals(child, slice.children.first()) in testNestedBuild()
67 assertEquals(0, child.children.size) in testNestedBuild()
/tools/treble/split/
Dmanifest_split.py109 [child.attrib["name"] for child in root.findall("remove_project")])
111 [child.attrib["name"] for child in root.findall("add_project")])
375 for child in root.findall("project"):
376 if child.attrib["name"] not in projects_to_keep:
377 root.remove(child)
/tools/test/connectivity/acts/framework/acts/test_utils/net/
Dui_utils.py144 def wait_and_get_xml_node(device, timeout, child=None, sibling=None, **kwargs): argument
165 if child and sibling:
174 if node and child:
175 node = _find_node(node, **child)
182 if child:
184 % (msg, get_key_value_pair_strings(child)))
/tools/loganalysis/src/com/android/loganalysis/util/
DRegexTrie.java108 for (RegexTrie<V> child : mChildren.values()) { in clear()
109 child.clear(); in clear()
207 for (Map.Entry<CompPattern, RegexTrie<V>> child : mChildren.entrySet()) { in recursiveRetrieve()
208 CompPattern pattern = child.getKey(); in recursiveRetrieve()
211 wildcardValue = child.getValue().getValue(); in recursiveRetrieve()
226 return child.getValue().recursiveRetrieve(captures, nextKeys); in recursiveRetrieve()
/tools/tradefederation/core/src/com/android/tradefed/util/
DRegexTrie.java108 for (RegexTrie<V> child : mChildren.values()) { in clear()
109 child.clear(); in clear()
207 for (Map.Entry<CompPattern, RegexTrie<V>> child : mChildren.entrySet()) { in recursiveRetrieve()
208 CompPattern pattern = child.getKey(); in recursiveRetrieve()
211 wildcardValue = child.getValue().getValue(); in recursiveRetrieve()
226 return child.getValue().recursiveRetrieve(captures, nextKeys); in recursiveRetrieve()
/tools/metalava/src/main/java/com/android/tools/metalava/
DComparisonVisitor.kt401 for (child in item.children) { in ensureSorted() method
402 ensureSorted(child) in ensureSorted()
466 for (child in children) { in prettyPrint() method
467 child.prettyPrint(sb, depth + 1) in prettyPrint()
475 for (child in list) { in prettyPrint() constant
476 child.prettyPrint(sb, 0) in prettyPrint()
DDriver.kt1107 for (child in files) { in skippableDirectory() constant
1108 addSourceFiles(list, child) in skippableDirectory()
1151 for (child in files) { in addHiddenPackages() constant
1153 if (FileReadSandbox.isDirectory(child)) in addHiddenPackages()
1155 child.name in addHiddenPackages()
1156 else pkg + "." + child.name in addHiddenPackages()
1165 addHiddenPackages(packageToDoc, packageToOverview, hiddenPackages, child, subPkg) in addHiddenPackages()
/tools/tradefederation/core/src/com/android/tradefed/device/
DFileEntryWrapper.java127 IFileEntry child = fileEntry; in getDescendant() local
130 child = child.findChild(childName); in getDescendant()
131 if (child == null) { in getDescendant()
136 return child; in getDescendant()
/tools/security/sanitizer-status/
Dsanitizer-status.cpp137 pid_t child = fork(); in test() local
140 if (child == -1) { in test()
145 if (child == 0) { in test()
155 while (child == waitpid(child, &status, 0)) { in test()
/tools/platform-compat/build/
Dprocess_compat_config.py66 for child in xml.getroot():
68 id = child.attrib['id']
69 name = child.attrib['name']
70 this_change = ChangeDefinition(source, child)
86 self.tree.getroot().append(child)
/tools/tradefederation/core/util-apps/ContentProvider/main/java/android/tradefed/contentprovider/
DManagedFileContentProvider.java122 for (File child : files) { in query()
123 cursor.addRow(getRow(COLUMNS, child, /* metadata= */ null)); in query()
296 for (File child : childFiles) { in recursiveDelete()
297 count += recursiveDelete(child); in recursiveDelete()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java499 ChildReference.Builder child = ChildReference.newBuilder(); in createChildReference() local
500 child.setTestRecordId(record.getTestRecordId()); in createChildReference()
501 child.setInlineTestRecord(record); in createChildReference()
502 return child.build(); in createChildReference()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DFileUtil.java168 for (File child : children) { in chmodRWXRecursively()
169 if (!chmodRWXRecursively(child)) { in chmodRWXRecursively()
705 for (File child : childFiles) { in recursiveDelete()
706 recursiveDelete(child); in recursiveDelete()
/tools/test/graphicsbenchmark/performance_tests/helper/src/com/android/game/qualification/
DGameCoreConfigurationXmlParser.java116 Node child = children.item(i); in parseList() local
117 if (child.getNodeType() == Node.ELEMENT_NODE) { in parseList()
118 result.add(parser.apply((Element) child)); in parseList()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/rust/
DRustBinaryTest.java129 for (String child : testDevice.getChildren(root)) { in doRunAllTestsInSubdirectory()
130 CLog.d("Look into child path %s", (root + "/" + child)); in doRunAllTestsInSubdirectory()
131 if (doRunAllTestsInSubdirectory(root + "/" + child, testDevice, listener)) { in doRunAllTestsInSubdirectory()
/tools/treble/build/sandbox/
Doverlay.py347 for child in allowed_projects.getroot().findall("project"):
348 paths.add(child.attrib.get("path", child.attrib["name"]))
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DJarHostTestTest.java246 ClassLoader child = super.getClassLoader(); in getClassLoader() local
248 child = in getClassLoader()
255 return child; in getClassLoader()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java762 for (Description child : desc.getChildren()) { in fakeDescriptionExecution()
763 fakeDescriptionExecution(child, listener); in fakeDescriptionExecution()
885 for (Description child : children) { in getTestMethods()
886 descriptions.push(child); in getTestMethods()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DJavadoc.kt1029 val child = salientElement.firstChild in extractReference() constant
1030 return if (child !is PsiReference) null else child in extractReference()
/tools/tradefederation/core/lite/com/android/tradefed/lite/
DDryRunner.java58 for (Description child : desc.getChildren()) { in fakeExecution()
59 fakeExecution(notifier, list, child); in fakeExecution()

12