/aosp12/frameworks/base/tools/aapt/ |
H A D | XMLNode.h | 15 class XMLNode; variable 39 class XMLNode : public RefBase 56 return new XMLNode(filename); in newCData() 73 Vector<sp<XMLNode> >& getChildren(); 116 status_t addChild(const sp<XMLNode>& child); 146 sp<XMLNode> clone() const; 155 sp<XMLNode> root; 156 Vector<sp<XMLNode> > stack; 175 XMLNode(); 181 explicit XMLNode(const String8& filename); [all …]
|
H A D | XMLNode.cpp | 555 sp<XMLNode> root = XMLNode::parse(file); in parseXMLResource() 583 sp<XMLNode> XMLNode::parse(const sp<AaptFile>& file) in parse() 629 XMLNode::XMLNode() in XMLNode() function in XMLNode 651 XMLNode::XMLNode(const String8& filename) in XMLNode() function in XMLNode 657 XMLNode::type XMLNode::getType() const in getType() 688 const Vector<sp<XMLNode> >& XMLNode::getChildren() const in getChildren() 694 Vector<sp<XMLNode> >& XMLNode::getChildren() in getChildren() 800 status_t XMLNode::addChild(const sp<XMLNode>& child) in addChild() 1065 sp<XMLNode> XMLNode::clone() const { in clone() 1066 sp<XMLNode> copy = new XMLNode(); in clone() [all …]
|
H A D | Resource.cpp | 710 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute() 749 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute() 757 XMLNode::attribute_entry* attr = node->editAttribute( in fullyQualifyClassName() 983 … Vector<sp<XMLNode> >& children = const_cast<Vector<sp<XMLNode> >&>(application->getChildren()); in massageManifest() 985 sp<XMLNode> child = children.editItemAt(i); in massageManifest() 1001 Vector<sp<XMLNode> >& children = const_cast<Vector<sp<XMLNode> >&>(root->getChildren()); in massageManifest() 1003 sp<XMLNode> child = children.editItemAt(i); in massageManifest() 1204 sp<XMLNode> root = XMLNode::newNamespace(filename, androidPrefix, androidNSUri); in generateAndroidManifestForSplit() 1207 sp<XMLNode> manifest = XMLNode::newElement(filename, String16(), String16("manifest")); in generateAndroidManifestForSplit() 1237 sp<XMLNode> app = XMLNode::newElement(filename, String16(), String16("application")); in generateAndroidManifestForSplit() [all …]
|
H A D | ResourceTable.h | 20 class XMLNode; variable 55 const sp<XMLNode>& xmlTree, 87 sp<XMLNode> xmlRoot; 207 const sp<AaptFile>& file, const sp<XMLNode>& root); 213 const sp<XMLNode>& root); 218 const sp<XMLNode>& parent); 621 const sp<XMLNode>& parent, 622 Vector<sp<XMLNode> >* namespaces);
|
H A D | ResourceTable.cpp | 46 sp<XMLNode> root = XMLNode::parse(target); in compileXmlFile() 62 sp<XMLNode> root = XMLNode::parse(target); in compileXmlFile() 73 const sp<XMLNode>& root, in compileXmlFile() 4771 XMLNode* node = root.get(); in versionForCompat() 4864 sp<XMLNode> newRoot = NULL; in modifyForCompat() 4867 Vector<sp<XMLNode> > nodesToVisit; in modifyForCompat() 4870 sp<XMLNode> node = nodesToVisit.top(); in modifyForCompat() 5028 static sp<XMLNode> findOnlyChildElement(const sp<XMLNode>& parent) { in findOnlyChildElement() 5030 sp<XMLNode> onlyChild; in findOnlyChildElement() 5079 Vector<sp<XMLNode> > namespaces; in processBundleFormat() [all …]
|
H A D | Android.bp | 112 "XMLNode.cpp",
|
/aosp12/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/omadm/ |
H A D | XMLNode.java | 31 public class XMLNode { class 33 private final List<XMLNode> mChildren; 34 private final XMLNode mParent; 38 public XMLNode(XMLNode parent, String tag) { in XMLNode() method in XMLNode 60 public void addChild(XMLNode child) { in addChild() 78 public XMLNode getParent() { in getParent() 86 public List<XMLNode> getChildren() { in getChildren() 95 if (!(thatObject instanceof XMLNode)) { in equals() 98 XMLNode that = (XMLNode) thatObject; in equals()
|
H A D | XMLParser.java | 56 private XMLNode mRoot = null; 57 private XMLNode mCurrent = null; 59 public XMLNode parse(String text) throws IOException, SAXException { in parse() 80 XMLNode parent = mCurrent; in startElement() 82 mCurrent = new XMLNode(parent, qName); in startElement()
|
H A D | PpsMoParser.java | 390 XMLNode root = null; in parseMoText() 410 for (XMLNode child : root.getChildren()) { in parseMoText() 461 private static PasspointConfiguration parsePpsNode(XMLNode node) in parsePpsNode() 466 for (XMLNode child : node.getChildren()) { in parsePpsNode() 525 private static String parseUrn(XMLNode node) throws ParsingException { in parseUrn() 529 XMLNode typeNode = node.getChildren().get(0); in parseUrn() 537 XMLNode ddfNameNode = typeNode.getChildren().get(0); in parseUrn() 582 private static PPSNode buildPpsNode(XMLNode node) throws ParsingException { in buildPpsNode() 589 for (XMLNode child : node.getChildren()) { in buildPpsNode()
|
/aosp12/packages/modules/Wifi/framework/tests/src/android/net/wifi/hotspot2/omadm/ |
H A D | XMLParserTest.java | 21 import android.net.wifi.hotspot2.omadm.XMLNode; 39 private static XMLNode createNode(XMLNode parent, String tag, String text) { in createNode() 40 XMLNode node = new XMLNode(parent, tag); in createNode() 77 XMLNode expectedRoot = createNode(null, "root", ""); in parseValidXMLTree() 81 XMLNode actualRoot = mParser.parse(xmlTree); in parseValidXMLTree()
|
/aosp12/frameworks/av/media/libeffects/config/src/ |
H A D | EffectsConfig.cpp | 41 std::vector<std::reference_wrapper<const XMLElement>> getChildren(const XMLNode& node, in getChildren()
|
/aosp12/packages/modules/Wifi/apex/hiddenapi/ |
H A D | hiddenapi-max-target-o-low-priority.txt | 578 Landroid/net/wifi/hotspot2/omadm/XMLNode;-><init>(Landroid/net/wifi/hotspot2/omadm/XMLNode;Ljava/la… 579 Landroid/net/wifi/hotspot2/omadm/XMLNode;->addChild(Landroid/net/wifi/hotspot2/omadm/XMLNode;)V 580 Landroid/net/wifi/hotspot2/omadm/XMLNode;->addText(Ljava/lang/String;)V 581 Landroid/net/wifi/hotspot2/omadm/XMLNode;->close()V 583 Landroid/net/wifi/hotspot2/omadm/XMLNode;->getParent()Landroid/net/wifi/hotspot2/omadm/XMLNode; 584 Landroid/net/wifi/hotspot2/omadm/XMLNode;->getTag()Ljava/lang/String; 585 Landroid/net/wifi/hotspot2/omadm/XMLNode;->getText()Ljava/lang/String; 586 Landroid/net/wifi/hotspot2/omadm/XMLNode;->mChildren:Ljava/util/List; 587 Landroid/net/wifi/hotspot2/omadm/XMLNode;->mParent:Landroid/net/wifi/hotspot2/omadm/XMLNode; 588 Landroid/net/wifi/hotspot2/omadm/XMLNode;->mTag:Ljava/lang/String; [all …]
|
/aosp12/bionic/benchmarks/ |
H A D | bionic_benchmarks.cpp | 418 tinyxml2::XMLNode* fn = doc.FirstChildElement("fn"); in RegisterXmlBenchmarks()
|