Searched refs:XMLNode (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/tools/aapt/ |
D | XMLNode.h | 13 class XMLNode; variable 37 class XMLNode : public RefBase 40 static sp<XMLNode> parse(const sp<AaptFile>& file); 43 sp<XMLNode> newNamespace(const String8& filename, const String16& prefix, const String16& uri) { in newNamespace() 44 return new XMLNode(filename, prefix, uri, true); in newNamespace() 48 sp<XMLNode> newElement(const String8& filename, const String16& ns, const String16& name) { in newElement() 49 return new XMLNode(filename, ns, name, false); in newElement() 53 sp<XMLNode> newCData(const String8& filename) { in newCData() 54 return new XMLNode(filename); in newCData() 70 const Vector<sp<XMLNode> >& getChildren() const; [all …]
|
D | XMLNode.cpp | 554 sp<XMLNode> root = XMLNode::parse(file); in parseXMLResource() 578 sp<XMLNode> XMLNode::parse(const sp<AaptFile>& file) in parse() 624 XMLNode::XMLNode() in XMLNode() function in XMLNode 630 XMLNode::XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace) in XMLNode() function in XMLNode 646 XMLNode::XMLNode(const String8& filename) in XMLNode() function in XMLNode 652 XMLNode::type XMLNode::getType() const in getType() 663 const String16& XMLNode::getNamespacePrefix() const in getNamespacePrefix() 668 const String16& XMLNode::getNamespaceUri() const in getNamespaceUri() 673 const String16& XMLNode::getElementNamespace() const in getElementNamespace() 678 const String16& XMLNode::getElementName() const in getElementName() [all …]
|
D | Resource.cpp | 688 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute() 699 XMLNode::attribute_entry* existingEntry = node->editAttribute(ns, attr); in addTagAttribute() 734 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute() 740 static void fullyQualifyClassName(const String8& package, sp<XMLNode> node, in fullyQualifyClassName() 742 XMLNode::attribute_entry* attr = node->editAttribute( in fullyQualifyClassName() 768 status_t massageManifest(Bundle* bundle, sp<XMLNode> root) in massageManifest() 783 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest() 794 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest() 801 sp<XMLNode> vers = root->getChildElement(String16(), String16("uses-sdk")); in massageManifest() 806 vers = XMLNode::newElement(root->getFilename(), String16(), String16("uses-sdk")); in massageManifest() [all …]
|
D | Android.mk | 47 XMLNode.cpp \
|
D | ResourceTable.h | 22 class XMLNode; variable 56 const sp<XMLNode>& xmlTree, 200 const sp<XMLNode>& root);
|
D | ResourceTable.cpp | 32 sp<XMLNode> root = XMLNode::parse(target); in compileXmlFile() 48 sp<XMLNode> root = XMLNode::parse(target); in compileXmlFile() 59 const sp<XMLNode>& root, in compileXmlFile() 4586 const sp<XMLNode>& root) { in modifyForCompat() 4601 sp<XMLNode> newRoot = NULL; in modifyForCompat() 4605 Vector<sp<XMLNode> > nodesToVisit; in modifyForCompat() 4608 sp<XMLNode> node = nodesToVisit.top(); in modifyForCompat() 4611 const Vector<XMLNode::attribute_entry>& attrs = node->getAttributes(); in modifyForCompat() 4613 const XMLNode::attribute_entry& attr = attrs[i]; in modifyForCompat() 4641 const Vector<sp<XMLNode> >& children = node->getChildren(); in modifyForCompat()
|