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.java32 BitMask checkoff = new BitMask(0x53); in testBitMask() local
34 Assert.assertTrue(checkoff.testAndClear(0x10)); // First time, bit should be there in testBitMask()
35 Assert.assertFalse(checkoff.testAndClear(0x10)); // Second time, should be gone in testBitMask()
36 Assert.assertFalse(checkoff.testAndClear(0x100)); // This bit was not set in testBitMask()
37 Assert.assertEquals(0x43, checkoff.value); // These should be left in testBitMask()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiVendorHal.java1165 BitMask checkoff = new BitMask(rttManagerPreamble); in halPreambleFromFrameworkPreamble() local
1167 if (checkoff.testAndClear(RttManager.PREAMBLE_LEGACY)) { in halPreambleFromFrameworkPreamble()
1170 if (checkoff.testAndClear(RttManager.PREAMBLE_HT)) { in halPreambleFromFrameworkPreamble()
1173 if (checkoff.testAndClear(RttManager.PREAMBLE_VHT)) { in halPreambleFromFrameworkPreamble()
1176 if (checkoff.value != 0) { in halPreambleFromFrameworkPreamble()
1184 BitMask checkoff = new BitMask(halPreamble); in frameworkPreambleFromHalPreamble() local
1186 if (checkoff.testAndClear(RttPreamble.LEGACY)) { in frameworkPreambleFromHalPreamble()
1189 if (checkoff.testAndClear(RttPreamble.HT)) { in frameworkPreambleFromHalPreamble()
1192 if (checkoff.testAndClear(RttPreamble.VHT)) { in frameworkPreambleFromHalPreamble()
1195 if (checkoff.value != 0) { in frameworkPreambleFromHalPreamble()
[all …]