Home
last modified time | relevance | path

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

/packages/apps/Nfc/src/com/android/nfc/
DNfcWifiProtectedSetup.java106 int fieldSize = payload.getShort() & 0xFFFF; in parse() local
108 return parseCredential(payload, fieldSize); in parse()
110 payload.position(payload.position() + fieldSize); in parse()
122 int fieldSize = payload.getShort() & 0xFFFF; in parseCredential() local
125 if (payload.position() + fieldSize > startPosition + size) { in parseCredential()
131 byte[] ssid = new byte[fieldSize]; in parseCredential()
136 if (fieldSize > MAX_NETWORK_KEY_SIZE_BYTES) { in parseCredential()
139 byte[] networkKey = new byte[fieldSize]; in parseCredential()
141 if (fieldSize > 0) { in parseCredential()
146 if (fieldSize != AUTH_TYPE_EXPECTED_SIZE) { in parseCredential()
[all …]