Searched refs:checkoff (Results 1 – 2 of 2) sorted by relevance
35 BitMask checkoff = new BitMask(0x53); in testBitMask() local37 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()
1613 BitMask checkoff = new BitMask(wifiDebugRingBufferFlag); in frameworkRingBufferFlagsFromHal() local1615 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()