/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/ |
OMAConstructed.java | 11 public class OMAConstructed extends OMANode { 12 private final MultiValueMap<OMANode> mChildren; 15 this(parent, name, context, new MultiValueMap<OMANode>(), buildAttributes(avps)); 19 MultiValueMap<OMANode> children, Map<String, String> avps) { 25 public OMANode addChild(String name, String context, String value, String pathString) 28 OMANode child = value != null ? 34 OMANode target = this; 54 public void addChild(OMANode child) { 63 OMANode child = mChildren.get(tag); 72 public OMANode getListValue(Iterator<String> path) throws OMAException [all...] |
OMAScalar.java | 9 public class OMAScalar extends OMANode { 33 public OMANode getListValue(Iterator<String> path) throws OMAException { 43 public Collection<OMANode> getChildren() { 53 public OMANode getChild(String name) throws OMAException { 58 public OMANode addChild(String name, String context, String value, String path)
|
MOManager.java | 292 private void addSP(OMANode mo, OSUManager osuManager) throws IOException { 301 for (OMANode child : mo.getChildren()) { 307 OMANode currentUD = moTree.getRoot().getChild(TAG_UpdateIdentifier); 322 OMANode pps = moTree.getRoot(); 323 for (OMANode node : pps.getChildren()) { 324 OMANode instance = null; 342 for (OMANode child : root.getChildren()) { 376 OMANode oldUdi = targetTree.getChild(TAG_UpdateIdentifier); 387 OMANode current = instance.getListValue(tailPath.iterator()); 392 for (OMANode newNode : modRoot.getChildren()) [all...] |
OMANode.java | 13 public abstract class OMANode { 19 protected OMANode(OMAConstructed parent, String name, String context, 56 for (OMANode node = this; node != null; node = node.getParent()) { 70 public abstract OMANode reparent(OMAConstructed parent); 74 public abstract OMANode getListValue(Iterator<String> path) throws OMAException; 78 public abstract Collection<OMANode> getChildren(); 80 public abstract OMANode getChild(String name) throws OMAException; 84 public abstract OMANode addChild(String name, String context, String value, String path) 120 OMANode node = buildNode(in, null); 130 OMANode node = buildNode(in, parent) [all...] |
MgmtTreeRoot.java | 9 super(null, MOTree.MgmtTreeTag, null, new MultiValueMap<OMANode>(), 27 for (OMANode child : getChildren()) {
|
MOTree.java | 117 private static void buildNode(OMANode parent, XMLNode node) throws IOException { 177 OMANode subNode = parent.addChild(curValue.getName(), 259 OMAConstructed root = OMANode.unmarshal(in);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
OMAConstructed.java | 11 public class OMAConstructed extends OMANode { 12 private final MultiValueMap<OMANode> mChildren; 15 this(parent, name, context, new MultiValueMap<OMANode>(), buildAttributes(avps)); 19 MultiValueMap<OMANode> children, Map<String, String> avps) { 25 public OMANode addChild(String name, String context, String value, String pathString) 28 OMANode child = value != null ? 34 OMANode target = this; 54 public void addChild(OMANode child) { 63 OMANode child = mChildren.get(tag); 72 public OMANode getListValue(Iterator<String> path) throws OMAException [all...] |
OMAScalar.java | 9 public class OMAScalar extends OMANode { 33 public OMANode getListValue(Iterator<String> path) throws OMAException { 43 public Collection<OMANode> getChildren() { 53 public OMANode getChild(String name) throws OMAException { 58 public OMANode addChild(String name, String context, String value, String path)
|
PasspointManagementObjectManager.java | 288 private void addSP(OMANode mo) throws IOException { 298 OMANode pps = moTree.getRoot(); 299 for (OMANode node : pps.getChildren()) { 300 OMANode instance = null; 318 for (OMANode child : root.getChildren()) { 352 OMANode oldUdi = targetTree.getChild(TAG_UpdateIdentifier); 363 OMANode current = instance.getListValue(tailPath.iterator()); 367 for (OMANode newNode : modRoot.getChildren()) { 430 OMANode removed = pps.removeNode("?", tbd); 463 private static OMANode buildHomeSPTree(HomeSP homeSP, OMAConstructed root, int instanceID [all...] |
ManagementTreeRoot.java | 29 super(null, MOTree.MgmtTreeTag, null, new MultiValueMap<OMANode>(), 53 for (OMANode child : getChildren()) {
|
OMANode.java | 13 public abstract class OMANode { 29 protected OMANode(OMAConstructed parent, String name, String context, Map<String, String> avps) { 65 for (OMANode node = this; node != null; node = node.getParent()) { 98 public abstract OMANode reparent(OMAConstructed parent); 102 public abstract OMANode getListValue(Iterator<String> path) throws OMAException; 106 public abstract Collection<OMANode> getChildren(); 108 public abstract OMANode getChild(String name) throws OMAException; 112 public abstract OMANode addChild(String name, String context, String value, String path) 148 OMANode node = buildNode(in, null); 158 OMANode node = buildNode(in, parent) [all...] |
MOTree.java | 121 private static void buildNode(OMANode parent, XMLNode node) throws IOException { 181 OMANode subNode = parent.addChild(curValue.getName(), 263 OMAConstructed root = OMANode.unmarshal(in);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/ |
SubscriptionParameters.java | 6 import com.android.hotspot2.omadm.OMANode; 26 public SubscriptionParameters(OMANode node) throws OMAException { 31 OMANode ulNode = node.getChild(TAG_UsageLimits); 36 for (OMANode instance : ulNode.getChildren()) { 53 private Limit(OMANode node) throws OMAException {
|
Policy.java | 6 import com.android.hotspot2.omadm.OMANode; 37 public Policy(OMANode node) throws OMAException { 39 OMANode rpNode = node.getChild(TAG_PreferredRoamingPartnerList); 44 for (OMANode instance : rpNode.getChildren()) { 53 OMANode bhtNode = node.getChild(TAG_MinBackhaulThreshold); 58 for (OMANode instance : bhtNode.getChildren()) { 69 OMANode sxNode = node.getChild(TAG_SPExclusionList); 74 for (OMANode instance : sxNode.getChildren()) { 82 OMANode rptNode = node.getChild(TAG_RequiredProtoPortTuple); 87 for (OMANode instance : rptNode.getChildren()) [all...] |
UpdateInfo.java | 8 import com.android.hotspot2.omadm.OMANode; 35 public UpdateInfo(OMANode policyUpdate) throws OMAException { 42 OMANode unp = policyUpdate.getChild(TAG_UsernamePassword); 53 OMANode trustRoot = MOManager.getChild(policyUpdate, TAG_TrustRoot);
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/pps/ |
SubscriptionParameters.java | 5 import com.android.server.wifi.hotspot2.omadm.OMANode; 26 public SubscriptionParameters(OMANode node) throws OMAException { 31 OMANode ulNode = node.getChild(TAG_UsageLimits); 37 for (OMANode instance : ulNode.getChildren()) { 54 private Limit(OMANode node) throws OMAException {
|
Policy.java | 5 import com.android.server.wifi.hotspot2.omadm.OMANode; 37 public Policy(OMANode node) throws OMAException { 39 OMANode rpNode = node.getChild(TAG_PreferredRoamingPartnerList); 45 for (OMANode instance : rpNode.getChildren()) { 54 OMANode bhtNode = node.getChild(TAG_MinBackhaulThreshold); 60 for (OMANode instance : bhtNode.getChildren()) { 71 OMANode sxNode = node.getChild(TAG_SPExclusionList); 77 for (OMANode instance : sxNode.getChildren()) { 86 OMANode rptNode = node.getChild(TAG_RequiredProtoPortTuple); 92 for (OMANode instance : rptNode.getChildren()) [all...] |
UpdateInfo.java | 7 import com.android.server.wifi.hotspot2.omadm.OMANode; 35 public UpdateInfo(OMANode policyUpdate) throws OMAException { 44 OMANode unp = policyUpdate.getChild(TAG_UsernamePassword); 56 OMANode trustRoot = PasspointManagementObjectManager.getChild(policyUpdate, TAG_TrustRoot);
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/ |
OSUClient.java | 20 import com.android.hotspot2.omadm.OMANode; 418 private static void retrieveCerts(OMANode ppsRoot, 429 private static List<X509Certificate> getCerts(OMANode ppsRoot, String[] path, Network network, 449 private static void getCertURLs(OMANode root, Iterator<String> path, List<String> urls) 454 Collection<OMANode> nodes = null; 457 for (OMANode node : root.getChildren()) { 477 for (OMANode node : nodes) {
|