Home
last modified time | relevance | path

Searched refs:XMLNode (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/tools/aapt/
DXMLNode.h15 class XMLNode; variable
39 class XMLNode : public RefBase
42 static sp<XMLNode> parse(const sp<AaptFile>& file);
45 sp<XMLNode> newNamespace(const String8& filename, const String16& prefix, const String16& uri) { in newNamespace()
46 return new XMLNode(filename, prefix, uri, true); in newNamespace()
50 sp<XMLNode> newElement(const String8& filename, const String16& ns, const String16& name) { in newElement()
51 return new XMLNode(filename, ns, name, false); in newElement()
55 sp<XMLNode> newCData(const String8& filename) { in newCData()
56 return new XMLNode(filename); in newCData()
72 const Vector<sp<XMLNode> >& getChildren() const;
[all …]
DXMLNode.cpp555 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
635 XMLNode::XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace) in XMLNode() function in XMLNode
651 XMLNode::XMLNode(const String8& filename) in XMLNode() function in XMLNode
657 XMLNode::type XMLNode::getType() const in getType()
668 const String16& XMLNode::getNamespacePrefix() const in getNamespacePrefix()
673 const String16& XMLNode::getNamespaceUri() const in getNamespaceUri()
678 const String16& XMLNode::getElementNamespace() const in getElementNamespace()
683 const String16& XMLNode::getElementName() const in getElementName()
[all …]
DResourceTable.h20 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);
DResource.cpp710 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute()
721 XMLNode::attribute_entry* existingEntry = node->editAttribute(ns, attr); in addTagAttribute()
749 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute()
755 static void fullyQualifyClassName(const String8& package, const sp<XMLNode>& node, in fullyQualifyClassName()
757 XMLNode::attribute_entry* attr = node->editAttribute( in fullyQualifyClassName()
857 status_t massageManifest(Bundle* bundle, ResourceTable* table, sp<XMLNode> root) in massageManifest()
872 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest()
883 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest()
890 sp<XMLNode> vers = root->getChildElement(String16(), String16("uses-sdk")); in massageManifest()
895 vers = XMLNode::newElement(root->getFilename(), String16(), String16("uses-sdk")); in massageManifest()
[all …]
DResourceTable.cpp46 sp<XMLNode> root = XMLNode::parse(target); in compileXmlFile()
62 sp<XMLNode> root = XMLNode::parse(target); in compileXmlFile()
73 const sp<XMLNode>& root, in compileXmlFile()
4770 const sp<AaptFile>& target, const sp<XMLNode>& root) { in versionForCompat()
4771 XMLNode* node = root.get(); in versionForCompat()
4772 while (node->getType() != XMLNode::TYPE_ELEMENT) { in versionForCompat()
4842 const sp<XMLNode>& root) { in modifyForCompat()
4864 sp<XMLNode> newRoot = NULL; in modifyForCompat()
4867 Vector<sp<XMLNode> > nodesToVisit; in modifyForCompat()
4870 sp<XMLNode> node = nodesToVisit.top(); in modifyForCompat()
[all …]
DAndroid.bp95 "XMLNode.cpp",
/frameworks/base/wifi/java/android/net/wifi/hotspot2/omadm/
DXMLNode.java31 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()
DXMLParser.java56 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()
DPpsMoParser.java343 XMLNode root = null; in parseMoText()
361 for (XMLNode child : root.getChildren()) { in parseMoText()
412 private static PasspointConfiguration parsePpsNode(XMLNode node) in parsePpsNode()
417 for (XMLNode child : node.getChildren()) { in parsePpsNode()
476 private static String parseUrn(XMLNode node) throws ParsingException { in parseUrn()
480 XMLNode typeNode = node.getChildren().get(0); in parseUrn()
488 XMLNode ddfNameNode = typeNode.getChildren().get(0); in parseUrn()
533 private static PPSNode buildPpsNode(XMLNode node) throws ParsingException { in buildPpsNode()
540 for (XMLNode child : node.getChildren()) { in buildPpsNode()
/frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/omadm/
DXMLParserTest.java21 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()
/frameworks/av/media/libeffects/config/src/
DEffectsConfig.cpp41 std::vector<std::reference_wrapper<const XMLElement>> getChildren(const XMLNode& node, in getChildren()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt45959 …tspot2/omadm/PpsMoParser;->buildPpsNode(Landroid/net/wifi/hotspot2/omadm/XMLNode;)Landroid/net/wif…
46052 …tspot2/omadm/PpsMoParser;->parsePpsNode(Landroid/net/wifi/hotspot2/omadm/XMLNode;)Landroid/net/wif…
46065 Landroid/net/wifi/hotspot2/omadm/PpsMoParser;->parseUrn(Landroid/net/wifi/hotspot2/omadm/XMLNode;)L…
46078 Landroid/net/wifi/hotspot2/omadm/XMLNode;-><init>(Landroid/net/wifi/hotspot2/omadm/XMLNode;Ljava/la…
46079 Landroid/net/wifi/hotspot2/omadm/XMLNode;->addChild(Landroid/net/wifi/hotspot2/omadm/XMLNode;)V
46080 Landroid/net/wifi/hotspot2/omadm/XMLNode;->addText(Ljava/lang/String;)V
46081 Landroid/net/wifi/hotspot2/omadm/XMLNode;->close()V
46082 Landroid/net/wifi/hotspot2/omadm/XMLNode;->getChildren()Ljava/util/List;
46083 Landroid/net/wifi/hotspot2/omadm/XMLNode;->getParent()Landroid/net/wifi/hotspot2/omadm/XMLNode;
46084 Landroid/net/wifi/hotspot2/omadm/XMLNode;->getTag()Ljava/lang/String;
[all …]