Home
last modified time | relevance | path

Searched refs:node (Results 1 – 25 of 30) sorted by relevance

12

/tools/test/connectivity/acts/framework/acts/test_utils/net/
Dui_utils.py80 def match_node(node, **matcher): argument
100 match_list.append(v in node.attributes[key].value)
102 match_list.append(node.attributes[key].value == v)
137 for node in nodes:
138 if match_node(node, **kwargs):
141 return node
173 node = _find_node(screen_dump_xml, **kwargs)
174 if node and child:
175 node = _find_node(node, **child)
176 if node and sibling:
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DCodebase.kt185 fun findClass(node: ClassNode, apiFilter: Predicate<Item>): ClassItem? { in <lambda>()
186 return findClassByOwner(node.name, apiFilter) in <lambda>()
189 fun findMethod(node: MethodInsnNode, apiFilter: Predicate<Item>): MethodItem? { in <lambda>()
190 val cls = findClassByOwner(node.owner, apiFilter) ?: return null in <lambda>()
191 val types = Type.getArgumentTypes(node.desc) in <lambda>()
204 val methodName = if (node.name == "<init>") cls.simpleName() else node.name in <lambda>()
213 … fun findMethod(classNode: ClassNode, node: MethodNode, apiFilter: Predicate<Item>): MethodItem? { in <lambda>()
215 val types = Type.getArgumentTypes(node.desc) in <lambda>()
228 val methodName = if (node.name == "<init>") cls.simpleName() else node.name in <lambda>()
237 fun findField(classNode: ClassNode, node: FieldNode, apiFilter: Predicate<Item>): FieldItem? { in <lambda>()
[all …]
/tools/apkzlib/src/test/resources/testData/packaging/text-files/
Drfc2460.txt134 node - a device that implements IPv6.
136 router - a node that forwards IPv6 packets not explicitly
139 host - any node that is not a router. [See Note below].
157 interface - a node's attachment to a link.
176 a source node and a destination node.
241 each node that forwards the packet. The packet
321 by any node along a packet's delivery path, until the packet reaches
322 the node (or each of the set of nodes, in the case of multicast)
345 and processed by every node along a packet's delivery path, including
351 If, as a result of processing a header, a node is required to proceed
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java304 int node; in toOid() local
306 node = Integer.parseInt(nodeString); in toOid()
310 if (node < 0) { in toOid()
311 throw new Asn1EncodingException("Invalid value for node #" + (i + 1) + ": " + node); in toOid()
313 if (node <= 0x7f) { in toOid()
314 encodedValue.write(node); in toOid()
317 if (node < 1 << 14) { in toOid()
318 encodedValue.write(0x80 | (node >> 7)); in toOid()
319 encodedValue.write(node & 0x7f); in toOid()
322 if (node < 1 << 21) { in toOid()
[all …]
DAsn1BerParser.java473 long node = decodeBase128UnsignedLong(encodedOid); in oidToString() local
474 result.append('.').append(Long.toString(node)); in oidToString()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt863 override fun visitMethod(node: UMethod): Boolean { in <lambda>()
864 handle(node.returnType, node.uAnnotations) in <lambda>()
869 val psi = node.sourcePsi in <lambda>()
876 return super.visitMethod(node) in <lambda>()
879 override fun visitVariable(node: UVariable): Boolean { in <lambda>()
880 handle(node.type, node.uAnnotations) in <lambda>()
881 return super.visitVariable(node) in <lambda>()
902 override fun visitTypeReferenceExpression(node: UTypeReferenceExpression): Boolean { in <lambda>()
903 handleType(node.type) in <lambda>()
904 return super.visitTypeReferenceExpression(node) in <lambda>()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SigningCertificateLineage.java184 for (SigningCertificateNode node : signingCertificateLineage) { in encodeSigningCertificateLineage()
185 nodes.add(encodeSigningCertificateNode(node)); in encodeSigningCertificateLineage()
198 public static byte[] encodeSigningCertificateNode(SigningCertificateNode node) { in encodeSigningCertificateNode() argument
207 if (node.parentSigAlgorithm != null) { in encodeSigningCertificateNode()
208 parentSigAlgorithmId = node.parentSigAlgorithm.getId(); in encodeSigningCertificateNode()
211 if (node.sigAlgorithm != null) { in encodeSigningCertificateNode()
212 sigAlgorithmId = node.sigAlgorithm.getId(); in encodeSigningCertificateNode()
214 byte[] prefixedSignedData = encodeSignedData(node.signingCert, parentSigAlgorithmId); in encodeSigningCertificateNode()
215 byte[] prefixedSignature = encodeAsLengthPrefixedElement(node.signature); in encodeSigningCertificateNode()
220 result.putInt(node.flags); in encodeSigningCertificateNode()
/tools/tradefederation/core/atest/test_finders/
Dtf_integration_finder.py124 node = None
126 node = self._load_xml_file(full_paths[0])
127 if node is None:
130 node = copy.copy(node)
132 node.tail = (node.tail or "") + elem.tail
133 root[i] = node
/tools/asuite/atest/test_finders/
Dtf_integration_finder.py128 node = None
130 node = self._load_xml_file(full_paths[0])
131 if node is None:
134 node = copy.copy(node)
136 node.tail = (node.tail or "") + elem.tail
137 root[i] = node
/tools/test/connectivity/acts/framework/acts/controllers/monsoon_lib/sampling/engine/
Dassembly_line.py86 for node in self.nodes:
87 process_pool.apply_async(node.transformer.transform,
88 [node.input_stream])
99 for node in self.nodes:
100 thread_pool.submit(node.transformer.transform,
101 node.input_stream)
/tools/test/connectivity/acts/framework/tests/controllers/monsoon_lib/sampling/engine/
Dassembly_line_test.py58 for node in node_list:
59 apply_async.assert_any_call(node.transformer.transform,
60 [node.input_stream])
86 for node in node_list:
87 submit.assert_any_call(node.transformer.transform,
88 node.input_stream)
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiMethodItem.kt183 override fun visitThrowExpression(node: UThrowExpression): Boolean { in <lambda>()
184 val type = node.thrownExpression.getExpressionType() in <lambda>()
187 if (exceptionClass != null && !isCaught(exceptionClass, node)) { in <lambda>()
191 return super.visitThrowExpression(node) in <lambda>()
194 private fun isCaught(exceptionClass: ClassItem, node: UThrowExpression): Boolean { in <lambda>()
195 var current: UElement = node in <lambda>()
/tools/asuite/aidegen/idea/
Dxml_gen_unittest.py61 node = self.xml.xml_obj.getroot()
62 ElementTree.SubElement(node, 'a', attrib={'name': 'b'})
68 node = self.xml.xml_obj.getroot()
69 self.xml.append_node(node, '<a />')
70 self.assertEqual(len(node.findall('a')), 1)
/tools/metalava/src/main/java/com/android/tools/metalava/
DApiLint.kt1136 override fun afterVisitCallExpression(node: UCallExpression) { in <lambda>()
1137 super.afterVisitCallExpression(node) in <lambda>()
1139 if (node.methodName == "synchronized" && node.receiver == null) { in <lambda>()
1140 val arg = node.valueArguments.firstOrNull() in <lambda>()
1145 reportError(method, arg.sourcePsi ?: node.sourcePsi ?: node.javaPsi) in <lambda>()
DComparisonVisitor.kt420 val node = ItemTree(item) in createTree() constant
422 parent.children += node in createTree()
424 stack.push(node) in createTree()
/tools/asuite/aidegen/sdk/
Djdk_table.py222 node = ElementTree.fromstring(new_config)
223 node.tail = self._NEW_TAG_TAIL
229 self._xml.getroot().find(self._COMPONENT).append(node)
/tools/apksig/src/main/java/com/android/apksig/
DSigningCertificateLineage.java469 for (SigningCertificateNode node : nodes) { in calculateMinSdkVersion()
470 if (node.sigAlgorithm != null) { in calculateMinSdkVersion()
471 int nodeMinSdkVersion = node.sigAlgorithm.getMinSdkVersion(); in calculateMinSdkVersion()
/tools/asuite/aidegen/lib/
Ddom_util.py69 def update_element_attributes(node, element_name, attribute_set): argument
/tools/dexter/testdata/expected/
Dmedium.wrap_invoke15661 .local v0, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
15862 .local v1, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
15952 .local v2, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
16690 .params "node"
136967 .params "virtualViewId", "node"
145728 .local v2, "node", com.android.datetimepicker.time.TimePickerDialog$Node
Dmedium.rewrite15661 .local v0, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
15862 .local v1, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
15952 .local v2, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
16690 .params "node"
136967 .params "virtualViewId", "node"
145728 .local v2, "node", com.android.datetimepicker.time.TimePickerDialog$Node
Dlarge.rewrite47403 .local v0, "node", android.animation.AnimatorSet$Node
47425 .local v0, "node", android.animation.AnimatorSet$Node
47443 .local v0, "node", android.animation.AnimatorSet$Node
47497 .params "node"
47526 .params "node"
47589 .params "node"
47627 .local v1, "node", android.animation.AnimatorSet$Node
47929 .local v8, "node", android.animation.AnimatorSet$Node
48132 .local v5, "node", android.animation.AnimatorSet$Node
48175 .params "node", "?"
[all …]
Dmedium.scratch_regs20586 .local v10, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
20848 .local v7, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
20950 .local v7, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
21817 .params "node"
158529 .params "virtualViewId", "node"
168540 .local v11, "node", com.android.datetimepicker.time.TimePickerDialog$Node
Dmedium.entry_hook16517 .local v0, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
16727 .local v1, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
16819 .local v2, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
17577 .params "node"
140381 .params "virtualViewId", "node"
149310 .local v2, "node", com.android.datetimepicker.time.TimePickerDialog$Node
Dmedium.exit_hook17106 .local v0, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
17325 .local v1, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
17419 .local v2, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
18227 .params "node"
143366 .params "virtualViewId", "node"
152516 .local v2, "node", com.android.datetimepicker.time.TimePickerDialog$Node
Dmedium.compact_cfg18735 .local v0, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
18970 .local v1, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
19070 .local v2, "node", android.support.v4.view.accessibility.AccessibilityNodeInfoCompat
20009 .params "node"
164010 .params "virtualViewId", "node"
174262 .local v2, "node", com.android.datetimepicker.time.TimePickerDialog$Node

12