Home
last modified time | relevance | path

Searched refs:OMANode (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/Osu/src/com/android/hotspot2/omadm/
DOMAConstructed.java11 public class OMAConstructed extends OMANode {
12 private final MultiValueMap<OMANode> mChildren;
15 this(parent, name, context, new MultiValueMap<OMANode>(), buildAttributes(avps)); in OMAConstructed()
19 MultiValueMap<OMANode> children, Map<String, String> avps) { in OMAConstructed()
25 public OMANode addChild(String name, String context, String value, String pathString) in addChild()
28 OMANode child = value != null ? in addChild()
34 OMANode target = this; in addChild()
54 public void addChild(OMANode child) { in addChild()
63 OMANode child = mChildren.get(tag); in getScalarValue()
72 public OMANode getListValue(Iterator<String> path) throws OMAException { in getListValue()
[all …]
DMOManager.java292 private void addSP(OMANode mo) throws IOException { in addSP()
322 OMANode pps = moTree.getRoot(); in findTargetTree()
323 for (OMANode node : pps.getChildren()) { in findTargetTree()
324 OMANode instance = null; in findTargetTree()
342 for (OMANode child : root.getChildren()) { in getInstanceNode()
368 OMANode oldUdi = ppsTree.getChild(TAG_UpdateIdentifier); in modifySP()
379 OMANode current = instance.getListValue(tailPath.iterator()); in modifySP()
384 for (OMANode newNode : modRoot.getChildren()) { in modifySP()
387 OMANode old = current.getParent().replaceNode(current, newNode); in modifySP()
422 OMANode oldUdi = targetTree.getChild(TAG_UpdateIdentifier); in modifySP()
[all …]
DOMANode.java13 public abstract class OMANode { class
19 … protected OMANode(OMAConstructed parent, String name, String context, Map<String, String> avps) { in OMANode() method in OMANode
55 for (OMANode node = this; node != null; node = node.getParent()) { in getPath()
69 public abstract OMANode reparent(OMAConstructed parent); in reparent()
73 public abstract OMANode getListValue(Iterator<String> path) throws OMAException; in getListValue()
77 public abstract Collection<OMANode> getChildren(); in getChildren()
79 public abstract OMANode getChild(String name) throws OMAException; in getChild()
83 public abstract OMANode addChild(String name, String context, String value, String path) in addChild()
118 OMANode node = buildNode(in, null); in unmarshal()
128 OMANode node = buildNode(in, parent); in unmarshal()
[all …]
DOMAScalar.java9 public class OMAScalar extends OMANode {
33 public OMANode getListValue(Iterator<String> path) throws OMAException { in getListValue()
43 public Collection<OMANode> getChildren() { in getChildren()
53 public OMANode getChild(String name) throws OMAException { in getChild()
58 public OMANode addChild(String name, String context, String value, String path) in addChild()
DMgmtTreeRoot.java9 super(null, MOTree.MgmtTreeTag, null, new MultiValueMap<OMANode>(), in MgmtTreeRoot()
32 for (OMANode child : getChildren()) { in toXml()
DMOTree.java117 private static void buildNode(OMANode parent, XMLNode node) throws IOException { in buildNode()
177 OMANode subNode = parent.addChild(curValue.getName(), in buildNode()
259 OMAConstructed root = OMANode.unmarshal(in); in unmarshal()
/frameworks/base/packages/Osu/src/com/android/hotspot2/pps/
DPolicy.java6 import com.android.hotspot2.omadm.OMANode;
37 public Policy(OMANode node) throws OMAException { in Policy()
39 OMANode rpNode = node.getChild(TAG_PreferredRoamingPartnerList); in Policy()
44 for (OMANode instance : rpNode.getChildren()) { in Policy()
53 OMANode bhtNode = node.getChild(TAG_MinBackhaulThreshold); in Policy()
58 for (OMANode instance : bhtNode.getChildren()) { in Policy()
69 OMANode sxNode = node.getChild(TAG_SPExclusionList); in Policy()
74 for (OMANode instance : sxNode.getChildren()) { in Policy()
82 OMANode rptNode = node.getChild(TAG_RequiredProtoPortTuple); in Policy()
87 for (OMANode instance : rptNode.getChildren()) { in Policy()
[all …]
DSubscriptionParameters.java6 import com.android.hotspot2.omadm.OMANode;
26 public SubscriptionParameters(OMANode node) throws OMAException { in SubscriptionParameters()
31 OMANode ulNode = node.getChild(TAG_UsageLimits); in SubscriptionParameters()
36 for (OMANode instance : ulNode.getChildren()) { in SubscriptionParameters()
53 private Limit(OMANode node) throws OMAException { in Limit()
DUpdateInfo.java8 import com.android.hotspot2.omadm.OMANode;
37 public UpdateInfo(OMANode policyUpdate) throws OMAException { in UpdateInfo()
44 OMANode unp = policyUpdate.getChild(TAG_UsernamePassword); in UpdateInfo()
55 OMANode trustRoot = MOManager.getChild(policyUpdate, TAG_TrustRoot); in UpdateInfo()
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
DOSUClient.java24 import com.android.hotspot2.omadm.OMANode;
473 private static void retrieveCerts(OMANode ppsRoot, in retrieveCerts()
484 private static List<X509Certificate> getCerts(OMANode ppsRoot, String[] path, Network network, in getCerts()
504 private static void getCertURLs(OMANode root, Iterator<String> path, List<String> urls) in getCertURLs()
509 Collection<OMANode> nodes = null; in getCertURLs()
512 for (OMANode node : root.getChildren()) { in getCertURLs()
532 for (OMANode node : nodes) { in getCertURLs()