/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | ConfigParsingUtils.cpp | 36 cnode *node = root->first_child; in loadAudioPortGain() local 40 while (node) { in loadAudioPortGain() 41 if (strcmp(node->name, GAIN_MODE) == 0) { in loadAudioPortGain() 42 gain->setMode(GainModeConverter::maskFromString(node->value)); in loadAudioPortGain() 43 } else if (strcmp(node->name, GAIN_CHANNELS) == 0) { in loadAudioPortGain() 46 if (InputChannelConverter::fromString(node->value, mask)) { in loadAudioPortGain() 50 if (OutputChannelConverter::fromString(node->value, mask)) { in loadAudioPortGain() 54 } else if (strcmp(node->name, GAIN_MIN_VALUE) == 0) { in loadAudioPortGain() 55 gain->setMinValueInMb(atoi(node->value)); in loadAudioPortGain() 56 } else if (strcmp(node->name, GAIN_MAX_VALUE) == 0) { in loadAudioPortGain() [all …]
|
/frameworks/av/media/libstagefright/ |
D | OMXClient.cpp | 52 virtual bool livesLocally(node_id node, pid_t pid); 59 node_id *node); 61 virtual status_t freeNode(node_id node); 64 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param); 67 node_id node, OMX_INDEXTYPE index, 71 node_id node, OMX_INDEXTYPE index, 75 node_id node, OMX_INDEXTYPE index, 79 node_id node, OMX_INDEXTYPE index, 83 node_id node, OMX_STATETYPE* state); 86 node_id node, OMX_U32 port_index, OMX_BOOL enable, MetadataBufferType *type); [all …]
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorSet.java | 248 Node node = mNodes.get(i); in getChildAnimations() local 249 if (node != mRootNode) { in getChildAnimations() 250 childList.add(node.mAnimation); in getChildAnimations() 267 Node node = mNodes.get(i); in setTarget() local 268 Animator animation = node.mAnimation; in setTarget() 415 Node node = mNodeMap.get(anim); in endRemainingAnimations() local 416 if (node.mChildNodes != null) { in endRemainingAnimations() 417 int childSize = node.mChildNodes.size(); in endRemainingAnimations() 419 Node child = node.mChildNodes.get(i); in endRemainingAnimations() 420 if (child.mLatestParent != node) { in endRemainingAnimations() [all …]
|
/frameworks/base/tools/aapt2/java/ |
D | ProguardRules.cpp | 34 virtual void visit(xml::Namespace* node) override { in visit() argument 35 for (const auto& child : node->children) { in visit() 40 virtual void visit(xml::Element* node) override { in visit() argument 41 if (!node->namespaceUri.empty()) { in visit() 43 node->namespaceUri); in visit() 46 std::u16string package = maybePackage.value().package + u"." + node->name; in visit() 48 addClass(node->lineNumber, package); in visit() 51 } else if (util::isJavaClassName(node->name)) { in visit() 52 addClass(node->lineNumber, node->name); in visit() 55 for (const auto& child: node->children) { in visit() [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 | 101 private static void dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, in dumpNodeRec() argument 104 if (!nafExcludedClass(node) && !nafCheck(node)) in dumpNodeRec() 107 serializer.attribute("", "text", safeCharSeqToString(node.getText())); in dumpNodeRec() 108 serializer.attribute("", "resource-id", safeCharSeqToString(node.getViewIdResourceName())); in dumpNodeRec() 109 serializer.attribute("", "class", safeCharSeqToString(node.getClassName())); in dumpNodeRec() 110 serializer.attribute("", "package", safeCharSeqToString(node.getPackageName())); in dumpNodeRec() 111 serializer.attribute("", "content-desc", safeCharSeqToString(node.getContentDescription())); in dumpNodeRec() 112 serializer.attribute("", "checkable", Boolean.toString(node.isCheckable())); in dumpNodeRec() 113 serializer.attribute("", "checked", Boolean.toString(node.isChecked())); in dumpNodeRec() 114 serializer.attribute("", "clickable", Boolean.toString(node.isClickable())); in dumpNodeRec() [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/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/libstagefright/omx/ |
D | OMX.cpp | 206 bool OMX::isSecure(node_id node) { in isSecure() argument 207 OMXNodeInstance *instance = findInstance(node); in isSecure() 245 sp<IBinder> *nodeBinder, node_id *node) { in allocateNode() argument 248 *node = 0; in allocateNode() 273 *node = makeNodeID_l(instance); in allocateNode() 274 mDispatchers.add(*node, new CallbackDispatcher(instance)); in allocateNode() 276 instance->setHandle(*node, handle); in allocateNode() 284 status_t OMX::freeNode(node_id node) { in freeNode() argument 285 OMXNodeInstance *instance = findInstance(node); in freeNode() 308 ssize_t index = mDispatchers.indexOfKey(node); in freeNode() [all …]
|
/frameworks/av/media/libstagefright/include/ |
D | OMX.h | 34 virtual bool livesLocally(node_id node, pid_t pid); 41 node_id *node); 43 virtual status_t freeNode(node_id node); 46 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param); 49 node_id node, OMX_INDEXTYPE index, 53 node_id node, OMX_INDEXTYPE index, 57 node_id node, OMX_INDEXTYPE index, 61 node_id node, OMX_INDEXTYPE index, 65 node_id node, OMX_STATETYPE* state); 68 node_id node, OMX_U32 port_index, OMX_BOOL graphic, OMX_BOOL enable); [all …]
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyEffects.cpp | 399 size_t AudioPolicyEffects::readParamValue(cnode *node, in readParamValue() argument 407 if (strncmp(node->name, SHORT_TAG, sizeof(SHORT_TAG) + 1) == 0) { in readParamValue() 412 *(short *)(*param + pos) = (short)atoi(node->value); in readParamValue() 415 } else if (strncmp(node->name, INT_TAG, sizeof(INT_TAG) + 1) == 0) { in readParamValue() 420 *(int *)(*param + pos) = atoi(node->value); in readParamValue() 423 } else if (strncmp(node->name, FLOAT_TAG, sizeof(FLOAT_TAG) + 1) == 0) { in readParamValue() 428 *(float *)(*param + pos) = (float)atof(node->value); in readParamValue() 431 } else if (strncmp(node->name, BOOL_TAG, sizeof(BOOL_TAG) + 1) == 0) { in readParamValue() 436 if (strncmp(node->value, "true", strlen("true") + 1) == 0) { in readParamValue() 444 } else if (strncmp(node->name, STRING_TAG, sizeof(STRING_TAG) + 1) == 0) { in readParamValue() [all …]
|
/frameworks/av/include/media/ |
D | IOMX.h | 53 virtual bool livesLocally(node_id node, pid_t pid) = 0; 64 node_id *node) = 0; 66 virtual status_t freeNode(node_id node) = 0; 69 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) = 0; 72 node_id node, OMX_INDEXTYPE index, 76 node_id node, OMX_INDEXTYPE index, 80 node_id node, OMX_INDEXTYPE index, 84 node_id node, OMX_INDEXTYPE index, 88 node_id node, OMX_STATETYPE* state) = 0; 93 node_id node, OMX_U32 port_index, OMX_BOOL enable, MetadataBufferType *type = NULL) = 0; [all …]
|
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/ |
D | ParameterManagerWrapper.cpp | 142 cnode *node; in loadCriterionType() local 143 for (node = root->first_child; node != NULL; node = node->next) { in loadCriterionType() 145 ALOG_ASSERT(node != NULL, "error in parsing file"); in loadCriterionType() 146 const char *typeName = node->name; in loadCriterionType() 147 char *valueNames = strndup(node->value, strlen(node->value)); in loadCriterionType() 187 cnode *node = config_find(root, gInclusiveCriterionTypeTag.c_str()); in loadInclusiveCriterionType() local 188 if (node == NULL) { in loadInclusiveCriterionType() 191 loadCriterionType(node, true); in loadInclusiveCriterionType() 197 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str()); in loadExclusiveCriterionType() local 198 if (node == NULL) { in loadExclusiveCriterionType() [all …]
|
/frameworks/support/design/src/android/support/design/widget/ |
D | DirectedAcyclicGraph.java | 45 void addNode(@NonNull T node) { in addNode() argument 46 if (!mGraph.containsKey(node)) { in addNode() 47 mGraph.put(node, null); in addNode() 54 boolean contains(@NonNull T node) { in contains() argument 55 return mGraph.containsKey(node); in contains() 67 void addEdge(@NonNull T node, @NonNull T incomingEdge) { in addEdge() argument 68 if (!mGraph.containsKey(node) || !mGraph.containsKey(incomingEdge)) { in addEdge() 73 ArrayList<T> edges = mGraph.get(node); in addEdge() 77 mGraph.put(node, edges); in addEdge() 89 List getIncomingEdges(@NonNull T node) { in getIncomingEdges() argument [all …]
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactory.c | 57 static int loadEffect(cnode *node); 287 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2], in EffectCreate() 288 uuid->node[3],uuid->node[4],uuid->node[5]); in EffectCreate() 408 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2], in EffectGetSubEffects() 409 uuid->node[3],uuid->node[4],uuid->node[5]); in EffectGetSubEffects() 494 cnode *node; in loadLibraries() local 496 node = config_find(root, LIBRARIES_TAG); in loadLibraries() 497 if (node == NULL) { in loadLibraries() 500 node = node->first_child; in loadLibraries() 501 while (node) { in loadLibraries() [all …]
|
/frameworks/av/media/libmedia/ |
D | IOMX.cpp | 73 virtual bool livesLocally(node_id node, pid_t pid) { in livesLocally() argument 76 data.writeInt32((int32_t)node); in livesLocally() 108 node_id *node) { in allocateNode() argument 117 *node = (node_id)reply.readInt32(); in allocateNode() 122 *node = 0; in allocateNode() 128 virtual status_t freeNode(node_id node) { in freeNode() argument 131 data.writeInt32((int32_t)node); in freeNode() 138 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) { in sendCommand() argument 141 data.writeInt32((int32_t)node); in sendCommand() 150 node_id node, OMX_INDEXTYPE index, in getParameter() argument [all …]
|
/frameworks/support/design/jvm-tests/src/android/support/design/widget/ |
D | DirectedAcyclicGraphTest.java | 47 final TestNode node = new TestNode("node"); in test_addNode() local 48 mGraph.addNode(node); in test_addNode() 50 assertTrue(mGraph.contains(node)); in test_addNode() 55 final TestNode node = new TestNode("node"); in test_addNodeAgain() local 56 mGraph.addNode(node); in test_addNodeAgain() 57 mGraph.addNode(node); in test_addNodeAgain() 60 assertTrue(mGraph.contains(node)); in test_addNodeAgain() 65 final TestNode node = new TestNode("node"); in test_addEdge() local 68 mGraph.addNode(node); in test_addEdge() 70 mGraph.addEdge(node, edge); in test_addEdge() [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/base/core/java/android/content/ |
D | UriMatcher.java | 177 UriMatcher node = this; in addURI() local 180 ArrayList<UriMatcher> children = node.mChildren; in addURI() 187 node = child; in addURI() 202 node.mChildren.add(child); in addURI() 203 node = child; in addURI() 206 node.mCode = code; in addURI() 222 UriMatcher node = this; 230 ArrayList<UriMatcher> list = node.mChildren; 234 node = null; 242 node = n; [all …]
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
D | ExploreByTouchHelper.java | 329 final AccessibilityNodeInfoCompat node = obtainAccessibilityNodeInfo(virtualViewId); in getBoundsInParent() local 330 node.getBoundsInParent(outBounds); in getBoundsInParent() 339 public void obtainBounds(AccessibilityNodeInfoCompat node, Rect outBounds) { 340 node.getBoundsInParent(outBounds); 680 final AccessibilityNodeInfoCompat node = obtainAccessibilityNodeInfo(virtualViewId); in createEventForChild() local 683 record.getText().add(node.getText()); in createEventForChild() 684 record.setContentDescription(node.getContentDescription()); in createEventForChild() 685 record.setScrollable(node.isScrollable()); in createEventForChild() 686 record.setPassword(node.isPassword()); in createEventForChild() 687 record.setEnabled(node.isEnabled()); in createEventForChild() [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ExploreByTouchHelper.java | 374 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(mView); in createNodeForHost() local 375 mView.onInitializeAccessibilityNodeInfo(node); in createNodeForHost() 376 final int realNodeCount = node.getChildCount(); in createNodeForHost() 379 onPopulateNodeForHost(node); in createNodeForHost() 395 node.addChild(mView, virtualViewIds.get(i)); in createNodeForHost() 398 return node; in createNodeForHost() 435 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(); in createNodeForChild() local 438 node.setEnabled(true); in createNodeForChild() 439 node.setClassName(DEFAULT_CLASS_NAME); in createNodeForChild() 440 node.setBoundsInParent(INVALID_PARENT_BOUNDS); in createNodeForChild() [all …]
|
/frameworks/base/libs/hwui/utils/ |
D | LinearAllocator.cpp | 124 auto node = mDtorList; in ~LinearAllocator() local 125 mDtorList = node->next; in ~LinearAllocator() 126 node->dtor(node->addr); in ~LinearAllocator() 195 auto node = new (allocImpl(sizeof(DestructorNode))) DestructorNode(); in addToDestructionList() local 196 node->dtor = dtor; in addToDestructionList() 197 node->addr = addr; in addToDestructionList() 198 node->next = mDtorList; in addToDestructionList() 199 mDtorList = node; in addToDestructionList() 203 auto node = mDtorList; in runDestructorFor() local 205 while (node) { in runDestructorFor() [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/tools/aapt2/flatten/ |
D | XmlFlattener.cpp | 74 void writeNamespace(xml::Namespace* node, uint16_t type) { in writeNamespace() 78 flatNode->lineNumber = util::hostToDevice32(node->lineNumber); in writeNamespace() 82 addString(node->namespacePrefix, kLowPriority, &flatNs->prefix); in writeNamespace() 83 addString(node->namespaceUri, kLowPriority, &flatNs->uri); in writeNamespace() 88 void visit(xml::Namespace* node) override { in visit() 89 writeNamespace(node, android::RES_XML_START_NAMESPACE_TYPE); in visit() 90 xml::Visitor::visit(node); in visit() 91 writeNamespace(node, android::RES_XML_END_NAMESPACE_TYPE); in visit() 94 void visit(xml::Text* node) override { in visit() 95 if (util::trimWhitespace(node->text).empty()) { in visit() [all …]
|