Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/audio/2.0/default/session/
DBluetoothAudioSupportedCodecsDB.cpp115 static bool IsSingleBit(uint32_t bitmasks, uint32_t bitfield) { in IsSingleBit() argument
118 while (test_bit <= bitmasks && test_bit <= bitfield) { in IsSingleBit()
119 if (bitfield & test_bit && bitmasks & test_bit) { in IsSingleBit()
/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
DVtsHalBluetoothAudioV2_0TargetTest.cpp85 std::vector<T> ExtractValuesFromBitmask(T bitmasks, uint32_t bitfield, in ExtractValuesFromBitmask() argument
92 while (test_bit <= static_cast<uint32_t>(bitmasks) && test_bit <= bitfield) { in ExtractValuesFromBitmask()
94 if ((!(bitmasks & test_bit) && !supported) || in ExtractValuesFromBitmask()
95 ((bitmasks & test_bit) && supported)) { in ExtractValuesFromBitmask()