Home
last modified time | relevance | path

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

/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()
275 anqpOICount = data.get() & Constants.BYTE_MASK; in from()
277 int oi12Length = data.get() & Constants.BYTE_MASK; in from()
316 int hsConf = data.get() & Constants.BYTE_MASK; in from()
[all …]
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java3 import static com.android.server.wifi.hotspot2.anqp.Constants.BYTE_MASK;
79 sb.append(String.format("%02x", (mac >>> n) & Constants.BYTE_MASK)); in macToString()
203 sb.append(String.format("%02x", b & BYTE_MASK)); in toHexString()
211 sb.append(String.format("%02x", o & BYTE_MASK)); in toHex()
281 sbx.append(String.format("%02x ", dup.get() & BYTE_MASK)); in bytesToBingoCard()
286 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/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java58 private static final int BYTE_MASK = 0xff; field in PrivateAddressCoordinator
153 final int subNet = (subAddress >> 8) & BYTE_MASK; in requestDownstreamAddress()
156 final int newSubNet = (subNet + i) & BYTE_MASK; in requestDownstreamAddress()
188 final byte subId = (byte) (source & BYTE_MASK); in getSanitizedAddressSuffix()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DResponderLocation.java59 private static final int BYTE_MASK = 0xFF; field in ResponderLocation
577 mAltitudeType = (int) subelementLciFields[SUBELEMENT_LCI_ALT_TYPE_INDEX] & BYTE_MASK; in parseSubelementLci()
582 mDatum = (int) subelementLciFields[SUBELEMENT_LCI_DATUM_INDEX] & BYTE_MASK; in parseSubelementLci()
659 (int) subelementZFields[SUBELEMENT_Z_LAT_EXPECTED_TO_MOVE_INDEX] & BYTE_MASK; in parseSubelementZ()
733 int maxBssidIndicator = (int) buffer[SUBELEMENT_BSSID_MAX_INDICATOR_INDEX] & BYTE_MASK; in parseSubelementBssidList()
DCivicLocation.java53 private static final int BYTE_MASK = 0xFF; field in CivicLocation
131 int civicAddressType = civicTLVs[bufferPtr + TLV_TYPE_INDEX] & BYTE_MASK; in parseCivicTLVs()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DConstants.java19 public static final int BYTE_MASK = 0xff; field in Constants