Home
last modified time | relevance | path

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

/packages/modules/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 …]
/packages/modules/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;
635 sb.append(String.format("%02x", (mac >>> (n * Byte.SIZE)) & BYTE_MASK)); in toMACString()
/packages/modules/Wifi/framework/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()
/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DConstants.java15 public static final int BYTE_MASK = 0xff; field in Constants