Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/audio/utils/session/
DBluetoothAudioSupportedCodecsDB.cpp117 static bool IsSingleBit(uint32_t bitmasks, uint32_t bitfield) { in IsSingleBit() function
151 if (!IsSingleBit(static_cast<uint32_t>(sbc_data.sampleRate), 0xff) || in IsOffloadSbcConfigurationValid()
152 !IsSingleBit(static_cast<uint32_t>(sbc_data.channelMode), 0x0f) || in IsOffloadSbcConfigurationValid()
153 !IsSingleBit(static_cast<uint32_t>(sbc_data.blockLength), 0xf0) || in IsOffloadSbcConfigurationValid()
154 !IsSingleBit(static_cast<uint32_t>(sbc_data.numSubbands), 0x0c) || in IsOffloadSbcConfigurationValid()
155 !IsSingleBit(static_cast<uint32_t>(sbc_data.allocMethod), 0x03) || in IsOffloadSbcConfigurationValid()
156 !IsSingleBit(static_cast<uint32_t>(sbc_data.bitsPerSample), 0x07) || in IsOffloadSbcConfigurationValid()
190 if (!IsSingleBit(static_cast<uint32_t>(aac_data.objectType), 0xf0) || in IsOffloadAacConfigurationValid()
191 !IsSingleBit(static_cast<uint32_t>(aac_data.sampleRate), 0xff) || in IsOffloadAacConfigurationValid()
192 !IsSingleBit(static_cast<uint32_t>(aac_data.channelMode), 0x03) || in IsOffloadAacConfigurationValid()
[all …]