/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
H A D | Policy.java | 37 public Policy(OMANode node) throws OMAException { argument 39 OMANode rpNode = node.getChild(TAG_PreferredRoamingPartnerList); 46 throw new OMAException("Not expecting leaf node in " + 53 OMANode bhtNode = node.getChild(TAG_MinBackhaulThreshold); 60 throw new OMAException("Not expecting leaf node in " + 67 mPolicyUpdate = new UpdateInfo(node.getChild(TAG_PolicyUpdate)); 69 OMANode sxNode = node.getChild(TAG_SPExclusionList); 76 throw new OMAException("Not expecting leaf node in " + TAG_SPExclusionList); 82 OMANode rptNode = node.getChild(TAG_RequiredProtoPortTuple); 89 throw new OMAException("Not expecting leaf node i 139 PreferredRoamingPartner(OMANode node) argument 168 MinBackhaul(OMANode node) argument [all...] |
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/ |
H A D | SdkUtil.java | 108 Node node = allClasses.item(j); 109 if (node.getNodeType() != Node.ELEMENT_NODE || !"class" 110 .equals(node.getNodeName())) { 113 //L.d("checking node %s", node.getAttributes().getNamedItem("name").getNodeValue()); 114 int classSince = getSince(node); 115 String classDesc = node.getAttributes().getNamedItem("name").getNodeValue(); 117 final NodeList childNodes = node.getChildNodes(); 153 private static int getSince(Node node) { argument 154 final Node since = node [all...] |
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/ |
H A D | XMLParserBaseListener.java | 128 @Override public void visitTerminal(TerminalNode node) { } argument 134 @Override public void visitErrorNode(ErrorNode node) { } argument
|
/frameworks/native/vulkan/libvulkan/ |
H A D | debug_report.h | 48 void RemoveCallback(Node* node, const VkAllocationCallbacks& allocator); 62 static VkDebugReportCallbackEXT GetHandle(const Node* node) { argument 63 return VkDebugReportCallbackEXT(reinterpret_cast<uintptr_t>(node)); 66 static VkDebugReportCallbackEXT GetDriverHandle(const Node* node) { argument 67 return node->driver_handle;
|
H A D | debug_report.cpp | 32 // initialize and prepend node to the list 41 Node* node, 43 // remove node from the list 47 while (prev && prev->next != node) 50 prev->next = node->next; 53 allocator.pfnFree(allocator.pUserData, node); 64 const Node* node = &head_; local 65 while ((node = node->next)) { 66 if ((node 40 RemoveCallback( Node* node, const VkAllocationCallbacks& allocator) argument 132 auto node = callbacks.AddCallback( local 156 auto node = callbacks.FromHandle(callback); local [all...] |
/frameworks/support/core-ui/tests/java/android/support/v4/widget/ |
H A D | ExploreByTouchHelperTest.java | 62 final AccessibilityNodeInfoCompat node = 64 assertNotNull(node); 71 node.getBoundsInParent(nodeBoundsInParent); 76 node.getBoundsInScreen(nodeBoundsInScreen); 83 // Generate a node for the new position. 136 protected void onPopulateNodeForVirtualView(int virtualViewId, AccessibilityNodeInfoCompat node) { argument 138 node.setContentDescription("test"); 141 node.setBoundsInParent(hostBounds);
|
/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/base/libs/hwui/ |
H A D | AnimationContext.cpp | 46 void AnimationContext::addAnimatingRenderNode(RenderNode& node) { argument 47 if (!node.animators().hasAnimationHandle()) { 48 AnimationHandle* handle = new AnimationHandle(node, *this);
|
H A D | DisplayList.h | 122 virtual bool reuseDisplayList(RenderNode* node, renderthread::CanvasContext* context) { argument
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
H A D | OMAConstructed.java | 41 throw new IOException("No child node '" + element + "' in " + getPathString()); 43 throw new IOException("Cannot add child to leaf node: " + getPathString()); 111 public OMANode removeNode(String key, OMANode node) { argument 113 return mChildren.remove(node); 115 return mChildren.remove(key, node); 132 for (OMANode node : mChildren.values()) { 133 node.toString(sb, level + 1);
|
H A D | MOTree.java | 30 public MOTree(XMLNode node, String urn) throws IOException, SAXException { argument 31 Iterator<XMLNode> children = node.getChildren().iterator(); 47 mRoot = new MgmtTreeRoot(node, dtdRev); 49 for (XMLNode child : node.getChildren()) { 117 private static void buildNode(OMANode parent, XMLNode node) throws IOException { argument 118 if (!node.getTag().equals(NodeTag)) 119 throw new IOException("Node is a '" + node.getTag() + "' instead of a 'Node'"); 128 for (XMLNode child : node.getChildren()) { 146 throw new IOException(ValueTag + " in constructed node"); 166 throw new IOException("Scalar node " 194 getNextNode(XMLNode node, String tag) argument [all...] |
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/ |
H A D | AssistVisualizer.java | 47 TextEntry(AssistStructure.ViewNode node, int parentLeft, int parentTop, Matrix matrix) { argument 48 int left = parentLeft+node.getLeft(); 49 int top = parentTop+node.getTop(); 50 bounds = new Rect(left, top, left+node.getWidth(), top+node.getHeight()); 54 this.className = node.getClassName(); 55 this.textSize = node.getTextSize(); 56 this.textColor = node.getTextColor(); 57 this.text = node.getText() != null ? node [all...] |
/frameworks/base/tools/aapt2/ |
H A D | DominatorTree_test.cpp | 49 void VisitConfig(const DominatorTree::Node* node, const int indent) { argument 50 auto config_string = node->value()->config.toString(); 56 void VisitNode(const DominatorTree::Node* node, const int indent) { argument 57 VisitConfig(node, indent); 58 for (const auto& child : node->children()) {
|
/frameworks/base/tools/aapt2/compile/ |
H A D | InlineXmlFormatParser.cpp | 150 // Make sure there is one root node in the children (ignore empty text). 172 xml::Node* node = decl.el; local 174 while (node->parent && 175 (parent_el = xml::NodeCast<xml::Element>(node->parent)) == nullptr) { 176 node = node->parent; 194 if (iter->get() == node) {
|
/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/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/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...] |
/frameworks/base/libs/hwui/renderthread/ |
H A D | CanvasContext.h | 73 * attached to the node will be specific to the RenderPipeline used by this 78 bool createOrUpdateLayer(RenderNode* node, const DamageAccumulator& dmgAccumulator) { argument 79 return mRenderPipeline->createOrUpdateLayer(node, dmgAccumulator); 106 static void destroyLayer(RenderNode* node); 139 void prepareAndDraw(RenderNode* node); 141 void buildLayer(RenderNode* node); 143 void markLayerInUse(RenderNode* node); 162 void addRenderNode(RenderNode* node, bool placeFront); 163 void removeRenderNode(RenderNode* node);
|
/frameworks/base/libs/hwui/tests/unit/ |
H A D | BakedOpDispatcherTests.cpp | 161 auto node = TestUtils::createNode<RecordingCanvas>(0, 0, 100, 100, local 190 frameBuilder.deferRenderNode(*TestUtils::getSyncedNode(node)); 198 auto node = TestUtils::createNode<RecordingCanvas>(0, 0, 100, 100, local 206 OffscreenBuffer** layerHandle = node->getLayerHandle(); 208 auto syncedNode = TestUtils::getSyncedNode(node); 215 layerUpdateQueue.enqueueLayerWithDamage(node.get(), Rect(0, 0, 100, 100));
|
/frameworks/base/libs/hwui/utils/ |
H A D | LinearAllocator.cpp | 124 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 D | XmlFlattener.cpp | 78 void Visit(xml::Namespace* node) override { 79 if (node->namespace_uri == xml::kSchemaTools) { 81 xml::Visitor::Visit(node); 83 WriteNamespace(node, android::RES_XML_START_NAMESPACE_TYPE); 84 xml::Visitor::Visit(node); 85 WriteNamespace(node, android::RES_XML_END_NAMESPACE_TYPE); 89 void Visit(xml::Text* node) override { 90 if (util::TrimWhitespace(node->text).empty()) { 98 flat_node->lineNumber = util::HostToDevice32(node->line_number); 105 builder.Append(node 176 WriteNamespace(xml::Namespace* node, uint16_t type) argument 191 WriteAttributes(xml::Element* node, ResXMLTree_attrExt* flat_elem, ChunkWriter* writer) argument 297 Flatten(IAaptContext* context, xml::Node* node) argument [all...] |
/frameworks/base/tools/aapt2/xml/ |
H A D | XmlDom.h | 74 * A Namespace XML node. Can only have one child. 106 * An Element XML node. 128 * A Text (CDATA) XML node. Can not have any children. 154 * Returns the root node on success, or nullptr on failure. 160 * Returns the root node on success, or nullptr on failure. 166 Element* FindRootElement(Node* node); 177 virtual void Visit(Namespace* node) {} argument 178 virtual void Visit(Element* node) {} argument 183 * Visitor whose default implementation visits the children nodes of any node. 189 void Visit(Namespace* node) overrid variable 191 void Visit(Element* node) override { VisitChildren(node); } variable 195 VisitChildren(Node* node) argument 240 NodeCast(Node* node) argument [all...] |
/frameworks/base/tools/incident_report/ |
H A D | main.cpp | 131 print_value(Out* out, FieldDescriptor const* field, GenericMessage::Node const& node) argument 136 switch (node.type) { 140 out->printf("%u", node.value32); 143 out->printf("%d", node.value32); 146 out->printf("%f", *(float*)&node.value32); 149 out->printf("(unexpected value %d (0x%x)", node.value32, node.value32); 158 out->printf("%f", *(double*)&node.value64); 162 val32 = (uint32_t)node.value32; 167 val32 = (uint32_t)node [all...] |
/frameworks/compile/libbcc/lib/ |
H A D | Source.cpp | 72 bccAssert(wrapperMDNode->getNumOperands() == 0); // expect to have just now created this node 231 llvm::NamedMDNode *node = local 233 node->addOperand(llvm::MDNode::get(context, val));
|
/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...] |