/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 370 cnode *node = config_find(root, GLOBAL_CONFIG_TAG); local [all...] |
/frameworks/base/libs/hwui/tests/microbench/ |
H A D | RenderNodeBench.cpp | 26 auto node = new RenderNode(); local 27 node->incStrong(0); 28 benchmark::DoNotOptimize(node); 29 node->decStrong(0);
|
/frameworks/base/tools/incident_report/ |
H A D | generic_message.cpp | 30 Node node; local 31 node.type = TYPE_VALUE32; 32 node.value32 = value; 33 mNodes.insert(pair<int32_t,Node>(fieldId, node)); 39 Node node; local 40 node.type = TYPE_VALUE64; 41 node.value64 = value; 42 mNodes.insert(pair<int32_t,Node>(fieldId, node)); 49 Node node; local 50 node 59 Node node; 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 | 37 virtual void Visit(xml::Namespace* node) override { 38 for (const auto& child : node->children) { 43 virtual void Visit(xml::Element* node) override { 44 if (!node->namespace_uri.empty()) { 46 xml::ExtractPackageFromNamespace(node->namespace_uri); 49 std::string package = maybe_package.value().package + "." + node->name; 51 AddClass(node->line_number, package); 54 } else if (util::IsJavaClassName(node->name)) { 55 AddClass(node->line_number, node [all...] |
/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
H A D | RenderNodePerfTest.java | 38 final RenderNode node = RenderNode.create("benchmark", null); 42 node.setTranslationX(1.0f); 50 RenderNode node = RenderNode.create(null, null); 51 node.destroy(); 59 RenderNode node = RenderNode.create("LinearLayout", null); 60 node.destroy(); 67 RenderNode node = RenderNode.create("LinearLayout", null); 69 node.isValid(); 76 RenderNode node = RenderNode.create("LinearLayout", null); 78 DisplayListCanvas canvas = node [all...] |
H A D | CanvasPerfTest.java | 42 RenderNode node = RenderNode.create("benchmark", null); 46 DisplayListCanvas canvas = node.start(100, 100); 47 node.end(canvas); 53 canvas = node.start(200, 200); 63 node.end(canvas); 72 RenderNode node = RenderNode.create("benchmark", null); 74 DisplayListCanvas canvas = node.start(100, 100); 75 node.end(canvas); 81 canvas = node.start(100, 100); 93 node [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/services/audiopolicy/service/ |
H A D | AudioPolicyEffects.cpp | 405 size_t AudioPolicyEffects::readParamValue(cnode *node, argument 413 if (strncmp(node->name, SHORT_TAG, sizeof(SHORT_TAG) + 1) == 0) { 418 *(short *)(*param + pos) = (short)atoi(node->value); 421 } else if (strncmp(node->name, INT_TAG, sizeof(INT_TAG) + 1) == 0) { 426 *(int *)(*param + pos) = atoi(node->value); 429 } else if (strncmp(node->name, FLOAT_TAG, sizeof(FLOAT_TAG) + 1) == 0) { 434 *(float *)(*param + pos) = (float)atof(node->value); 437 } else if (strncmp(node->name, BOOL_TAG, sizeof(BOOL_TAG) + 1) == 0) { 442 if (strncmp(node->value, "true", strlen("true") + 1) == 0) { 450 } else if (strncmp(node 549 cnode *node = root->first_child; local 565 cnode *node = root->first_child; local 603 cnode *node = config_find(root, PREPROCESSING_TAG); local 630 cnode *node = config_find(root, OUTPUT_SESSION_PROCESSING_TAG); local 656 cnode *node = config_find(root, UUID_TAG); local 670 cnode *node = config_find(root, EFFECTS_TAG); local [all...] |
/frameworks/base/core/java/android/animation/ |
H A D | AnimatorSet.java | 79 * to a single node representing that Animator, not create a new Node 190 throw new AndroidRuntimeException("Error: animation ended is not in the node map"); 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 1159 pulseFrame(Node node, long animPlayTime) argument 1168 getPlayTimeForNode(long overallPlayTime, Node node) argument 1172 getPlayTimeForNode(long overallPlayTime, Node node, boolean inReverse) argument 1707 findSiblings(Node node, ArrayList<Node> siblings) argument 1827 addChild(Node node) argument 1837 addSibling(Node node) argument 1847 addParent(Node node) argument 1884 AnimationEvent(Node node, int event) argument [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/tools/ |
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/base/wifi/java/android/net/wifi/hotspot2/omadm/ |
H A D | PpsMoParser.java | 129 * Name for PerProviderSubscription node. 236 * Class representing a node within the PerProviderSubscription tree. 240 * A PPSNode can be an internal or a leaf node, but not both. 250 * @return the name of the node 257 * Applies for internal node only. 264 * Applies for leaf node only. 266 * @return the string value of the node 271 * @return a flag indicating if this is a leaf or an internal node 277 * Class representing a leaf node in a PPS (PerProviderSubscription) tree. 303 * Class representing an internal node i 412 parsePpsNode(XMLNode node) argument 476 parseUrn(XMLNode node) argument 533 buildPpsNode(XMLNode node) argument 590 getPpsNodeValue(PPSNode node) argument 652 parseHomeSP(PPSNode node) argument 716 parseNetworkIds(PPSNode node) argument 740 parseNetworkIdInstance(PPSNode node) argument 775 parseHomeOIList(PPSNode node) argument 804 parseHomeOIInstance(PPSNode node) argument 847 parseOtherHomePartners(PPSNode node) argument 869 parseOtherHomePartnerInstance(PPSNode node) argument 897 parseCredential(PPSNode node) argument 943 parseUserCredential(PPSNode node) argument 987 parseEAPMethod(PPSNode node, Credential.UserCredential userCred) argument 1024 parseCertificateCredential(PPSNode node) argument 1055 parseSimCredential(PPSNode node) argument 1084 parsePolicy(PPSNode node) argument 1126 parsePreferredRoamingPartnerList(PPSNode node) argument 1147 parsePreferredRoamingPartner(PPSNode node) argument 1198 parseMinBackhaulThreshold(PPSNode node, Policy policy) argument 1217 parseMinBackhaulThresholdInstance(PPSNode node, Policy policy) argument 1266 parseUpdateParameter(PPSNode node) argument 1318 parseUpdateUserCredential(PPSNode node) argument 1355 parseTrustRoot(PPSNode node) argument 1387 parseSpExclusionList(PPSNode node) argument 1406 parseSpExclusionInstance(PPSNode node) argument 1431 parseRequiredProtoPortTuple(PPSNode node) argument 1453 parseProtoPortTuple(PPSNode node) argument 1491 parseAAAServerTrustRootList(PPSNode node) argument 1512 parseSubscriptionParameter(PPSNode node, PasspointConfiguration config) argument 1547 parseUsageLimits(PPSNode node, PasspointConfiguration config) 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/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...] |