/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
H A D | ConfigParsingUtils.cpp | 36 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 D | InputTreeTest.cpp | 68 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 D | FactoriesTest.cpp | 40 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 D | rsMap.h | 57 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 D | ProguardRules.cpp | 34 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 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_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 323 sendCommand( node_id node, OMX_COMMANDTYPE cmd, OMX_S32 param) argument 328 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 334 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 340 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument 346 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument 352 getState( node_id node, OMX_STATETYPE* state) argument 357 storeMetaDataInBuffers( node_id node, OMX_U32 port_index, OMX_BOOL enable, MetadataBufferType *type) argument 362 prepareForAdaptivePlayback( node_id node, OMX_U32 port_index, OMX_BOOL enable, OMX_U32 maxFrameWidth, OMX_U32 maxFrameHeight) argument 369 configureVideoTunnelMode( node_id node, OMX_U32 portIndex, OMX_BOOL enable, OMX_U32 audioHwSync, native_handle_t **sidebandHandle) argument 376 enableNativeBuffers( node_id node, OMX_U32 port_index, OMX_BOOL graphic, OMX_BOOL enable) argument 381 getGraphicBufferUsage( node_id node, OMX_U32 port_index, OMX_U32* usage) argument 386 useBuffer( node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, buffer_id *buffer, OMX_U32 allottedSize) argument 392 useGraphicBuffer( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id *buffer) argument 399 updateGraphicBufferInMeta( node_id node, OMX_U32 port_index, const sp<GraphicBuffer> &graphicBuffer, buffer_id buffer) argument 406 updateNativeHandleInMeta( node_id node, OMX_U32 port_index, const sp<NativeHandle> &nativeHandle, buffer_id buffer) argument 413 createInputSurface( node_id node, OMX_U32 port_index, android_dataspace dataSpace, sp<IGraphicBufferProducer> *bufferProducer, MetadataBufferType *type) argument 437 setInputSurface( node_id node, OMX_U32 port_index, const sp<IGraphicBufferConsumer> &bufferConsumer, MetadataBufferType *type) argument 443 signalEndOfInputStream(node_id node) argument 447 allocateSecureBuffer( node_id node, OMX_U32 port_index, size_t size, buffer_id *buffer, void **buffer_data, sp<NativeHandle> *native_handle) argument 454 allocateBufferWithBackup( node_id node, OMX_U32 port_index, const sp<IMemory> ¶ms, buffer_id *buffer, OMX_U32 allottedSize) argument 461 freeBuffer( node_id node, OMX_U32 port_index, buffer_id buffer) argument 466 fillBuffer(node_id node, buffer_id buffer, int fenceFd) argument 470 emptyBuffer( node_id node, buffer_id buffer, OMX_U32 range_offset, OMX_U32 range_length, OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) argument 479 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument 486 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 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_U3 [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 74 * 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 D | UiObject.java | 151 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 D | AccessibilityNodeInfoDumper.java | 47 * @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 D | AccessibilityNodeInfoHelper.java | 28 * 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/support/design/src/android/support/design/widget/ |
H A D | DirectedAcyclicGraph.java | 39 * Add a node to the graph. 41 * <p>If the node already exists in the graph then this method is a no-op.</p> 43 * @param node the node to add 45 void addNode(@NonNull T node) { argument 46 if (!mGraph.containsKey(node)) { 47 mGraph.put(node, null); 52 * Returns true if the node is already present in the graph, false otherwise. 54 boolean contains(@NonNull T node) { argument 55 return mGraph.containsKey(node); 67 addEdge(@onNull T node, @NonNull T incomingEdge) argument 89 getIncomingEdges(@onNull T node) argument 100 getOutgoingEdges(@onNull T node) argument 114 hasOutgoingEdges(@onNull T node) argument 158 dfs(final T node, final ArrayList<T> result, final HashSet<T> tmpMarked) argument [all...] |
/frameworks/opt/setupwizard/tools/docs/ |
H A D | jsilver.jar | META-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ... |
/frameworks/av/include/media/ |
H A 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_U3 213 IOMX::node_id node; member in struct:android::omx_message 264 isSecure(IOMX::node_id node) argument [all...] |
/frameworks/av/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 399 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 D | InputTree.cpp | 26 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 D | public_attr_map.py | 31 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/support/design/jvm-tests/src/android/support/design/widget/ |
H A D | DirectedAcyclicGraphTest.java | 47 final TestNode node = new TestNode("node"); 48 mGraph.addNode(node); 50 assertTrue(mGraph.contains(node)); 55 final TestNode node = new TestNode("node"); 56 mGraph.addNode(node); 57 mGraph.addNode(node); 60 assertTrue(mGraph.contains(node)); 65 final TestNode node [all...] |
/frameworks/base/core/java/android/content/ |
H A D | UriMatcher.java | 125 * 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/media/libstagefright/omx/ |
H A D | OMX.cpp | 42 // 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> ¶ms, 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> ¶ms, 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/av/services/audiopolicy/engineconfigurable/wrapper/ |
H A D | ParameterManagerWrapper.cpp | 142 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 D | SubscriptionParameters.java | 26 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 D | SubscriptionParameters.java | 26 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/compile/mclinker/include/mcld/ |
H A D | InputTree.h | 49 // 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 D | ExploreByTouchHelper.java | 49 /** 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...] |