Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DBitMaskTest.java37 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()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DBitMask.java35 public boolean testAndClear(int maskBit) { in testAndClear() method in BitMask
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java741 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()