Searched refs:checkoff (Results 1 – 2 of 2) sorted by relevance
32 BitMask checkoff = new BitMask(0x53); in testBitMask() local34 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()
1165 BitMask checkoff = new BitMask(rttManagerPreamble); in halPreambleFromFrameworkPreamble() local1167 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() local1186 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 …]