Home
last modified time | relevance | path

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

/frameworks/base/packages/Osu/src/com/android/hotspot2/
DUtils.java16 import static com.android.anqp.Constants.BYTE_MASK;
72 sb.append(String.format("%02x", (mac >>> n) & Constants.BYTE_MASK)); in macToString()
102 leIp & BYTE_MASK, in toIpString()
103 (leIp >> 8) & BYTE_MASK, in toIpString()
104 (leIp >> 16) & BYTE_MASK, in toIpString()
105 (leIp >> 24) & BYTE_MASK); in toIpString()
171 sb.append(String.format("%02x", b & BYTE_MASK)); in toHexString()
179 sb.append(String.format("%02x", o & BYTE_MASK)); in toHex()
247 sbx.append(String.format("%02x ", dup.get() & BYTE_MASK)); in bytesToBingoCard()
252 sbx.append(String.format("%c", toAscii(dup.get() & BYTE_MASK))); in bytesToBingoCard()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DInformationElementUtil.java44 int eid = data.get() & Constants.BYTE_MASK; in parseInformationElements()
45 int elementLength = data.get() & Constants.BYTE_MASK; in parseInformationElements()
148 channelUtilization = data.get() & Constants.BYTE_MASK; in from()
218 channelMode = ie.bytes[0] & Constants.BYTE_MASK; in from()
219 centerFreqIndex1 = ie.bytes[1] & Constants.BYTE_MASK; in from()
220 centerFreqIndex2 = ie.bytes[2] & Constants.BYTE_MASK; in from()
234 int anOptions = data.get() & Constants.BYTE_MASK; in from()
266 anqpOICount = data.get() & Constants.BYTE_MASK; in from()
268 int oi12Length = data.get() & Constants.BYTE_MASK; in from()
307 int hsConf = data.get() & Constants.BYTE_MASK; in from()
[all …]
/frameworks/base/packages/Osu/src/com/android/anqp/eap/
DEAPMethod.java29 int length = payload.get() & Constants.BYTE_MASK; in EAPMethod()
30 int methodID = payload.get() & Constants.BYTE_MASK; in EAPMethod()
31 int count = payload.get() & Constants.BYTE_MASK; in EAPMethod()
42 int id = paramPayload.get() & Constants.BYTE_MASK; in EAPMethod()
49 int len = paramPayload.get() & Constants.BYTE_MASK; in EAPMethod()
DInnerAuthEAP.java6 import static com.android.anqp.Constants.BYTE_MASK;
19 int typeID = payload.get() & BYTE_MASK; in InnerAuthEAP()
DCredential.java6 import static com.android.anqp.Constants.BYTE_MASK;
36 int typeID = payload.get() & BYTE_MASK; in Credential()
DExpandedEAPMethod.java7 import static com.android.anqp.Constants.BYTE_MASK;
31 id = (id << Byte.SIZE) | (vndBuffer.get() & BYTE_MASK); in ExpandedEAPMethod()
DNonEAPInnerAuth.java9 import static com.android.anqp.Constants.BYTE_MASK;
38 int typeID = payload.get() & BYTE_MASK; in NonEAPInnerAuth()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java13 import static com.android.server.wifi.hotspot2.anqp.Constants.BYTE_MASK;
76 sb.append(String.format("%02x", (mac >>> n) & Constants.BYTE_MASK)); in macToString()
160 sb.append(String.format("%02x", b & BYTE_MASK)); in toHexString()
168 sb.append(String.format("%02x", o & BYTE_MASK)); in toHex()
238 sbx.append(String.format("%02x ", dup.get() & BYTE_MASK)); in bytesToBingoCard()
243 sbx.append(String.format("%c", toAscii(dup.get() & BYTE_MASK))); in bytesToBingoCard()
DNetworkDetail.java4 import static com.android.server.wifi.hotspot2.anqp.Constants.BYTE_MASK;
542 sb.append(String.format("%02x", (mac >>> (n * Byte.SIZE)) & BYTE_MASK)); in toMACString()
/frameworks/base/packages/Osu/src/com/android/anqp/
DHSIconFileElement.java12 import static com.android.anqp.Constants.BYTE_MASK;
36 int statusID = payload.get() & BYTE_MASK; in HSIconFileElement()
DI18Name.java11 import static com.android.anqp.Constants.BYTE_MASK;
26 int nameLength = payload.get() & BYTE_MASK; in I18Name()
DConstants.java19 public static final int BYTE_MASK = 0xff; field in Constants
178 value = (value << Byte.SIZE) | (octets[n] & BYTE_MASK); in getInteger()
183 value = (value << Byte.SIZE) | (octet & BYTE_MASK); in getInteger()
DOSUProvider.java15 import static com.android.anqp.Constants.BYTE_MASK;
57 int methodLength = payload.get() & BYTE_MASK; in OSUProvider()
60 int methodID = payload.get() & BYTE_MASK; in OSUProvider()
DHSOsuProvidersElement.java24 int providerCount = payload.get() & Constants.BYTE_MASK; in HSOsuProvidersElement()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DConstants.java19 public static final int BYTE_MASK = 0xff; field in Constants