Home
last modified time | relevance | path

Searched refs:protoPortMap (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Wifi/framework/java/android/net/wifi/hotspot2/pps/
DPolicy.java532 Map<Integer, String> protoPortMap = new HashMap<>(size);
536 protoPortMap.put(key, value);
538 return protoPortMap;
567 private static void writeProtoPortMap(Parcel dest, Map<Integer, String> protoPortMap) { in writeProtoPortMap() argument
568 if (protoPortMap == null) { in writeProtoPortMap()
572 dest.writeInt(protoPortMap.size()); in writeProtoPortMap()
573 for (Map.Entry<Integer, String> entry : protoPortMap.entrySet()) { in writeProtoPortMap()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointXmlUtils.java519 private static void serializeProtoPortMap(XmlSerializer out, Map<Integer, String> protoPortMap) in serializeProtoPortMap() argument
521 if (protoPortMap == null) { in serializeProtoPortMap()
525 for (Map.Entry<Integer, String> entry : protoPortMap.entrySet()) { in serializeProtoPortMap()
965 Map<Integer, String> protoPortMap = new HashMap<>(); in deserializeProtoPortMap() local
970 protoPortMap.put(proto, ports); in deserializeProtoPortMap()
972 return protoPortMap; in deserializeProtoPortMap()