Home
last modified time | relevance | path

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

/hardware/interfaces/bluetooth/audio/2.0/default/session/
DBluetoothAudioSupportedCodecsDB.cpp150 const SbcParameters sbc_data = codec_specific.sbcConfig(); in IsOffloadSbcConfigurationValid() local
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()
157 sbc_data.minBitpool > sbc_data.maxBitpool) { in IsOffloadSbcConfigurationValid()
161 } else if ((sbc_data.sampleRate & kDefaultOffloadSbcCapability.sampleRate) && in IsOffloadSbcConfigurationValid()
162 (sbc_data.channelMode & in IsOffloadSbcConfigurationValid()
[all …]
/hardware/interfaces/bluetooth/audio/2.0/vts/functional/
DVtsHalBluetoothAudioV2_0TargetTest.cpp435 SbcParameters sbc_data; in GetSbcCodecSpecificSupportedList() local
442 sbc_data = {.sampleRate = sample_rate, in GetSbcCodecSpecificSupportedList()
450 codec_specific.sbcConfig(sbc_data); in GetSbcCodecSpecificSupportedList()