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.java52 int eid = data.get() & Constants.BYTE_MASK; in parseInformationElements()
54 int elementLength = data.get() & Constants.BYTE_MASK; in parseInformationElements()
70 eidExt = data.get() & Constants.BYTE_MASK; in parseInformationElements()
169 channelUtilization = data.get() & Constants.BYTE_MASK; in from()
314 mChannelMode = ie.bytes[0] & Constants.BYTE_MASK; in from()
315 mCenterFreqIndex1 = ie.bytes[1] & Constants.BYTE_MASK; in from()
316 mCenterFreqIndex2 = ie.bytes[2] & Constants.BYTE_MASK; in from()
480 mPrimaryChannel = ie.bytes[startIndx] & Constants.BYTE_MASK; in from()
481 mCenterFreqSeg0 = ie.bytes[startIndx + 2] & Constants.BYTE_MASK; in from()
482 mCenterFreqSeg1 = ie.bytes[startIndx + 3] & 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;
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;
629 sb.append(String.format("%02x", (mac >>> (n * Byte.SIZE)) & BYTE_MASK)); in toMACString()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DPrivateAddressCoordinator.java55 private static final int BYTE_MASK = 0xff; field in PrivateAddressCoordinator
151 final int subNet = (subAddress >> 8) & BYTE_MASK; in requestDownstreamAddress()
154 final int newSubNet = (subNet + i) & BYTE_MASK; in requestDownstreamAddress()
186 final byte subId = (byte) (source & BYTE_MASK); in getSanitizedAddressSuffix()
/frameworks/base/wifi/java/android/net/wifi/rtt/
DResponderLocation.java60 private static final int BYTE_MASK = 0xFF; field in ResponderLocation
578 mAltitudeType = (int) subelementLciFields[SUBELEMENT_LCI_ALT_TYPE_INDEX] & BYTE_MASK; in parseSubelementLci()
583 mDatum = (int) subelementLciFields[SUBELEMENT_LCI_DATUM_INDEX] & BYTE_MASK; in parseSubelementLci()
660 (int) subelementZFields[SUBELEMENT_Z_LAT_EXPECTED_TO_MOVE_INDEX] & BYTE_MASK; in parseSubelementZ()
734 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