Home
last modified time | relevance | path

Searched refs:wanInfo (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/
DHSWanMetricsElement.java95 int wanInfo = payload.get() & 0xFF; in parse() local
96 int status = wanInfo & LINK_STATUS_MASK; in parse()
97 boolean symmetric = (wanInfo & SYMMETRIC_LINK_MASK) != 0; in parse()
98 boolean capped = (wanInfo & AT_CAPACITY_MASK) != 0; in parse()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/
DHSWanMetricsElementTest.java60 int wanInfo = TEST_LINK_STATUS & HSWanMetricsElement.LINK_STATUS_MASK; in getTestBuffer() local
61 if (TEST_SYMMETRIC_LINK) wanInfo |= HSWanMetricsElement.SYMMETRIC_LINK_MASK; in getTestBuffer()
62 if (TEST_AT_CAPACITY) wanInfo |= HSWanMetricsElement.AT_CAPACITY_MASK; in getTestBuffer()
63 buffer.put((byte) wanInfo); in getTestBuffer()
DANQPParserTest.java188 int wanInfo = status & HSWanMetricsElement.LINK_STATUS_MASK; in getHSWanMetricsPayload() local
189 if (symmetric) wanInfo |= HSWanMetricsElement.SYMMETRIC_LINK_MASK; in getHSWanMetricsPayload()
190 if (capped) wanInfo |= HSWanMetricsElement.AT_CAPACITY_MASK; in getHSWanMetricsPayload()
191 buffer.put((byte) wanInfo); in getHSWanMetricsPayload()