/frameworks/av/media/libstagefright/ |
D | OMXClient.cpp | 42 virtual bool livesLocally(node_id node, pid_t pid); 48 node_id *node); 50 virtual status_t freeNode(node_id node); 53 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param); 56 node_id node, OMX_INDEXTYPE index, 60 node_id node, OMX_INDEXTYPE index, 64 node_id node, OMX_INDEXTYPE index, 68 node_id node, OMX_INDEXTYPE index, 72 node_id node, OMX_STATETYPE* state); 75 node_id node, OMX_U32 port_index, OMX_BOOL enable); [all …]
|
/frameworks/base/core/java/android/animation/ |
D | AnimatorSet.java | 218 for (Node node : mNodes) { in getChildAnimations() 219 childList.add(node.animation); in getChildAnimations() 233 for (Node node : mNodes) { in setTarget() 234 Animator animation = node.animation; in setTarget() 334 for (Node node : mSortedNodes) { in cancel() 335 node.animation.cancel(); in cancel() 360 for (Node node : mSortedNodes) { in end() 364 node.animation.addListener(mSetListener); in end() 371 for (Node node : mSortedNodes) { in end() 372 node.animation.end(); in end() [all …]
|
/frameworks/av/media/libstagefright/omx/ |
D | OMX.cpp | 190 bool OMX::isSecure(node_id node) { in isSecure() argument 191 OMXNodeInstance *instance = findInstance(node); in isSecure() 228 const char *name, const sp<IOMXObserver> &observer, node_id *node) { in allocateNode() argument 231 *node = 0; in allocateNode() 248 *node = makeNodeID(instance); in allocateNode() 249 mDispatchers.add(*node, new CallbackDispatcher(instance)); in allocateNode() 251 instance->setHandle(*node, handle); in allocateNode() 259 status_t OMX::freeNode(node_id node) { in freeNode() argument 260 OMXNodeInstance *instance = findInstance(node); in freeNode() 279 ssize_t index = mDispatchers.indexOfKey(node); in freeNode() [all …]
|
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/ |
D | UiObject.java | 148 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout()); in getChildCount() local 149 if(node == null) { in getChildCount() 152 return node.getChildCount(); in getChildCount() 164 AccessibilityNodeInfo node = null; in findAccessibilityNodeInfo() local 168 node = getQueryController().findAccessibilityNodeInfo(getSelector()); in findAccessibilityNodeInfo() 169 if (node != null) { in findAccessibilityNodeInfo() 180 return node; in findAccessibilityNodeInfo() 335 private Rect getVisibleBounds(AccessibilityNodeInfo node) { in getVisibleBounds() argument 336 if (node == null) { in getVisibleBounds() 343 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/compile/mclinker/unittests/ |
D | InputTreeTest.cpp | 78 InputTree::iterator node = m_pTestee->root(); in TEST_F() local 79 InputTree::const_iterator const_node = node; in TEST_F() 80 --node; in TEST_F() 83 ASSERT_TRUE(isGroup(node)); in TEST_F() 88 --node; in TEST_F() 90 m_pTestee->enterGroup(node, InputTree::Downward); in TEST_F() 92 InputTree::const_iterator const_node2 = node; in TEST_F() 94 ASSERT_FALSE(node.isRoot()); in TEST_F() 96 ASSERT_FALSE(isGroup(node)); in TEST_F() 105 InputTree::iterator node = m_pTestee->root(); in TEST_F() local [all …]
|
D | FactoriesTest.cpp | 45 NodeAlloc::NodeType* node = m_pNodeAlloc->produce(); in TEST_F() local 48 node = m_pNodeAlloc->produce(); in TEST_F() 51 node = m_pNodeAlloc->produce(); in TEST_F() 57 NodeAlloc::NodeType* node = 0; in TEST_F() local 59 node = m_pNodeAlloc->produce(); in TEST_F() 60 node->data = (int*)malloc(sizeof(int)); in TEST_F() 61 *(node->data) = i; in TEST_F() 76 NodeAlloc::NodeType* node = 0; in TEST_F() local 78 node = m_pNodeAlloc->produce(); in TEST_F() 79 node->data = (int*)malloc(sizeof(int)); in TEST_F() [all …]
|
/frameworks/av/media/libstagefright/include/ |
D | OMX.h | 34 virtual bool livesLocally(node_id node, pid_t pid); 39 const char *name, const sp<IOMXObserver> &observer, node_id *node); 41 virtual status_t freeNode(node_id node); 44 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param); 47 node_id node, OMX_INDEXTYPE index, 51 node_id node, OMX_INDEXTYPE index, 55 node_id node, OMX_INDEXTYPE index, 59 node_id node, OMX_INDEXTYPE index, 63 node_id node, OMX_STATETYPE* state); 66 node_id node, OMX_U32 port_index, OMX_BOOL enable); [all …]
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyEffects.cpp | 393 size_t AudioPolicyEffects::readParamValue(cnode *node, in readParamValue() argument 398 if (strncmp(node->name, SHORT_TAG, sizeof(SHORT_TAG) + 1) == 0) { in readParamValue() 400 *(short *)((char *)param + pos) = (short)atoi(node->value); in readParamValue() 403 } else if (strncmp(node->name, INT_TAG, sizeof(INT_TAG) + 1) == 0) { in readParamValue() 405 *(int *)((char *)param + pos) = atoi(node->value); in readParamValue() 408 } else if (strncmp(node->name, FLOAT_TAG, sizeof(FLOAT_TAG) + 1) == 0) { in readParamValue() 410 *(float *)((char *)param + pos) = (float)atof(node->value); in readParamValue() 413 } else if (strncmp(node->name, BOOL_TAG, sizeof(BOOL_TAG) + 1) == 0) { in readParamValue() 415 if (strncmp(node->value, "false", strlen("false") + 1) == 0) { in readParamValue() 422 } else if (strncmp(node->name, STRING_TAG, sizeof(STRING_TAG) + 1) == 0) { in readParamValue() [all …]
|
/frameworks/av/include/media/ |
D | IOMX.h | 47 virtual bool livesLocally(node_id node, pid_t pid) = 0; 57 node_id *node) = 0; 59 virtual status_t freeNode(node_id node) = 0; 62 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) = 0; 65 node_id node, OMX_INDEXTYPE index, 69 node_id node, OMX_INDEXTYPE index, 73 node_id node, OMX_INDEXTYPE index, 77 node_id node, OMX_INDEXTYPE index, 81 node_id node, OMX_STATETYPE* state) = 0; 84 node_id node, OMX_U32 port_index, OMX_BOOL enable) = 0; [all …]
|
/frameworks/av/media/libmedia/ |
D | IOMX.cpp | 66 virtual bool livesLocally(node_id node, pid_t pid) { in livesLocally() argument 69 data.writeInt32((int32_t)node); in livesLocally() 99 const char *name, const sp<IOMXObserver> &observer, node_id *node) { in allocateNode() argument 108 *node = (node_id)reply.readInt32(); in allocateNode() 110 *node = 0; in allocateNode() 116 virtual status_t freeNode(node_id node) { in freeNode() argument 119 data.writeInt32((int32_t)node); in freeNode() 126 node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) { in sendCommand() argument 129 data.writeInt32((int32_t)node); in sendCommand() 138 node_id node, OMX_INDEXTYPE index, in getParameter() argument [all …]
|
/frameworks/av/media/libeffects/factory/ |
D | EffectsFactory.c | 55 static int loadEffect(cnode *node); 285 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2], in EffectCreate() 286 uuid->node[3],uuid->node[4],uuid->node[5]); in EffectCreate() 406 uuid->clockSeq, uuid->node[0], uuid->node[1],uuid->node[2], in EffectGetSubEffects() 407 uuid->node[3],uuid->node[4],uuid->node[5]); in EffectGetSubEffects() 485 cnode *node; in loadLibraries() local 487 node = config_find(root, LIBRARIES_TAG); in loadLibraries() 488 if (node == NULL) { in loadLibraries() 491 node = node->first_child; in loadLibraries() 492 while (node) { in loadLibraries() [all …]
|
/frameworks/compile/mclinker/include/mcld/ |
D | InputTree.h | 103 bfs_iterator it = bfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); in bfs_begin() 110 { return bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); } in bfs_end() 115 const_bfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); in bfs_begin() 122 { return const_bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); } in bfs_end() 126 dfs_iterator it = dfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); in dfs_begin() 133 { return dfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); } in dfs_end() 138 const_dfs_iterator(BinaryTreeBase<Input>::m_Root.node.left); in dfs_begin() 145 { return const_dfs_iterator(BinaryTreeBase<Input>::m_Root.node.right); } in dfs_end() 148 { return iterator(&(BinaryTreeBase<Input>::m_Root.node)); } in root() 155 const_cast<NodeBase*>(&BinaryTreeBase<Input>::m_Root.node)); in root() [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() 203 node.mChildren.add(child); in addURI() 204 node = child; in addURI() 207 node.mCode = code; in addURI() 225 UriMatcher node = this; 233 ArrayList<UriMatcher> list = node.mChildren; 237 node = null; 245 node = n; [all …]
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | ExploreByTouchHelper.java | 335 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(mView); in createNodeForHost() local 336 onInitializeAccessibilityNodeInfo(mView, node); in createNodeForHost() 349 node.addChild(mView, virtualViewIds.get(i)); in createNodeForHost() 352 return node; in createNodeForHost() 389 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(); in createNodeForChild() local 392 node.setEnabled(true); in createNodeForChild() 393 node.setClassName(DEFAULT_CLASS_NAME); in createNodeForChild() 394 node.setBoundsInParent(INVALID_PARENT_BOUNDS); in createNodeForChild() 397 onPopulateNodeForVirtualView(virtualViewId, node); in createNodeForChild() 400 if ((node.getText() == null) && (node.getContentDescription() == null)) { in createNodeForChild() [all …]
|
/frameworks/compile/mclinker/include/mcld/ADT/ |
D | BinTree.h | 283 NodeBase node; 288 node.left = node.right = &node; in TreeImpl() 302 if ((*data).left == &pClient.node) in summon() 303 (*data).left = &node; in summon() 304 if ((*data).right == &pClient.node) in summon() 305 (*data).right = &node; in summon() 319 result->left = result->right = &m_Root.node; in createNode() 391 { return bfs_iterator(BinaryTreeBase<DataType>::m_Root.node.left); } in bfs_begin() 394 { return bfs_iterator(BinaryTreeBase<DataType>::m_Root.node.right); } in bfs_end() 397 { return const_bfs_iterator(BinaryTreeBase<DataType>::m_Root.node.left); } in bfs_begin() [all …]
|
/frameworks/support/v4/java/android/support/v4/widget/ |
D | ExploreByTouchHelper.java | 335 final AccessibilityNodeInfoCompat node = AccessibilityNodeInfoCompat.obtain(mView); in createNodeForHost() local 336 ViewCompat.onInitializeAccessibilityNodeInfo(mView, node); in createNodeForHost() 343 node.addChild(mView, childVirtualViewId); in createNodeForHost() 346 return node; in createNodeForHost() 378 final AccessibilityNodeInfoCompat node = AccessibilityNodeInfoCompat.obtain(); in createNodeForChild() local 381 node.setEnabled(true); in createNodeForChild() 382 node.setClassName(DEFAULT_CLASS_NAME); in createNodeForChild() 385 onPopulateNodeForVirtualView(virtualViewId, node); in createNodeForChild() 388 if ((node.getText() == null) && (node.getContentDescription() == null)) { in createNodeForChild() 393 node.getBoundsInParent(mTempParentRect); in createNodeForChild() [all …]
|
/frameworks/base/libs/hwui/tests/ |
D | main.cpp | 41 static DisplayListRenderer* startRecording(RenderNode* node) { in startRecording() argument 43 renderer->setViewport(node->getWidth(), node->getHeight()); in startRecording() 48 static void endRecording(DisplayListRenderer* renderer, RenderNode* node) { in endRecording() argument 50 node->setStagingDisplayList(renderer->finishRecording()); in endRecording() 55 sp<RenderNode> node = new RenderNode(); in createCard() local 56 node->mutateStagingProperties().setLeftTopRightBottom(x, y, x + width, y + height); in createCard() 57 node->mutateStagingProperties().setElevation(dp(16)); in createCard() 58 node->mutateStagingProperties().mutableOutline().setRoundRect(0, 0, width, height, dp(10), 1); in createCard() 59 node->mutateStagingProperties().mutableOutline().setShouldClip(true); in createCard() 60 node->setPropertyFieldsDirty(RenderNode::X | RenderNode::Y | RenderNode::Z); in createCard() [all …]
|
/frameworks/compile/mclinker/lib/Core/ |
D | InputTree.cpp | 27 pMover.connect(pRoot, pTree.m_Root.node.right); in merge() 31 pTree.m_Root.node.left = pTree.m_Root.node.right = &pTree.m_Root.node; in merge() 39 NodeBase* node = createNode(); in enterGroup() local 40 pMover.connect(pRoot, node); in enterGroup() 48 BinaryTree<Input>::node_type* node = createNode(); in insert() local 49 node->data = &pInput; in insert() 50 pMover.connect(pRoot, node); in insert()
|
/frameworks/av/media/libstagefright/omx/tests/ |
D | OMXHarness.cpp | 74 IOMX::node_id node, omx_message *msg, int64_t timeoutUs) { in dequeueMessageForNode() argument 76 node, NULL, NULL, msg, timeoutUs); in dequeueMessageForNode() 121 IOMX::node_id node, in dequeueMessageForNodeIgnoringBuffers() argument 131 if ((*it).node == node) { in dequeueMessageForNodeIgnoringBuffers() 159 IOMX::node_id node, OMX_U32 portIndex, in getPortDefinition() argument 168 node, OMX_IndexParamPortDefinition, def, sizeof(*def)); in getPortDefinition() 181 IOMX::node_id node, OMX_U32 portIndex, in allocatePortBuffers() argument 186 status_t err = getPortDefinition(node, portIndex, &def); in allocatePortBuffers() 196 node, portIndex, buffer.mMemory, &buffer.mID); in allocatePortBuffers() 205 status_t Harness::setRole(IOMX::node_id node, const char *role) { in setRole() argument [all …]
|
/frameworks/native/libs/binder/ |
D | MemoryDealer.cpp | 62 void insertAfter(NODE* node, NODE* newNode) { in insertAfter() argument 63 newNode->prev = node; in insertAfter() 64 newNode->next = node->next; in insertAfter() 65 if (node->next == 0) mLast = newNode; in insertAfter() 66 else node->next->prev = newNode; in insertAfter() 67 node->next = newNode; in insertAfter() 70 void insertBefore(NODE* node, NODE* newNode) { in insertBefore() argument 71 newNode->prev = node->prev; in insertBefore() 72 newNode->next = node; in insertBefore() 73 if (node->prev == 0) mFirst = newNode; in insertBefore() [all …]
|
/frameworks/base/media/java/android/media/ |
D | TtmlRenderer.java | 230 private static void extractText(TtmlNode node, long startUs, long endUs, StringBuilder out, in extractText() argument 232 if (node.mName.equals(TtmlUtils.PCDATA) && inPTag) { in extractText() 233 out.append(node.mText); in extractText() 234 } else if (node.mName.equals(TtmlUtils.TAG_BR) && inPTag) { in extractText() 236 } else if (node.mName.equals(TtmlUtils.TAG_METADATA)) { in extractText() 238 } else if (node.isActive(startUs, endUs)) { in extractText() 239 boolean pTag = node.mName.equals(TtmlUtils.TAG_P); in extractText() 241 for (int i = 0; i < node.mChildren.size(); ++i) { in extractText() 242 extractText(node.mChildren.get(i), startUs, endUs, out, pTag || inPTag); in extractText() 263 private static void extractTtmlFragment(TtmlNode node, long startUs, long endUs, in extractTtmlFragment() argument [all …]
|
/frameworks/compile/libbcc/lib/Renderscript/ |
D | RSInfoExtractor.cpp | 71 llvm::MDNode *node = pMetadata->getOperand(i); in getMetadataStringLength() local 72 if ((node != NULL) && (node->getNumOperands() >= NumOperands)) { in getMetadataStringLength() 77 llvm::StringRef s = getStringFromOperand(node->getOperand(j)); in getMetadataStringLength() 181 llvm::MDNode *node; in ExtractFromSource() local 182 FOR_EACH_NODE_IN(pragma, node) { in ExtractFromSource() 183 llvm::StringRef key = getStringFromOperand(node->getOperand(0)); in ExtractFromSource() 184 llvm::StringRef val = getStringFromOperand(node->getOperand(1)); in ExtractFromSource() 200 llvm::MDNode *node; in ExtractFromSource() local 201 FOR_EACH_NODE_IN(export_var, node) { in ExtractFromSource() 202 llvm::StringRef name = getStringFromOperand(node->getOperand(0)); in ExtractFromSource() [all …]
|
/frameworks/base/tools/aapt/ |
D | XMLNode.cpp | 906 sp<XMLNode> node = mChildren.itemAt(i); in removeWhitespace() local 907 if (node->getType() == TYPE_CDATA) { in removeWhitespace() 909 const char16_t* p = node->mChars.string(); in removeWhitespace() 923 node->mChars = String16(" "); in removeWhitespace() 927 const char16_t* e = node->mChars.string()+node->mChars.size()-1; in removeWhitespace() 931 if (p > node->mChars.string()) { in removeWhitespace() 934 if (e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace() 937 if (p > node->mChars.string() || in removeWhitespace() 938 e < (node->mChars.string()+node->mChars.size()-1)) { in removeWhitespace() 940 node->mChars = tmp; in removeWhitespace() [all …]
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
D | PropertyNode.java | 128 PropertyNode node = (PropertyNode)obj; in equals() local 130 if (propName == null || !propName.equals(node.propName)) { in equals() 132 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) { in equals() 134 } else if (!paramMap_TYPE.equals(node.paramMap_TYPE)) { in equals() 136 } else if (!propGroupSet.equals(node.propGroupSet)) { in equals() 140 if (propValue_bytes != null && Arrays.equals(propValue_bytes, node.propValue_bytes)) { in equals() 143 if (!propValue.equals(node.propValue)) { in equals() 151 return (propValue_vector.equals(node.propValue_vector) || in equals() 153 node.propValue_vector.size() == 1); in equals()
|