Home
last modified time | relevance | path

Searched refs:test_bit (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/bluetooth/audio/2.0/default/session/
DBluetoothAudioSupportedCodecsDB.cpp119 uint32_t test_bit = 0x00000001; in IsSingleBit() local
120 while (test_bit <= bitmasks && test_bit <= bitfield) { in IsSingleBit()
121 if (bitfield & test_bit && bitmasks & test_bit) { in IsSingleBit()
125 if (test_bit == 0x80000000) break; in IsSingleBit()
126 test_bit <<= 1; in IsSingleBit()
/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
DVtsHalBluetoothAudioV2_0TargetTest.cpp92 uint32_t test_bit = 0x00000001; in ExtractValuesFromBitmask() local
93 while (test_bit <= static_cast<uint32_t>(bitmasks) && test_bit <= bitfield) { in ExtractValuesFromBitmask()
94 if ((bitfield & test_bit)) { in ExtractValuesFromBitmask()
95 if ((!(bitmasks & test_bit) && !supported) || in ExtractValuesFromBitmask()
96 ((bitmasks & test_bit) && supported)) { in ExtractValuesFromBitmask()
97 retval.push_back(static_cast<T>(test_bit)); in ExtractValuesFromBitmask()
100 if (test_bit == 0x80000000) { in ExtractValuesFromBitmask()
103 test_bit <<= 1; in ExtractValuesFromBitmask()