Searched refs:testAndClear (Results 1 – 3 of 3) sorted by relevance
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()
35 public boolean testAndClear(int maskBit) { in testAndClear() method in BitMask
741 if (in.testAndClear(WifiScanner.REPORT_EVENT_AFTER_EACH_SCAN)) { in makeReportSchemeFromBucketSettingsReportEvents()744 if (in.testAndClear(WifiScanner.REPORT_EVENT_FULL_SCAN_RESULT)) { in makeReportSchemeFromBucketSettingsReportEvents()747 if (in.testAndClear(WifiScanner.REPORT_EVENT_NO_BATCH)) { in makeReportSchemeFromBucketSettingsReportEvents()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()