Lines Matching refs:payload
103 ByteBuffer payload = ByteBuffer.wrap(record.getPayload()); in parse() local
104 while (payload.hasRemaining()) { in parse()
105 short fieldId = payload.getShort(); in parse()
106 int fieldSize = payload.getShort() & 0xFFFF; in parse()
108 return parseCredential(payload, fieldSize); in parse()
110 payload.position(payload.position() + fieldSize); in parse()
117 private static WifiConfiguration parseCredential(ByteBuffer payload, int size) { in parseCredential() argument
118 int startPosition = payload.position(); in parseCredential()
120 while (payload.position() < startPosition + size) { in parseCredential()
121 short fieldId = payload.getShort(); in parseCredential()
122 int fieldSize = payload.getShort() & 0xFFFF; in parseCredential()
125 if (payload.position() + fieldSize > startPosition + size) { in parseCredential()
132 payload.get(ssid); in parseCredential()
140 payload.get(networkKey); in parseCredential()
151 short authType = payload.getShort(); in parseCredential()
156 payload.position(payload.position() + fieldSize); in parseCredential()