Searched refs:node (Results 1 - 25 of 143) sorted by relevance

123456

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DConfigParsingUtils.cpp36 cnode *node = root->first_child; local
40 while (node) {
41 if (strcmp(node->name, GAIN_MODE) == 0) {
42 gain->setMode(GainModeConverter::maskFromString(node->value));
43 } else if (strcmp(node->name, GAIN_CHANNELS) == 0) {
46 if (InputChannelConverter::fromString(node->value, mask)) {
50 if (OutputChannelConverter::fromString(node->value, mask)) {
54 } else if (strcmp(node->name, GAIN_MIN_VALUE) == 0) {
55 gain->setMinValueInMb(atoi(node->value));
56 } else if (strcmp(node
82 cnode *node = root->first_child; local
103 cnode *node = root->first_child; local
153 cnode *node = root->first_child; local
225 cnode *node = config_find(root, DEVICES_TAG); local
271 cnode *node = config_find(root, AUDIO_HW_MODULE_TAG); local
323 cnode *node = config_find(root, GLOBAL_CONFIG_TAG); local
371 cnode *node = config_find(root, GLOBAL_CONFIG_TAG); local
[all...]
/frameworks/compile/mclinker/unittests/
H A DInputTreeTest.cpp68 InputTree::iterator node = m_pTestee->root(); local
69 InputTree::const_iterator const_node = node;
70 --node;
73 ASSERT_TRUE(isGroup(node));
78 --node;
80 m_pTestee->enterGroup(node, InputTree::Downward);
82 InputTree::const_iterator const_node2 = node;
84 ASSERT_FALSE(node.isRoot());
86 ASSERT_FALSE(isGroup(node));
95 InputTree::iterator node local
120 InputTree::iterator node = m_pTestee->root(); local
139 InputTree::iterator node = m_pTestee->root(); local
[all...]
H A DFactoriesTest.cpp40 NodeAlloc::NodeType* node = m_pNodeAlloc->produce(); local
43 node = m_pNodeAlloc->produce();
46 node = m_pNodeAlloc->produce();
52 NodeAlloc::NodeType* node = 0; local
54 node = m_pNodeAlloc->produce();
55 node->data = (int*)malloc(sizeof(int));
56 *(node->data) = i;
71 NodeAlloc::NodeType* node = 0; local
73 node = m_pNodeAlloc->produce();
74 node
93 NodeAlloc::NodeType* node = 0; local
117 NodeAlloc::NodeType* node = 0; local
153 NodeAlloc::NodeType* node = 0; local
[all...]
/frameworks/rs/
H A DrsMap.h57 LinkNode* node = bucket[index]; local
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
122 LinkNode* node; member in class:android::renderscript::Map::iterator
128 LinkNode* node = bucket[i]; local
145 LinkNode* node = bucket[index]; local
[all...]
/frameworks/base/tools/aapt2/java/
H A DProguardRules.cpp34 virtual void visit(xml::Namespace* node) override {
35 for (const auto& child : node->children) {
40 virtual void visit(xml::Element* node) override {
41 if (!node->namespaceUri.empty()) {
43 node->namespaceUri);
46 std::u16string package = maybePackage.value().package + u"." + node->name;
48 addClass(node->lineNumber, package);
51 } else if (util::isJavaClassName(node->name)) {
52 addClass(node->lineNumber, node
[all...]
/frameworks/av/media/libstagefright/
H A DOMXClient.cpp52 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_U3
255 livesLocally(node_id node, pid_t pid) argument
269 allocateNode( const char *name, const sp<IOMXObserver> &observer, sp<IBinder> *nodeBinder, node_id *node) argument
303 freeNode(node_id node) argument
317 sendCommand( node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) argument
322 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
328 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
334 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
340 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
346 getState( node_id node, OMX_STATETYPE* state) argument
351 storeMetaDataInBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable, MetadataBufferType *type) argument
356 prepareForAdaptivePlayback( node_id node, OMX_U32 port_index, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight) argument
363 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument
370 enableNativeBuffers( node_id node, OMX_U32 port_index, OMX_BOOL graphic, OMX_BOOL enable) argument
375 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument
380 useBuffer( node_id node, OMX_U32 port_index, const sp<IMemory> &params, buffer_id *buffer, OMX_U32 allottedSize) argument
386 useGraphicBuffer( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) argument
393 updateGraphicBufferInMeta( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) argument
400 updateNativeHandleInMeta( node_id node, OMX_U32 port_index, const sp<NativeHandle> &nativeHandle, buffer_id buffer) argument
407 createInputSurface( node_id node, OMX_U32 port_index, android_dataspace dataSpace, sp<IGraphicBufferProducer> *bufferProducer, MetadataBufferType *type) argument
431 setInputSurface( node_id node, OMX_U32 port_index, const sp<IGraphicBufferConsumer> &bufferConsumer, MetadataBufferType *type) argument
437 signalEndOfInputStream(node_id node) argument
441 allocateSecureBuffer( node_id node, OMX_U32 port_index, size_t size, buffer_id *buffer, void **buffer_data, sp<NativeHandle> *native_handle) argument
448 allocateBufferWithBackup( node_id node, OMX_U32 port_index, const sp<IMemory> &params, buffer_id *buffer, OMX_U32 allottedSize) argument
455 freeBuffer( node_id node, OMX_U32 port_index, buffer_id buffer) argument
460 fillBuffer(node_id node, buffer_id buffer, int fenceFd) argument
464 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument
473 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument
480 setInternalOption( node_id node, OMX_U32 port_index, InternalOptionType type, const void *data, size_t size) argument
[all...]
/frameworks/av/media/libstagefright/include/
H A DOMX.h34 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_U3
[all...]
/frameworks/base/core/java/android/animation/
H A DAnimatorSet.java74 * to a single node representing that Animator, not create a new Node
248 Node node = mNodes.get(i);
249 if (node != mRootNode) {
250 childList.add(node.mAnimation);
267 Node node = mNodes.get(i);
268 Animator animation = node.mAnimation;
415 Node node = mNodeMap.get(anim);
416 if (node.mChildNodes != null) {
417 int childSize = node.mChildNodes.size();
419 Node child = node
674 start(final Node node) argument
1052 findSiblings(Node node, ArrayList<Node> siblings) argument
1177 addChild(Node node) argument
1187 addSibling(Node node) argument
1197 addParent(Node node) argument
[all...]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
H A DUiObject.java151 AccessibilityNodeInfo node = findAccessibilityNodeInfo(mConfig.getWaitForSelectorTimeout());
152 if(node == null) {
155 return node.getChildCount();
167 AccessibilityNodeInfo node = null;
171 node = getQueryController().findAccessibilityNodeInfo(getSelector());
172 if (node != null) {
183 return node;
335 * @param node
336 * @return null if node is null, else a Rect containing visible bounds
338 private Rect getVisibleBounds(AccessibilityNodeInfo node) { argument
376 getScrollableParent(AccessibilityNodeInfo node) argument
[all...]
H A DAccessibilityNodeInfoDumper.java47 * @param root The root accessibility node.
69 * @param root The root accessibility node.
101 private static void dumpNodeRec(AccessibilityNodeInfo node, XmlSerializer serializer,int index, argument
103 serializer.startTag("", "node");
104 if (!nafExcludedClass(node) && !nafCheck(node))
107 serializer.attribute("", "text", safeCharSeqToString(node.getText()));
108 serializer.attribute("", "resource-id", safeCharSeqToString(node.getViewIdResourceName()));
109 serializer.attribute("", "class", safeCharSeqToString(node.getClassName()));
110 serializer.attribute("", "package", safeCharSeqToString(node
150 nafExcludedClass(AccessibilityNodeInfo node) argument
169 nafCheck(AccessibilityNodeInfo node) argument
195 childNafCheck(AccessibilityNodeInfo node) argument
[all...]
H A DAccessibilityNodeInfoHelper.java28 * Returns the node's bounds clipped to the size of the display
30 * @param node
33 * @return null if node is null, else a Rect containing visible bounds
35 static Rect getVisibleBoundsInScreen(AccessibilityNodeInfo node, int width, int height) { argument
36 if (node == null) {
39 // targeted node's bounds
41 node.getBoundsInScreen(nodeRect);
/frameworks/opt/setupwizard/tools/docs/
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/av/include/media/
H A DIOMX.h53 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_U3
212 IOMX::node_id node; member in struct:android::omx_message
263 isSecure(IOMX::node_id node) argument
[all...]
/frameworks/av/services/audiopolicy/service/
H A DAudioPolicyEffects.cpp399 size_t AudioPolicyEffects::readParamValue(cnode *node, argument
407 if (strncmp(node->name, SHORT_TAG, sizeof(SHORT_TAG) + 1) == 0) {
412 *(short *)(*param + pos) = (short)atoi(node->value);
415 } else if (strncmp(node->name, INT_TAG, sizeof(INT_TAG) + 1) == 0) {
420 *(int *)(*param + pos) = atoi(node->value);
423 } else if (strncmp(node->name, FLOAT_TAG, sizeof(FLOAT_TAG) + 1) == 0) {
428 *(float *)(*param + pos) = (float)atof(node->value);
431 } else if (strncmp(node->name, BOOL_TAG, sizeof(BOOL_TAG) + 1) == 0) {
436 if (strncmp(node->value, "true", strlen("true") + 1) == 0) {
444 } else if (strncmp(node
543 cnode *node = root->first_child; local
559 cnode *node = root->first_child; local
597 cnode *node = config_find(root, PREPROCESSING_TAG); local
624 cnode *node = config_find(root, OUTPUT_SESSION_PROCESSING_TAG); local
650 cnode *node = config_find(root, UUID_TAG); local
664 cnode *node = config_find(root, EFFECTS_TAG); local
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DInputTree.cpp26 pMover.connect(pRoot, pTree.m_Root.node.right);
29 pTree.m_Root.node.left = pTree.m_Root.node.right = &pTree.m_Root.node;
36 NodeBase* node = createNode(); local
37 pMover.connect(pRoot, node);
44 BinaryTree<Input>::node_type* node = createNode(); local
45 node->data = &pInput;
46 pMover.connect(pRoot, node);
/frameworks/base/tools/aapt2/
H A Dpublic_attr_map.py31 for node in tree.iter('public'):
32 if node.get('type') == 'attr':
33 sdkLevel = findSdkLevelForAttribute(node.get('id', '0'))
35 attrs.append("{{ u\"{}\", {} }}".format(node.get('name'), sdkLevel))
/frameworks/base/core/java/android/content/
H A DUriMatcher.java125 * Creates the root node of the URI tree.
177 UriMatcher node = this;
180 ArrayList<UriMatcher> children = node.mChildren;
187 node = child;
202 node.mChildren.add(child);
203 node = child;
206 node.mCode = code;
214 * @return The code for the matched node (added using addURI),
215 * or -1 if there is no matched node.
222 UriMatcher node
[all...]
/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp142 cnode *node; local
143 for (node = root->first_child; node != NULL; node = node->next) {
145 ALOG_ASSERT(node != NULL, "error in parsing file");
146 const char *typeName = node->name;
147 char *valueNames = strndup(node->value, strlen(node->value));
187 cnode *node local
197 cnode *node = config_find(root, gExclusiveCriterionTypeTag.c_str()); local
207 cnode *node; local
242 cnode *node = config_find(root, gCriterionTag.c_str()); local
295 cnode *node = config_find(root, gPolicyConfTag.c_str()); local
[all...]
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
H A DSubscriptionParameters.java26 public SubscriptionParameters(OMANode node) throws OMAException { argument
27 mCDate = MOManager.getTime(node.getChild(TAG_CreationDate));
28 mXDate = MOManager.getTime(node.getChild(TAG_ExpirationDate));
29 mType = MOManager.getString(node.getChild(TAG_TypeOfSubscription));
31 OMANode ulNode = node.getChild(TAG_UsageLimits);
38 throw new OMAException("Not expecting leaf node in " +
53 private Limit(OMANode node) throws OMAException { argument
54 mDataLimit = MOManager.getLong(node, TAG_DataLimit, Long.MAX_VALUE);
55 mStartDate = MOManager.getTime(node.getChild(TAG_StartDate));
56 mTimeLimit = MOManager.getLong(node, TAG_TimeLimi
[all...]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/
H A DSubscriptionParameters.java26 public SubscriptionParameters(OMANode node) throws OMAException { argument
27 mCDate = PasspointManagementObjectManager.getTime(node.getChild(TAG_CreationDate));
28 mXDate = PasspointManagementObjectManager.getTime(node.getChild(TAG_ExpirationDate));
29 mType = PasspointManagementObjectManager.getString(node.getChild(TAG_TypeOfSubscription));
31 OMANode ulNode = node.getChild(TAG_UsageLimits);
39 throw new OMAException("Not expecting leaf node in " +
54 private Limit(OMANode node) throws OMAException { argument
56 .getLong(node, TAG_DataLimit, Long.MAX_VALUE);
58 .getTime(node.getChild(TAG_StartDate));
60 .getLong(node, TAG_TimeLimi
[all...]
/frameworks/av/media/libstagefright/omx/
H A DOMX.cpp42 // node ids are created by concatenating the pid with a 16-bit counter
132 ALOGV("Would have dispatched a message to a node that's already gone.");
206 bool OMX::isSecure(node_id node) { argument
207 OMXNodeInstance *instance = findInstance(node);
211 bool OMX::livesLocally(node_id /* node */, pid_t pid) {
245 sp<IBinder> *nodeBinder, node_id *node) {
248 *node = 0;
254 // all possible node IDs are in use
273 *node = makeNodeID_l(instance);
274 mDispatchers.add(*node, ne
243 allocateNode( const char *name, const sp<IOMXObserver> &observer, sp<IBinder> *nodeBinder, node_id *node) argument
284 freeNode(node_id node) argument
316 sendCommand( node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) argument
327 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
341 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
355 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
368 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
381 getState( node_id node, OMX_STATETYPE* state) argument
393 enableNativeBuffers( node_id node, OMX_U32 port_index, OMX_BOOL graphic, OMX_BOOL enable) argument
404 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument
415 storeMetaDataInBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable, MetadataBufferType *type) argument
426 prepareForAdaptivePlayback( node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight) argument
439 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL tunneled, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument
452 useBuffer( node_id node, OMX_U32 port_index, const sp<IMemory> &params, buffer_id *buffer, OMX_U32 allottedSize) argument
465 useGraphicBuffer( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) argument
478 updateGraphicBufferInMeta( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) argument
491 updateNativeHandleInMeta( node_id node, OMX_U32 port_index, const sp<NativeHandle> &nativeHandle, buffer_id buffer) argument
504 createInputSurface( node_id node, OMX_U32 port_index, android_dataspace dataSpace, sp<IGraphicBufferProducer> *bufferProducer, MetadataBufferType *type) argument
524 setInputSurface( node_id node, OMX_U32 port_index, const sp<IGraphicBufferConsumer> &bufferConsumer, MetadataBufferType *type) argument
537 signalEndOfInputStream(node_id node) argument
547 allocateSecureBuffer( node_id node, OMX_U32 port_index, size_t size, buffer_id *buffer, void **buffer_data, sp<NativeHandle> *native_handle) argument
560 allocateBufferWithBackup( node_id node, OMX_U32 port_index, const sp<IMemory> &params, buffer_id *buffer, OMX_U32 allottedSize) argument
573 freeBuffer(node_id node, OMX_U32 port_index, buffer_id buffer) argument
584 fillBuffer(node_id node, buffer_id buffer, int fenceFd) argument
594 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument
609 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument
623 setInternalOption( node_id node, OMX_U32 port_index, InternalOptionType type, const void *data, size_t size) argument
638 OnEvent( node_id node, OMX_IN OMX_EVENTTYPE eEvent, OMX_IN OMX_U32 nData1, OMX_IN OMX_U32 nData2, OMX_IN OMX_PTR pEventData) argument
690 OnEmptyBufferDone( node_id node, buffer_id buffer, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer, int fenceFd) argument
705 OnFillBufferDone( node_id node, buffer_id buffer, OMX_IN OMX_BUFFERHEADERTYPE *pBuffer, int fenceFd) argument
728 node_id node = 0; local
740 findInstance(node_id node) argument
748 findDispatcher(node_id node) argument
756 invalidateNodeID(node_id node) argument
761 invalidateNodeID_l(node_id node) argument
[all...]
/frameworks/compile/mclinker/include/mcld/
H A DInputTree.h49 // skip the Group node
58 // skip the Group node
100 bfs_iterator it = bfs_iterator(BinaryTreeBase<Input>::m_Root.node.left);
107 return bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right);
112 const_bfs_iterator(BinaryTreeBase<Input>::m_Root.node.left);
119 return const_bfs_iterator(BinaryTreeBase<Input>::m_Root.node.right);
123 dfs_iterator it = dfs_iterator(BinaryTreeBase<Input>::m_Root.node.left);
130 return dfs_iterator(BinaryTreeBase<Input>::m_Root.node.right);
135 const_dfs_iterator(BinaryTreeBase<Input>::m_Root.node.left);
142 return const_dfs_iterator(BinaryTreeBase<Input>::m_Root.node
177 node_type* node = BinaryTreeBase<Input>::createNode(); local
302 BinTreeTy::node_type* node = createNode(); local
315 BinTreeTy::node_type* node = createNode(); local
[all...]
/frameworks/base/core/java/com/android/internal/widget/
H A DExploreByTouchHelper.java49 /** Virtual node identifier value for invalid nodes. */
52 /** Virtual node identifier value for the host view's node. */
110 * @return The accessibility node provider for this helper.
301 * Constructs and returns an {@link AccessibilityEvent} for the host node.
354 * construct a node.
371 * @return An {@link AccessibilityNodeInfo} for the parent node.
374 final AccessibilityNodeInfo node = AccessibilityNodeInfo.obtain(mView);
375 mView.onInitializeAccessibilityNodeInfo(node);
376 final int realNodeCount = node
772 onPopulateNodeForVirtualView( int virtualViewId, AccessibilityNodeInfo node) argument
783 onPopulateNodeForHost(AccessibilityNodeInfo node) argument
[all...]
/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.cpp124 auto node = mDtorList; local
125 mDtorList = node->next;
126 node->dtor(node->addr);
195 auto node = new (allocImpl(sizeof(DestructorNode))) DestructorNode(); local
196 node->dtor = dtor;
197 node->addr = addr;
198 node->next = mDtorList;
199 mDtorList = node;
203 auto node local
[all...]
/frameworks/base/tools/aapt2/flatten/
H A DXmlFlattener.cpp74 void writeNamespace(xml::Namespace* node, uint16_t type) { argument
78 flatNode->lineNumber = util::hostToDevice32(node->lineNumber);
82 addString(node->namespacePrefix, kLowPriority, &flatNs->prefix);
83 addString(node->namespaceUri, kLowPriority, &flatNs->uri);
88 void visit(xml::Namespace* node) override {
89 writeNamespace(node, android::RES_XML_START_NAMESPACE_TYPE);
90 xml::Visitor::visit(node);
91 writeNamespace(node, android::RES_XML_END_NAMESPACE_TYPE);
94 void visit(xml::Text* node) override {
95 if (util::trimWhitespace(node
165 writeAttributes(xml::Element* node, ResXMLTree_attrExt* flatElem, ChunkWriter* writer) argument
256 flatten(IAaptContext* context, xml::Node* node) argument
[all...]

Completed in 587 milliseconds

123456