/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/asn1/ |
D | Asn1NodeTest.java | 40 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/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/render/ |
D | ShadeViewDifferTest.java | 69 node(mController1), in testAddInitialViews() 70 node(mController2, in testAddInitialViews() 71 node(mController3), in testAddInitialViews() 72 node(mController4) in testAddInitialViews() 74 node(mController5) in testAddInitialViews() 82 node(mController1), in testDetachViews() 83 node(mController2, in testDetachViews() 84 node(mController3), in testDetachViews() 85 node(mController4) in testDetachViews() 87 node(mController5) in testDetachViews() [all …]
|
/frameworks/rs/ |
D | rsMap.h | 57 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/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiObject.java | 151 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 …]
|
D | AccessibilityNodeInfoDumper.java | 197 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/compile/mclinker/unittests/ |
D | InputTreeTest.cpp | 68 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 …]
|
D | FactoriesTest.cpp | 40 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/ |
D | EffectsConfigLoader.c | 41 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 …]
|
D | EffectsFactoryState.c | 85 uuid->node[0] = (uint8_t)tmp[4]; in stringToUuid() 86 uuid->node[1] = (uint8_t)tmp[5]; in stringToUuid() 87 uuid->node[2] = (uint8_t)tmp[6]; in stringToUuid() 88 uuid->node[3] = (uint8_t)tmp[7]; in stringToUuid() 89 uuid->node[4] = (uint8_t)tmp[8]; in stringToUuid() 90 uuid->node[5] = (uint8_t)tmp[9]; in stringToUuid() 103 uuid->node[0], in uuidToString() 104 uuid->node[1], in uuidToString() 105 uuid->node[2], in uuidToString() 106 uuid->node[3], in uuidToString() [all …]
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorSet.java | 306 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/incident_report/ |
D | generic_message.cpp | 30 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/tools/aapt2/java/ |
D | ProguardRules.cpp | 49 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/libs/hwui/tests/common/ |
D | TestUtils.h | 131 virtual void onMaybeRemovedFromTree(RenderNode* node) {} in onMaybeRemovedFromTree() argument 165 sp<RenderNode> node = new RenderNode(); in createNode() local 166 RenderProperties& props = node->mutateStagingProperties(); in createNode() 172 canvas->finishRecording(node.get()); in createNode() 174 node->setPropertyFieldsDirty(0xFFFFFFFF); in createNode() 175 return node; in createNode() 182 sp<RenderNode> node = new RenderNode(); in createNode() local 183 RenderProperties& props = node->mutateStagingProperties(); in createNode() 188 node->setStagingDisplayList(canvas.finishRecording()); in createNode() 190 node->setPropertyFieldsDirty(0xFFFFFFFF); in createNode() [all …]
|
/frameworks/compile/mclinker/include/mcld/ |
D | InputTree.h | 100 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/ |
D | AudioPolicyEffects.cpp | 622 size_t AudioPolicyEffects::readParamValue(cnode *node, in readParamValue() argument 630 if (strncmp(node->name, SHORT_TAG, sizeof(SHORT_TAG) + 1) == 0) { in readParamValue() 635 *(short *)(*param + pos) = (short)atoi(node->value); in readParamValue() 638 } else if (strncmp(node->name, INT_TAG, sizeof(INT_TAG) + 1) == 0) { in readParamValue() 643 *(int *)(*param + pos) = atoi(node->value); in readParamValue() 646 } else if (strncmp(node->name, FLOAT_TAG, sizeof(FLOAT_TAG) + 1) == 0) { in readParamValue() 651 *(float *)(*param + pos) = (float)atof(node->value); in readParamValue() 654 } else if (strncmp(node->name, BOOL_TAG, sizeof(BOOL_TAG) + 1) == 0) { in readParamValue() 659 if (strncmp(node->value, "true", strlen("true") + 1) == 0) { in readParamValue() 667 } else if (strncmp(node->name, STRING_TAG, sizeof(STRING_TAG) + 1) == 0) { in readParamValue() [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | LinearAllocator.cpp | 109 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/apct-tests/perftests/autofill/src/android/view/autofill/ |
D | AutofillTestHelper.java | 38 ViewNode node = findNodeByResourceId(context.getStructure(), resourceId); in findNodeByResourceId() local 39 if (node != null) { in findNodeByResourceId() 40 return node; in findNodeByResourceId() 55 final ViewNode node = findNodeByResourceId(rootNode, id); in findNodeByResourceId() local 56 if (node != null) { in findNodeByResourceId() 57 return node; in findNodeByResourceId() 66 private static ViewNode findNodeByResourceId(ViewNode node, String id) { in findNodeByResourceId() argument 67 if (id.equals(node.getIdEntry())) { in findNodeByResourceId() 68 return node; in findNodeByResourceId() 70 final int childrenSize = node.getChildCount(); in findNodeByResourceId() [all …]
|
/frameworks/base/core/java/android/content/ |
D | UriMatcher.java | 178 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/ |
D | ExploreByTouchHelper.java | 375 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/base/libs/hwui/tests/microbench/ |
D | RenderNodeBench.cpp | 27 auto node = new RenderNode(); in BM_RenderNode_create() local 28 node->incStrong(0); in BM_RenderNode_create() 29 benchmark::DoNotOptimize(node); in BM_RenderNode_create() 30 node->decStrong(0); in BM_RenderNode_create() 36 sp<RenderNode> node = new RenderNode(); in BM_RenderNode_recordSimple() local 38 canvas->finishRecording(node.get()); in BM_RenderNode_recordSimple() 41 canvas->resetRecording(100, 100, node.get()); in BM_RenderNode_recordSimple() 43 canvas->finishRecording(node.get()); in BM_RenderNode_recordSimple()
|
/frameworks/base/core/tests/coretests/src/android/view/contentcapture/ |
D | ViewNodeTest.java | 52 ViewNode node = structure.getNode(); in testUnsupportedProperties() local 55 assertThat(node.getChildCount()).isEqualTo(0); in testUnsupportedProperties() 58 assertThat(node.getChildCount()).isEqualTo(0); in testUnsupportedProperties() 61 assertThat(node.getChildCount()).isEqualTo(0); in testUnsupportedProperties() 64 assertThat(node.getChildCount()).isEqualTo(0); in testUnsupportedProperties() 67 assertThat(node.getChildCount()).isEqualTo(0); in testUnsupportedProperties() 70 assertThat(node.getWebDomain()).isNull(); in testUnsupportedProperties() 75 assertThat(node.getHtmlInfo()).isNull(); in testUnsupportedProperties() 83 assertThat(node.getElevation()).isWithin(1.0e-10f).of(0f); in testUnsupportedProperties() 85 assertThat(node.getAlpha()).isWithin(1.0e-10f).of(1.0f); in testUnsupportedProperties() [all …]
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | BinTree.h | 272 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/ |
D | RenderNodePerfTest.java | 36 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 …]
|
D | CanvasPerfTest.java | 43 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/ |
D | debug_report.cpp | 41 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 …]
|