Home
last modified time | relevance | path

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

/system/bt/audio_hal_interface/
Dcodec_status.cc53 bool sbc_offloading_capability_match(const SbcParameters& sbc_capability, in sbc_offloading_capability_match() argument
55 if ((static_cast<SampleRate>(sbc_capability.sampleRate & in sbc_offloading_capability_match()
58 (static_cast<SbcChannelMode>(sbc_capability.channelMode & in sbc_offloading_capability_match()
61 (static_cast<SbcBlockLength>(sbc_capability.blockLength & in sbc_offloading_capability_match()
64 (static_cast<SbcNumSubbands>(sbc_capability.numSubbands & in sbc_offloading_capability_match()
67 (static_cast<SbcAllocMethod>(sbc_capability.allocMethod & in sbc_offloading_capability_match()
70 (static_cast<BitsPerSample>(sbc_capability.bitsPerSample & in sbc_offloading_capability_match()
73 (sbc_config.minBitpool < sbc_capability.minBitpool || in sbc_offloading_capability_match()
75 sbc_capability.maxBitpool < sbc_config.maxBitpool)) { in sbc_offloading_capability_match()
77 << " capability=" << toString(sbc_capability); in sbc_offloading_capability_match()
[all …]
Dclient_interface_unittest.cc194 SbcParameters sbc_capability = in IsCodecOffloadingSupported() local
197 (sbc_config.sampleRate & sbc_capability.sampleRate && in IsCodecOffloadingSupported()
198 sbc_config.channelMode & sbc_capability.channelMode && in IsCodecOffloadingSupported()
199 sbc_config.blockLength & sbc_capability.blockLength && in IsCodecOffloadingSupported()
200 sbc_config.numSubbands & sbc_capability.numSubbands && in IsCodecOffloadingSupported()
201 sbc_config.allocMethod & sbc_capability.allocMethod && in IsCodecOffloadingSupported()
202 sbc_config.bitsPerSample & sbc_capability.bitsPerSample && in IsCodecOffloadingSupported()
203 (sbc_capability.minBitpool <= sbc_config.minBitpool && in IsCodecOffloadingSupported()
205 sbc_config.maxBitpool <= sbc_capability.maxBitpool)); in IsCodecOffloadingSupported()