Home
last modified time | relevance | path

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

123456789

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/
DAsn1NodeTest.java40 Asn1Node node = Asn1Node.newBuilder(0x65).build(); in testCreateConstructedNodeWithShortTag() local
41 assertEquals(0x65, node.getTag()); in testCreateConstructedNodeWithShortTag()
42 assertTrue(node.isConstructed()); in testCreateConstructedNodeWithShortTag()
43 assertEquals(2, node.getEncodedLength()); in testCreateConstructedNodeWithShortTag()
44 assertEquals(0, node.getDataLength()); in testCreateConstructedNodeWithShortTag()
45 assertArrayEquals(new byte[] {0x65, 0x00}, node.toBytes()); in testCreateConstructedNodeWithShortTag()
51 Asn1Node node = Asn1Node.newBuilder(0x3F34).build(); in testCreateConstructedNodeWithLongTag() local
52 assertEquals(0x3F34, node.getTag()); in testCreateConstructedNodeWithLongTag()
53 assertTrue(node.isConstructed()); in testCreateConstructedNodeWithLongTag()
54 assertEquals(3, node.getEncodedLength()); in testCreateConstructedNodeWithLongTag()
[all …]
/frameworks/ml/nn/tools/systrace_parser/parser/
Dtree.py29 node = self.current.add(start_time_s, mark, layer, phase, app_phase, subtract)
31 self.current = node
34 node = self.current.add_dummy(start_time_s)
36 self.current = node
49 def recurse(node): argument
50 if node.is_dummy():
51 to_be_removed.append(node)
52 for c in node.children:
55 for node in to_be_removed:
56 node.remove()
[all …]
Dtracker.py124 node = self.mytree.pop(time)
125 if node.is_dummy(): # Dummy item
128 if node.layer == LAYER_APPLICATION and node.phase in [PHASE_WARMUP, PHASE_BENCHMARK]:
130 function = node.app_phase + "::" + get_function_name_from_mark(node.mark)
132 [[float(node.start_time_s) * 1000.0,
133 float(node.end_time_s) * 1000.0]])
151 def recurse(node, prev_layer, prev_phase, indent, in_pe_layers): argument
153 node.start_time_s, node.mark, node.layer, node.phase()]
154 time = node.end_time_s
157 elapsed1 = node.elapsed_less_subtracted_ms()
[all …]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiObject.java151 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in getChildCount() local
152 if(node == null) { in getChildCount()
155 return node.getChildCount(); in getChildCount()
167 AccessibilityNodeInfo node = null; in findAccessibilityNodeInfo() local
171 node = getQueryController().findAccessibilityNodeInfo(getSelector()); in findAccessibilityNodeInfo()
172 if (node != null) { in findAccessibilityNodeInfo()
183 return node; in findAccessibilityNodeInfo()
338 private Rect getVisibleBounds(AccessibilityNodeInfo node) { in getVisibleBounds() argument
339 if (node == null) { in getVisibleBounds()
346 Rect nodeRect = AccessibilityNodeInfoHelper.getVisibleBoundsInScreen(node, w, h); in getVisibleBounds()
[all …]
DAccessibilityNodeInfoDumper.java197 private static void dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, in dumpNodeRec() argument
200 if (!nafExcludedClass(node) && !nafCheck(node)) in dumpNodeRec()
203 serializer.attribute("", "text", safeCharSeqToString(node.getText())); in dumpNodeRec()
204 serializer.attribute("", "resource-id", safeCharSeqToString(node.getViewIdResourceName())); in dumpNodeRec()
205 serializer.attribute("", "class", safeCharSeqToString(node.getClassName())); in dumpNodeRec()
206 serializer.attribute("", "package", safeCharSeqToString(node.getPackageName())); in dumpNodeRec()
207 serializer.attribute("", "content-desc", safeCharSeqToString(node.getContentDescription())); in dumpNodeRec()
208 serializer.attribute("", "checkable", Boolean.toString(node.isCheckable())); in dumpNodeRec()
209 serializer.attribute("", "checked", Boolean.toString(node.isChecked())); in dumpNodeRec()
210 serializer.attribute("", "clickable", Boolean.toString(node.isClickable())); in dumpNodeRec()
[all …]
/frameworks/rs/
DrsMap.h57 LinkNode* node = bucket[index]; variable
60 while (node != nullptr) {
61 if (node->entry.first == key) {
62 return node->entry.second;
64 prev = node;
65 node = node->next;
68 node = new LinkNode();
69 node->entry.first = key;
70 node->next = nullptr;
72 bucket[index] = node;
[all …]
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...
/frameworks/compile/mclinker/unittests/
DInputTreeTest.cpp68 InputTree::iterator node = m_pTestee->root(); in TEST_F() local
69 InputTree::const_iterator const_node = node; in TEST_F()
70 --node; in TEST_F()
73 ASSERT_TRUE(isGroup(node)); in TEST_F()
78 --node; in TEST_F()
80 m_pTestee->enterGroup(node, InputTree::Downward); in TEST_F()
82 InputTree::const_iterator const_node2 = node; in TEST_F()
84 ASSERT_FALSE(node.isRoot()); in TEST_F()
86 ASSERT_FALSE(isGroup(node)); in TEST_F()
95 InputTree::iterator node = m_pTestee->root(); in TEST_F() local
[all …]
DFactoriesTest.cpp40 NodeAlloc::NodeType* node = m_pNodeAlloc->produce(); in TEST_F() local
43 node = m_pNodeAlloc->produce(); in TEST_F()
46 node = m_pNodeAlloc->produce(); in TEST_F()
52 NodeAlloc::NodeType* node = 0; in TEST_F() local
54 node = m_pNodeAlloc->produce(); in TEST_F()
55 node->data = (int*)malloc(sizeof(int)); in TEST_F()
56 *(node->data) = i; in TEST_F()
71 NodeAlloc::NodeType* node = 0; in TEST_F() local
73 node = m_pNodeAlloc->produce(); in TEST_F()
74 node->data = (int*)malloc(sizeof(int)); in TEST_F()
[all …]
/frameworks/av/media/libeffects/factory/
DEffectsConfigLoader.c41 static int loadEffect(cnode *node);
80 cnode *node; in loadLibraries() local
82 node = config_find(root, LIBRARIES_TAG); in loadLibraries()
83 if (node == NULL) { in loadLibraries()
86 node = node->first_child; in loadLibraries()
87 while (node) { in loadLibraries()
88 loadLibrary(node, node->name); in loadLibraries()
89 node = node->next; in loadLibraries()
153 cnode *node; in loadLibrary() local
160 node = config_find(root, PATH_TAG); in loadLibrary()
[all …]
/frameworks/base/core/java/android/animation/
DAnimatorSet.java306 Node node = mNodes.get(i);
307 if (node != mRootNode) {
308 childList.add(node.mAnimation);
325 Node node = mNodes.get(i);
326 Animator animation = node.mAnimation;
573 Node node = mNodes.get(i);
574 if (node == mRootNode) {
575 node.mEndTime = mStartDelay;
577 node.mStartTime = node.mStartTime == DURATION_INFINITE ?
578 DURATION_INFINITE : node.mStartTime + delta;
[all …]
/frameworks/base/tools/aapt2/java/
DProguardRules.cpp49 void Visit(xml::Element* node) override { in Visit() argument
50 if (!node->namespace_uri.empty()) { in Visit()
52 xml::ExtractPackageFromNamespace(node->namespace_uri); in Visit()
55 std::string package = maybe_package.value().package + "." + node->name; in Visit()
57 AddClass(node->line_number, package, ctor_signature_); in Visit()
60 } else if (util::IsJavaClassName(node->name)) { in Visit()
61 AddClass(node->line_number, node->name, ctor_signature_); in Visit()
64 for (const auto& child : node->children) { in Visit()
68 for (const auto& attr : node->attributes) { in Visit()
72 AddReference(node->line_number, ref); in Visit()
[all …]
/frameworks/base/tools/incident_report/
Dgeneric_message.cpp30 Node node; in addInt32() local
31 node.type = TYPE_VALUE32; in addInt32()
32 node.value32 = value; in addInt32()
33 mNodes.insert(pair<int32_t,Node>(fieldId, node)); in addInt32()
39 Node node; in addInt64() local
40 node.type = TYPE_VALUE64; in addInt64()
41 node.value64 = value; in addInt64()
42 mNodes.insert(pair<int32_t,Node>(fieldId, node)); in addInt64()
49 Node node; in addMessage() local
50 node.type = TYPE_MESSAGE; in addMessage()
[all …]
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DPpsMoParser.java453 private static PasspointConfiguration parsePpsNode(XMLNode node) in parsePpsNode() argument
458 for (XMLNode child : node.getChildren()) { in parsePpsNode()
517 private static String parseUrn(XMLNode node) throws ParsingException { in parseUrn() argument
518 if (node.getChildren().size() != 1) in parseUrn()
521 XMLNode typeNode = node.getChildren().get(0); in parseUrn()
574 private static PPSNode buildPpsNode(XMLNode node) throws ParsingException { in buildPpsNode() argument
581 for (XMLNode child : node.getChildren()) { in buildPpsNode()
631 private static String getPpsNodeValue(PPSNode node) throws ParsingException { in getPpsNodeValue() argument
632 if (!node.isLeaf()) { in getPpsNodeValue()
633 throw new ParsingException("Cannot get value from a non-leaf node: " + node.getName()); in getPpsNodeValue()
[all …]
/frameworks/compile/mclinker/include/mcld/
DInputTree.h100 bfs_iterator it = bfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); in bfs_begin()
107 return bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); in bfs_end()
112 const_bfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); in bfs_begin()
119 return const_bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); in bfs_end()
123 dfs_iterator it = dfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); in dfs_begin()
130 return dfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); in dfs_end()
135 const_dfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); in dfs_begin()
142 return const_dfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); in dfs_end()
145 iterator root() { return iterator(&(BinaryTreeBase<Input>::m_Root.node)); } in root()
151 const_cast<NodeBase*>(&BinaryTreeBase<Input>::m_Root.node)); in root()
[all …]
/frameworks/av/services/audiopolicy/service/
DAudioPolicyEffects.cpp614 size_t AudioPolicyEffects::readParamValue(cnode *node, in readParamValue() argument
622 if (strncmp(node->name, SHORT_TAG, sizeof(SHORT_TAG) + 1) == 0) { in readParamValue()
627 *(short *)(*param + pos) = (short)atoi(node->value); in readParamValue()
630 } else if (strncmp(node->name, INT_TAG, sizeof(INT_TAG) + 1) == 0) { in readParamValue()
635 *(int *)(*param + pos) = atoi(node->value); in readParamValue()
638 } else if (strncmp(node->name, FLOAT_TAG, sizeof(FLOAT_TAG) + 1) == 0) { in readParamValue()
643 *(float *)(*param + pos) = (float)atof(node->value); in readParamValue()
646 } else if (strncmp(node->name, BOOL_TAG, sizeof(BOOL_TAG) + 1) == 0) { in readParamValue()
651 if (strncmp(node->value, "true", strlen("true") + 1) == 0) { in readParamValue()
659 } else if (strncmp(node->name, STRING_TAG, sizeof(STRING_TAG) + 1) == 0) { in readParamValue()
[all …]
/frameworks/base/libs/hwui/tests/common/
DTestUtils.h133 virtual void onMaybeRemovedFromTree(RenderNode* node) {} in onMaybeRemovedFromTree() argument
175 sp<RenderNode> node = new RenderNode(); in createNode() local
176 RenderProperties& props = node->mutateStagingProperties(); in createNode()
182 node->setStagingDisplayList(canvas->finishRecording()); in createNode()
184 node->setPropertyFieldsDirty(0xFFFFFFFF); in createNode()
185 return node; in createNode()
192 sp<RenderNode> node = new RenderNode(); in createNode() local
193 RenderProperties& props = node->mutateStagingProperties(); in createNode()
198 node->setStagingDisplayList(canvas.finishRecording()); in createNode()
200 node->setPropertyFieldsDirty(0xFFFFFFFF); in createNode()
[all …]
/frameworks/base/libs/hwui/utils/
DLinearAllocator.cpp109 auto node = mDtorList; in ~LinearAllocator() local
110 mDtorList = node->next; in ~LinearAllocator()
111 node->dtor(node->addr); in ~LinearAllocator()
179 auto node = new (allocImpl(sizeof(DestructorNode))) DestructorNode(); in addToDestructionList() local
180 node->dtor = dtor; in addToDestructionList()
181 node->addr = addr; in addToDestructionList()
182 node->next = mDtorList; in addToDestructionList()
183 mDtorList = node; in addToDestructionList()
187 auto node = mDtorList; in runDestructorFor() local
189 while (node) { in runDestructorFor()
[all …]
/frameworks/base/core/java/android/content/
DUriMatcher.java178 UriMatcher node = this; in addURI() local
181 ArrayList<UriMatcher> children = node.mChildren; in addURI()
188 node = child; in addURI()
195 node.mChildren.add(child); in addURI()
196 node = child; in addURI()
199 node.mCode = code; in addURI()
226 UriMatcher node = this;
234 ArrayList<UriMatcher> list = node.mChildren;
238 node = null;
246 node = n;
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DExploreByTouchHelper.java375 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(mView); in createNodeForHost() local
376 mView.onInitializeAccessibilityNodeInfo(node); in createNodeForHost()
377 final int realNodeCount = node.getChildCount(); in createNodeForHost()
380 onPopulateNodeForHost(node); in createNodeForHost()
396 node.addChild(mView, virtualViewIds.get(i)); in createNodeForHost()
399 return node; in createNodeForHost()
436 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(); in createNodeForChild() local
439 node.setEnabled(true); in createNodeForChild()
440 node.setClassName(DEFAULT_CLASS_NAME); in createNodeForChild()
441 node.setBoundsInParent(INVALID_PARENT_BOUNDS); in createNodeForChild()
[all …]
/frameworks/compile/mclinker/include/mcld/ADT/
DBinTree.h272 NodeBase node;
275 TreeImpl() : NodeFactory<DataType>() { node.left = node.right = &node; } in TreeImpl()
287 if ((*data).left == &pClient.node) in summon()
288 (*data).left = &node; in summon()
289 if ((*data).right == &pClient.node) in summon()
290 (*data).right = &node; in summon()
304 result->left = result->right = &m_Root.node; in createNode()
371 return bfs_iterator(BinaryTreeBase<DataType>::m_Root.node.left); in bfs_begin()
375 return bfs_iterator(BinaryTreeBase<DataType>::m_Root.node.right); in bfs_end()
379 return const_bfs_iterator(BinaryTreeBase<DataType>::m_Root.node.left); in bfs_begin()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/
DRenderNodePerfTest.java36 final RenderNode node = RenderNode.create("benchmark", null); in testMeasureRenderNodeJniOverhead() local
40 node.setTranslationX(1.0f); in testMeasureRenderNodeJniOverhead()
63 RenderNode node = RenderNode.create("LinearLayout", null); in testIsValid() local
65 node.hasDisplayList(); in testIsValid()
72 RenderNode node = RenderNode.create("LinearLayout", null); in testStartEnd() local
74 node.beginRecording(100, 100); in testStartEnd()
75 node.endRecording(); in testStartEnd()
100 RenderNode node = RenderNode.create("LinearLayout", null); in testHasIdentityMatrix() local
102 node.hasIdentityMatrix(); in testHasIdentityMatrix()
109 RenderNode node = RenderNode.create("LinearLayout", null); in testSetOutline() local
[all …]
DCanvasPerfTest.java43 RenderNode node = RenderNode.create("benchmark", null); in testBasicViewGroupDraw() local
47 RecordingCanvas canvas = node.start(100, 100); in testBasicViewGroupDraw()
48 node.end(canvas); in testBasicViewGroupDraw()
54 canvas = node.start(200, 200); in testBasicViewGroupDraw()
63 node.end(canvas); in testBasicViewGroupDraw()
72 RenderNode node = RenderNode.create("benchmark", null); in testRecordSimpleBitmapView() local
74 RecordingCanvas canvas = node.start(100, 100); in testRecordSimpleBitmapView()
75 node.end(canvas); in testRecordSimpleBitmapView()
81 canvas = node.start(100, 100); in testRecordSimpleBitmapView()
93 node.end(canvas); in testRecordSimpleBitmapView()
/frameworks/native/vulkan/libvulkan/
Ddebug_report.cpp41 Node* node, in RemoveCallback() argument
47 while (prev && prev->next != node) in RemoveCallback()
50 prev->next = node->next; in RemoveCallback()
53 allocator.pfnFree(allocator.pUserData, node); in RemoveCallback()
64 const Node* node = &head_; in Message() local
65 while ((node = node->next)) { in Message()
66 if ((node->flags & flags) != 0) { in Message()
67 node->callback(flags, object_type, object, location, message_code, in Message()
68 layer_prefix, message, node->user_data); in Message()
132 auto node = callbacks.AddCallback( in CreateDebugReportCallbackEXT() local
[all …]
/frameworks/base/wifi/tests/assets/pps/
DREADME.txt2 PerProviderSubscription_DuplicateHomeSP.xml - containing multiple HomeSP node
3 PerProviderSubscription_DuplicateValue.xml - FriendlyName node contains multiple Value
4 PerProviderSubscription_MissingValue.xml - FriendlyName node is missing Value
5 PerProviderSubscription_MissingName.xml - HomeSP node is missing NodeName
6 PerProviderSubscription_InvalidNode.xml - FQDN node contains both Value and a child node
7 PerProviderSubscription_InvalidName.xml - FriendlyName node have a typo in its name

123456789