Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DByteBufferReaderTest.java46 ByteBufferReader.readInteger(buffer, buffer.order(), 2); in readIntegerWithBufferUnderflow()
57 int length = ByteBufferReader.MAXIMUM_INTEGER_SIZE + 1; in readIntegerExceedingMaximumLength()
60 ByteBufferReader.readInteger(buffer, buffer.order(), length); in readIntegerExceedingMaximumLength()
71 int length = ByteBufferReader.MINIMUM_INTEGER_SIZE - 1; in readIntegerLessThanMinimumLength()
74 ByteBufferReader.readInteger(buffer, buffer.order(), length); in readIntegerLessThanMinimumLength()
87 assertEquals(1, ByteBufferReader.readInteger(buffer, buffer.order(), in readIntegerWithMinimumSize()
88 ByteBufferReader.MINIMUM_INTEGER_SIZE)); in readIntegerWithMinimumSize()
104 assertEquals(leValue, ByteBufferReader.readInteger(leBuffer, leBuffer.order(), in readIntegerWithMaximumSize()
105 ByteBufferReader.MAXIMUM_INTEGER_SIZE)); in readIntegerWithMaximumSize()
110 assertEquals(beValue, ByteBufferReader.readInteger(beBuffer, beBuffer.order(), in readIntegerWithMaximumSize()
[all …]
DSupplicantStaIfaceHalTest.java1088 ByteBufferReader.readInteger( in testAnqpDoneCallback()
1111 ByteBufferReader.readInteger( in testIconDoneCallback()
1134 ByteBufferReader.readInteger( in testHs20SubscriptionRemediationCallback()
1923 ByteBufferReader.readInteger( in executeAndValidateHs20DeauthImminentCallback()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DIconInfo.java22 import com.android.server.wifi.ByteBufferReader;
66 int width = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
68 int height = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
72 String language = ByteBufferReader.readString( in parse()
76 ByteBufferReader.readStringWithByteLength(payload, StandardCharsets.US_ASCII); in parse()
78 ByteBufferReader.readStringWithByteLength(payload, StandardCharsets.UTF_8); in parse()
DOsuProviderInfo.java23 import com.android.server.wifi.ByteBufferReader;
108 int length = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
116 (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) & 0xFFFF; in parse()
122 ByteBufferReader.readStringWithByteLength(payload, StandardCharsets.UTF_8)); in parse()
134 (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) & 0xFFFF; in parse()
142 String nai = ByteBufferReader.readStringWithByteLength(payload, StandardCharsets.UTF_8); in parse()
146 (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) & 0xFFFF; in parse()
DHSWanMetricsElement.java20 import com.android.server.wifi.ByteBufferReader;
99 long downlinkSpeed = ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 4) in parse()
101 long uplinkSpeed = ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 4) in parse()
105 int lmd = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) & 0xFFFF; in parse()
DHSIconFileElement.java23 import com.android.server.wifi.ByteBufferReader;
86 ByteBufferReader.readStringWithByteLength(payload, StandardCharsets.US_ASCII); in parse()
90 (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) & 0xFFFF; in parse()
DI18Name.java22 import com.android.server.wifi.ByteBufferReader;
75 String language = ByteBufferReader.readString( in parse()
85 String text = ByteBufferReader.readString(payload, length - LANGUAGE_CODE_LENGTH, in parse()
DNAIRealmData.java20 import com.android.server.wifi.ByteBufferReader;
69 int length = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
79 String realm = ByteBufferReader.readStringWithByteLength( in parse()
DProtocolPortTuple.java20 import com.android.server.wifi.ByteBufferReader;
66 int port = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
DDomainNameElement.java20 import com.android.server.wifi.ByteBufferReader;
60 domains.add(ByteBufferReader.readStringWithByteLength( in parse()
DNAIRealmElement.java20 import com.android.server.wifi.ByteBufferReader;
58 int count = (int) ByteBufferReader.readInteger(payload, ByteOrder.LITTLE_ENDIAN, 2) in parse()
DRoamingConsortiumElement.java4 import com.android.server.wifi.ByteBufferReader;
58 OIs.add(ByteBufferReader.readInteger(payload, ByteOrder.BIG_ENDIAN, length)); in parse()
DANQPParser.java20 import com.android.server.wifi.ByteBufferReader;
120 int oi = (int) ByteBufferReader.readInteger(payload, ByteOrder.BIG_ENDIAN, 3); in parseVendorSpecificElement()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/eap/
DExpandedEAPMethod.java20 import com.android.server.wifi.ByteBufferReader;
66 int vendorID = (int) ByteBufferReader.readInteger(payload, ByteOrder.BIG_ENDIAN, 3) in parse()
68 long vendorType = ByteBufferReader.readInteger(payload, ByteOrder.BIG_ENDIAN, 4) in parse()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java22 import com.android.server.wifi.ByteBufferReader;
251 int venueInfo = (int) ByteBufferReader.readInteger(data, ByteOrder.BIG_ENDIAN, 2); in from()
255 hessid = ByteBufferReader.readInteger(data, ByteOrder.BIG_ENDIAN, 6); in from()
294 ByteBufferReader.readInteger(data, ByteOrder.BIG_ENDIAN, oi1Length); in from()
298 ByteBufferReader.readInteger(data, ByteOrder.BIG_ENDIAN, oi2Length); in from()
302 ByteBufferReader.readInteger(data, ByteOrder.BIG_ENDIAN, oi3Length); in from()
DNativeUtil.java21 import com.android.server.wifi.ByteBufferReader;
185 return ByteBufferReader.readInteger( in macAddressToLong()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DByteBufferReader.java29 public class ByteBufferReader { class