Home
last modified time | relevance | path

Searched refs:infoID (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DANQPParser.java58 public static ANQPElement parseElement(Constants.ANQPElementType infoID, ByteBuffer payload) in parseElement() argument
60 switch (infoID) { in parseElement()
78 throw new ProtocolException("Unknown element ID: " + infoID); in parseElement()
91 public static ANQPElement parseHS20Element(Constants.ANQPElementType infoID, in parseHS20Element() argument
93 switch (infoID) { in parseHS20Element()
103 throw new ProtocolException("Unknown element ID: " + infoID); in parseHS20Element()
DRawByteElement.java31 public RawByteElement(Constants.ANQPElementType infoID, byte[] payload) { in RawByteElement() argument
32 super(infoID); in RawByteElement()
42 public static RawByteElement parse(Constants.ANQPElementType infoID, ByteBuffer payload) { in parse() argument
47 return new RawByteElement(infoID, rawBytes); in parse()
DGenericBlobElement.java13 public GenericBlobElement(Constants.ANQPElementType infoID, ByteBuffer payload) { in GenericBlobElement() argument
14 super(infoID); in GenericBlobElement()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceCallbackHidlImpl.java119 private ANQPElement parseAnqpElement(Constants.ANQPElementType infoID, in parseAnqpElement() argument
123 return Constants.getANQPElementID(infoID) != null in parseAnqpElement()
125 infoID, ByteBuffer.wrap(NativeUtil.byteArrayFromArrayList(payload))) in parseAnqpElement()
127 infoID, ByteBuffer.wrap(NativeUtil.byteArrayFromArrayList(payload))); in parseAnqpElement()
129 Log.e(TAG, "Failed parsing ANQP element payload: " + infoID, e); in parseAnqpElement()
143 Constants.ANQPElementType infoID, in addAnqpElementToMap() argument
147 ANQPElement element = parseAnqpElement(infoID, payload); in addAnqpElementToMap()
149 elementsMap.put(infoID, element); in addAnqpElementToMap()
DSupplicantStaIfaceCallbackAidlImpl.java233 private ANQPElement parseAnqpElement(Constants.ANQPElementType infoID, byte[] payload) { in parseAnqpElement() argument
236 return Constants.getANQPElementID(infoID) != null in parseAnqpElement()
237 ? ANQPParser.parseElement(infoID, ByteBuffer.wrap(payload)) in parseAnqpElement()
238 : ANQPParser.parseHS20Element(infoID, ByteBuffer.wrap(payload)); in parseAnqpElement()
240 Log.e(TAG, "Failed parsing ANQP element payload: " + infoID, e); in parseAnqpElement()
254 Constants.ANQPElementType infoID, byte[] payload) { in addAnqpElementToMap() argument
259 ANQPElement element = parseAnqpElement(infoID, payload); in addAnqpElementToMap()
261 elementsMap.put(infoID, element); in addAnqpElementToMap()