/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
D | SOAPBuilder.java | 5 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 …]
|
D | SOAPParser.java | 4 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()
|
D | XMLParser.java | 3 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()
|
D | PostDevDataResponse.java | 4 import com.android.hotspot2.omadm.XMLNode; 15 public PostDevDataResponse(XMLNode root) throws OMAException { in PostDevDataResponse() 24 for (XMLNode child : root.getChildren()) { in PostDevDataResponse()
|
D | ResponseFactory.java | 4 import com.android.hotspot2.omadm.XMLNode; 7 public OSUResponse buildResponse(XMLNode root) throws OMAException; in buildResponse()
|
D | ExchangeCompleteResponse.java | 4 import com.android.hotspot2.omadm.XMLNode; 25 public ExchangeCompleteResponse(XMLNode root) throws OMAException { in ExchangeCompleteResponse()
|
D | OSUResponse.java | 5 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()
|
D | OSUCommand.java | 4 import com.android.hotspot2.omadm.XMLNode; 35 public OSUCommand(XMLNode child) throws OMAException { in OSUCommand()
|
/frameworks/base/tools/aapt/ |
D | XMLNode.h | 15 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 …]
|
D | XMLNode.cpp | 558 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 …]
|
D | Resource.cpp | 709 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute() 720 XMLNode::attribute_entry* existingEntry = node->editAttribute(ns, attr); in addTagAttribute() 757 bool addTagAttribute(const sp<XMLNode>& node, const char* ns8, in addTagAttribute() 763 static void fullyQualifyClassName(const String8& package, sp<XMLNode> node, in fullyQualifyClassName() 765 XMLNode::attribute_entry* attr = node->editAttribute( in fullyQualifyClassName() 793 status_t massageManifest(Bundle* bundle, sp<XMLNode> root) in massageManifest() 808 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest() 819 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest() 826 sp<XMLNode> vers = root->getChildElement(String16(), String16("uses-sdk")); in massageManifest() 831 vers = XMLNode::newElement(root->getFilename(), String16(), String16("uses-sdk")); in massageManifest() [all …]
|
D | ResourceTable.h | 20 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);
|
D | ResourceTable.cpp | 49 sp<XMLNode> root = XMLNode::parse(target); in compileXmlFile() 65 sp<XMLNode> root = XMLNode::parse(target); in compileXmlFile() 76 const sp<XMLNode>& root, in compileXmlFile() 4727 const sp<XMLNode>& root) { in modifyForCompat() 4745 sp<XMLNode> newRoot = NULL; in modifyForCompat() 4748 Vector<sp<XMLNode> > nodesToVisit; in modifyForCompat() 4751 sp<XMLNode> node = nodesToVisit.top(); in modifyForCompat() 4760 const Vector<XMLNode::attribute_entry>& attrs = node->getAttributes(); in modifyForCompat() 4762 const XMLNode::attribute_entry& attr = attrs[i]; in modifyForCompat() 4788 const Vector<sp<XMLNode> >& children = node->getChildren(); in modifyForCompat() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
D | XMLNode.java | 17 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 …]
|
D | MOTree.java | 27 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 …]
|
D | OMAParser.java | 20 private XMLNode mRoot; 21 private XMLNode mCurrent; 38 public XMLNode getRoot() { in getRoot() 45 XMLNode parent = mCurrent; in startElement() 47 mCurrent = new XMLNode(mCurrent, qName, attributes); in startElement()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
D | MOTree.java | 30 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 …]
|
D | XMLNode.java | 16 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()
|
D | OMAParser.java | 19 private XMLNode mRoot; 20 private XMLNode mCurrent; 40 XMLNode parent = mCurrent; in startElement() 42 mCurrent = new XMLNode(mCurrent, qName, attributes); in startElement()
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/commands/ |
D | ClientCertInfo.java | 4 import com.android.hotspot2.omadm.XMLNode; 57 public ClientCertInfo(XMLNode commandNode) throws OMAException { in ClientCertInfo() 64 for (XMLNode node : commandNode.getChildren()) { in ClientCertInfo()
|
D | GetCertData.java | 6 import com.android.hotspot2.omadm.XMLNode; 38 public GetCertData(XMLNode commandNode) throws OMAException { in GetCertData() 42 for (XMLNode node : commandNode.getChildren()) { in GetCertData()
|
D | BrowserURI.java | 3 import com.android.hotspot2.omadm.XMLNode; 20 public BrowserURI(XMLNode commandNode) { in BrowserURI()
|
D | MOURN.java | 14 import com.android.hotspot2.omadm.XMLNode; 19 public MOURN(XMLNode root) { in MOURN()
|
D | MOData.java | 8 import com.android.hotspot2.omadm.XMLNode; 19 public MOData(XMLNode root) { in MOData()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | PasspointManagementObjectManagerTest.java | 32 import com.android.server.wifi.hotspot2.omadm.XMLNode; 212 XMLNode rootIn = parser.getRoot(); in checkXml() 219 XMLNode rootOut = parser.getRoot(); in checkXml()
|