Home
last modified time | relevance | path

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

12

/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DSOAPBuilder.java5 import com.android.hotspot2.omadm.XMLNode;
41 XMLNode envelope = buildEnvelope(); in buildPostDevDataResponse()
47 XMLNode envelope = buildEnvelope(); in buildUpdateResponse()
52 private static XMLNode buildEnvelope() { in buildEnvelope()
53 XMLNode envelope = new XMLNode(null, EnvelopeTag, sEnvelopeAttributes); in buildEnvelope()
54 envelope.addChild(new XMLNode(envelope, BodyTag, (Map<String, String>) null)); in buildEnvelope()
58 private static XMLNode buildSppPostDevData(XMLNode parent, String sessionID, in buildSppPostDevData()
71 XMLNode pddNode = new XMLNode(parent, OMAConstants.TAG_PostDevData, pddAttributes); in buildSppPostDevData()
73 XMLNode vNode = new XMLNode(pddNode, OMAConstants.TAG_SupportedVersions, in buildSppPostDevData()
78 XMLNode moNode = new XMLNode(pddNode, OMAConstants.TAG_SupportedMOs, in buildSppPostDevData()
[all …]
DSOAPParser.java4 import com.android.hotspot2.omadm.XMLNode;
25 public OSUResponse buildResponse(XMLNode root) throws OMAException {
31 public OSUResponse buildResponse(XMLNode root) throws OMAException {
37 public OSUResponse buildResponse(XMLNode root) {
43 public OSUResponse buildResponse(XMLNode root) {
49 private final XMLNode mResponseNode;
53 XMLNode root; in SOAPParser()
70 XMLNode body = null; in SOAPParser()
72 for (XMLNode child : root.getChildren()) { in SOAPParser()
95 public XMLNode getResponseNode() { in getResponseNode()
DXMLParser.java3 import com.android.hotspot2.omadm.XMLNode;
24 private XMLNode mRoot;
25 private XMLNode mCurrent;
33 public XMLNode getRoot() throws SAXException, IOException { in getRoot()
41 XMLNode parent = mCurrent; in startElement()
43 mCurrent = new XMLNode(mCurrent, qName, attributes); in startElement()
DPostDevDataResponse.java4 import com.android.hotspot2.omadm.XMLNode;
15 public PostDevDataResponse(XMLNode root) throws OMAException { in PostDevDataResponse()
24 for (XMLNode child : root.getChildren()) { in PostDevDataResponse()
DResponseFactory.java4 import com.android.hotspot2.omadm.XMLNode;
7 public OSUResponse buildResponse(XMLNode root) throws OMAException; in buildResponse()
DExchangeCompleteResponse.java4 import com.android.hotspot2.omadm.XMLNode;
25 public ExchangeCompleteResponse(XMLNode root) throws OMAException { in ExchangeCompleteResponse()
DOSUResponse.java5 import com.android.hotspot2.omadm.XMLNode;
22 protected OSUResponse(XMLNode root, OSUMessageType messageType, String... attributes) in OSUResponse()
55 for (XMLNode child : root.getChildren()) { in OSUResponse()
DOSUCommand.java4 import com.android.hotspot2.omadm.XMLNode;
35 public OSUCommand(XMLNode child) throws OMAException { in OSUCommand()
/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.cpp558 sp<XMLNode> root = XMLNode::parse(file); in parseXMLResource()
586 sp<XMLNode> XMLNode::parse(const sp<AaptFile>& file) in parse()
632 XMLNode::XMLNode() in XMLNode() function in XMLNode
638 XMLNode::XMLNode(const String8& filename, const String16& s1, const String16& s2, bool isNamespace) in XMLNode() function in XMLNode
654 XMLNode::XMLNode(const String8& filename) in XMLNode() function in XMLNode
660 XMLNode::type XMLNode::getType() const in getType()
671 const String16& XMLNode::getNamespacePrefix() const in getNamespacePrefix()
676 const String16& XMLNode::getNamespaceUri() const in getNamespaceUri()
681 const String16& XMLNode::getElementNamespace() const in getElementNamespace()
686 const String16& XMLNode::getElementName() const in getElementName()
[all …]
DResource.cpp714 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute()
725 XMLNode::attribute_entry* existingEntry = node->editAttribute(ns, attr); in addTagAttribute()
762 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute()
768 static void fullyQualifyClassName(const String8& package, sp<XMLNode> node, in fullyQualifyClassName()
770 XMLNode::attribute_entry* attr = node->editAttribute( in fullyQualifyClassName()
798 status_t massageManifest(Bundle* bundle, sp<XMLNode> root) in massageManifest()
813 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest()
824 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest()
831 sp<XMLNode> vers = root->getChildElement(String16(), String16("uses-sdk")); in massageManifest()
836 vers = XMLNode::newElement(root->getFilename(), String16(), String16("uses-sdk")); in massageManifest()
[all …]
DResourceTable.h20 class XMLNode; variable
55 const sp<XMLNode>& xmlTree,
87 sp<XMLNode> xmlRoot;
210 const sp<XMLNode>& root);
215 const sp<XMLNode>& parent);
613 const sp<XMLNode>& parent,
614 Vector<sp<XMLNode> >* namespaces);
DAndroid.mk46 XMLNode.cpp \
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DXMLNode.java17 public class XMLNode { class
20 private final List<XMLNode> mChildren;
21 private final XMLNode mParent;
37 public XMLNode(XMLNode parent, String tag, Attributes attributes) throws SAXException { in XMLNode() method in XMLNode
54 public XMLNode(XMLNode parent, String tag, Map<String, String> attributes) { in XMLNode() method in XMLNode
75 } else if (thatObject.getClass() != XMLNode.class) { in equals()
79 XMLNode that = (XMLNode) thatObject; in equals()
92 List<XMLNode> cloneOfThat = new ArrayList<>(that.mChildren); in equals()
93 for (XMLNode child : mChildren) { in equals()
94 Iterator<XMLNode> thatChildren = cloneOfThat.iterator(); in equals()
[all …]
DMOTree.java27 public MOTree(XMLNode node, String urn) throws IOException, SAXException { in MOTree()
28 Iterator<XMLNode> children = node.getChildren().iterator(); in MOTree()
33 XMLNode child = children.next(); in MOTree()
46 for (XMLNode child : node.getChildren()) { in MOTree()
121 private static void buildNode(OMANode parent, XMLNode node) throws IOException { in buildNode()
125 Map<String, XMLNode> checkMap = new HashMap<>(3); in buildNode()
128 List<XMLNode> children = new ArrayList<>(); in buildNode()
132 for (XMLNode child : node.getChildren()) { in buildNode()
133 XMLNode old = checkMap.put(child.getTag(), child); in buildNode()
161 XMLNode typeNode = getNextNode(child, TypeTag); in buildNode()
[all …]
DOMAParser.java20 private XMLNode mRoot;
21 private XMLNode mCurrent;
41 public XMLNode getRoot() { in getRoot()
48 XMLNode parent = mCurrent; in startElement()
50 mCurrent = new XMLNode(mCurrent, qName, attributes); in startElement()
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
DMOTree.java30 public MOTree(XMLNode node, String urn) throws IOException, SAXException { in MOTree()
31 Iterator<XMLNode> children = node.getChildren().iterator(); in MOTree()
36 XMLNode child = children.next(); in MOTree()
49 for (XMLNode child : node.getChildren()) { in MOTree()
117 private static void buildNode(OMANode parent, XMLNode node) throws IOException { in buildNode()
121 Map<String, XMLNode> checkMap = new HashMap<>(3); in buildNode()
124 List<XMLNode> children = new ArrayList<>(); in buildNode()
128 for (XMLNode child : node.getChildren()) { in buildNode()
129 XMLNode old = checkMap.put(child.getTag(), child); in buildNode()
157 XMLNode typeNode = getNextNode(child, TypeTag); in buildNode()
[all …]
DXMLNode.java16 public class XMLNode { class
19 private final List<XMLNode> mChildren;
20 private final XMLNode mParent;
36 public XMLNode(XMLNode parent, String tag, Attributes attributes) throws SAXException { in XMLNode() method in XMLNode
53 public XMLNode(XMLNode parent, String tag, Map<String, String> attributes) { in XMLNode() method in XMLNode
89 public void addChild(XMLNode child) { in addChild()
136 public XMLNode getSoleChild() throws OMAException { in getSoleChild()
143 public XMLNode getParent() { in getParent()
168 public List<XMLNode> getChildren() { in getChildren()
192 for (XMLNode child : mChildren) { in toString()
DOMAParser.java19 private XMLNode mRoot;
20 private XMLNode mCurrent;
40 XMLNode parent = mCurrent; in startElement()
42 mCurrent = new XMLNode(mCurrent, qName, attributes); in startElement()
DMgmtTreeRoot.java8 public MgmtTreeRoot(XMLNode node, String dtdRev) { in MgmtTreeRoot()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/commands/
DClientCertInfo.java4 import com.android.hotspot2.omadm.XMLNode;
57 public ClientCertInfo(XMLNode commandNode) throws OMAException { in ClientCertInfo()
64 for (XMLNode node : commandNode.getChildren()) { in ClientCertInfo()
DGetCertData.java6 import com.android.hotspot2.omadm.XMLNode;
38 public GetCertData(XMLNode commandNode) throws OMAException { in GetCertData()
42 for (XMLNode node : commandNode.getChildren()) { in GetCertData()
DBrowserURI.java3 import com.android.hotspot2.omadm.XMLNode;
20 public BrowserURI(XMLNode commandNode) { in BrowserURI()
DMOURN.java14 import com.android.hotspot2.omadm.XMLNode;
19 public MOURN(XMLNode root) { in MOURN()
DMOData.java8 import com.android.hotspot2.omadm.XMLNode;
19 public MOData(XMLNode root) { in MOData()

12