Home
last modified time | relevance | path

Searched refs:XMLNode (Results 1 – 7 of 7) 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.cpp713 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute()
724 XMLNode::attribute_entry* existingEntry = node->editAttribute(ns, attr); in addTagAttribute()
752 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute()
758 static void fullyQualifyClassName(const String8& package, const sp<XMLNode>& node, in fullyQualifyClassName()
760 XMLNode::attribute_entry* attr = node->editAttribute( in fullyQualifyClassName()
860 status_t massageManifest(Bundle* bundle, ResourceTable* table, sp<XMLNode> root) in massageManifest()
875 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest()
886 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest()
893 sp<XMLNode> vers = root->getChildElement(String16(), String16("uses-sdk")); in massageManifest()
898 vers = XMLNode::newElement(root->getFilename(), String16(), String16("uses-sdk")); in massageManifest()
[all …]
DResourceTable.cpp48 sp<XMLNode> root = XMLNode::parse(target); in compileXmlFile()
64 sp<XMLNode> root = XMLNode::parse(target); in compileXmlFile()
75 const sp<XMLNode>& root, in compileXmlFile()
4763 const sp<AaptFile>& target, const sp<XMLNode>& root) { in versionForCompat()
4764 XMLNode* node = root.get(); in versionForCompat()
4765 while (node->getType() != XMLNode::TYPE_ELEMENT) { in versionForCompat()
4835 const sp<XMLNode>& root) { in modifyForCompat()
4857 sp<XMLNode> newRoot = NULL; in modifyForCompat()
4860 Vector<sp<XMLNode> > nodesToVisit; in modifyForCompat()
4863 sp<XMLNode> node = nodesToVisit.top(); in modifyForCompat()
[all …]
DAndroid.bp106 "XMLNode.cpp",
/frameworks/av/media/libeffects/config/src/
DEffectsConfig.cpp42 std::vector<std::reference_wrapper<const XMLElement>> getChildren(const XMLNode& node, in getChildren()