Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.cc61 bool sbc_offloading_capability_match(const SbcParameters& sbc_capability, in sbc_offloading_capability_match() argument
63 if ((static_cast<SampleRate>(sbc_capability.sampleRate & in sbc_offloading_capability_match()
66 (static_cast<SbcChannelMode>(sbc_capability.channelMode & in sbc_offloading_capability_match()
69 (static_cast<SbcBlockLength>(sbc_capability.blockLength & in sbc_offloading_capability_match()
72 (static_cast<SbcNumSubbands>(sbc_capability.numSubbands & in sbc_offloading_capability_match()
75 (static_cast<SbcAllocMethod>(sbc_capability.allocMethod & in sbc_offloading_capability_match()
78 (static_cast<BitsPerSample>(sbc_capability.bitsPerSample & in sbc_offloading_capability_match()
81 (sbc_config.minBitpool < sbc_capability.minBitpool || in sbc_offloading_capability_match()
83 sbc_capability.maxBitpool < sbc_config.maxBitpool)) { in sbc_offloading_capability_match()
85 toString(sbc_capability)); in sbc_offloading_capability_match()
[all …]
Dclient_interface_hidl_unittest.cc276 SbcParameters sbc_capability = in IsCodecOffloadingSupported() local
279 (sbc_config.sampleRate & sbc_capability.sampleRate && in IsCodecOffloadingSupported()
280 sbc_config.channelMode & sbc_capability.channelMode && in IsCodecOffloadingSupported()
281 sbc_config.blockLength & sbc_capability.blockLength && in IsCodecOffloadingSupported()
282 sbc_config.numSubbands & sbc_capability.numSubbands && in IsCodecOffloadingSupported()
283 sbc_config.allocMethod & sbc_capability.allocMethod && in IsCodecOffloadingSupported()
284 sbc_config.bitsPerSample & sbc_capability.bitsPerSample && in IsCodecOffloadingSupported()
285 (sbc_capability.minBitpool <= sbc_config.minBitpool && in IsCodecOffloadingSupported()
287 sbc_config.maxBitpool <= sbc_capability.maxBitpool)); in IsCodecOffloadingSupported()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dcodec_status_aidl.cc78 bool sbc_offloading_capability_match(const SbcCapabilities& sbc_capability, in sbc_offloading_capability_match() argument
80 if (!ContainedInVector(sbc_capability.channelMode, sbc_config.channelMode) || in sbc_offloading_capability_match()
81 !ContainedInVector(sbc_capability.allocMethod, sbc_config.allocMethod) || in sbc_offloading_capability_match()
82 !ContainedInVector(sbc_capability.blockLength, sbc_config.blockLength) || in sbc_offloading_capability_match()
83 !ContainedInVector(sbc_capability.numSubbands, sbc_config.numSubbands) || in sbc_offloading_capability_match()
84 !ContainedInVector(sbc_capability.bitsPerSample, in sbc_offloading_capability_match()
86 !ContainedInVector(sbc_capability.sampleRateHz, in sbc_offloading_capability_match()
88 (sbc_config.minBitpool < sbc_capability.minBitpool || in sbc_offloading_capability_match()
90 sbc_capability.maxBitpool < sbc_config.maxBitpool)) { in sbc_offloading_capability_match()
92 sbc_capability.toString()); in sbc_offloading_capability_match()
[all …]