Home
last modified time | relevance | path

Searched refs:checkoff (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DBitMaskTest.java35 BitMask checkoff = new BitMask(0x53); in testBitMask() local
37 Assert.assertTrue(checkoff.testAndClear(0x10)); // First time, bit should be there in testBitMask()
38 Assert.assertFalse(checkoff.testAndClear(0x10)); // Second time, should be gone in testBitMask()
39 Assert.assertFalse(checkoff.testAndClear(0x100)); // This bit was not set in testBitMask()
40 Assert.assertEquals(0x43, checkoff.value); // These should be left in testBitMask()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java1613 BitMask checkoff = new BitMask(wifiDebugRingBufferFlag); in frameworkRingBufferFlagsFromHal() local
1615 if (checkoff.testAndClear(WifiDebugRingBufferFlags.HAS_BINARY_ENTRIES)) { in frameworkRingBufferFlagsFromHal()
1618 if (checkoff.testAndClear(WifiDebugRingBufferFlags.HAS_ASCII_ENTRIES)) { in frameworkRingBufferFlagsFromHal()
1621 if (checkoff.testAndClear(WifiDebugRingBufferFlags.HAS_PER_PACKET_ENTRIES)) { in frameworkRingBufferFlagsFromHal()
1624 if (checkoff.value != 0) { in frameworkRingBufferFlagsFromHal()
1625 throw new IllegalArgumentException("Unknown WifiDebugRingBufferFlag " + checkoff.value); in frameworkRingBufferFlagsFromHal()