Home
last modified time | relevance | path

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

/aosp14/frameworks/base/tools/aapt/
H A DXMLNode.h15 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 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
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 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);
H A DResource.cpp710 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 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()
4762 XMLNode* node = root.get(); in versionForCompat()
4855 sp<XMLNode> newRoot = NULL; in modifyForCompat()
4858 Vector<sp<XMLNode> > nodesToVisit; in modifyForCompat()
4861 sp<XMLNode> node = nodesToVisit.top(); in modifyForCompat()
5019 static sp<XMLNode> findOnlyChildElement(const sp<XMLNode>& parent) { in findOnlyChildElement()
5021 sp<XMLNode> onlyChild; in findOnlyChildElement()
5070 Vector<sp<XMLNode> > namespaces; in processBundleFormat()
[all …]
H A DAndroid.bp101 "XMLNode.cpp",