Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.cc62 const SbcParameters& sbc_config) { in sbc_offloading_capability_match() argument
64 sbc_config.sampleRate) == in sbc_offloading_capability_match()
67 sbc_config.channelMode) == in sbc_offloading_capability_match()
70 sbc_config.blockLength) == in sbc_offloading_capability_match()
73 sbc_config.numSubbands) == in sbc_offloading_capability_match()
76 sbc_config.allocMethod) == in sbc_offloading_capability_match()
79 sbc_config.bitsPerSample) == in sbc_offloading_capability_match()
81 (sbc_config.minBitpool < sbc_capability.minBitpool || in sbc_offloading_capability_match()
82 sbc_config.maxBitpool < sbc_config.minBitpool || in sbc_offloading_capability_match()
83 sbc_capability.maxBitpool < sbc_config.maxBitpool)) { in sbc_offloading_capability_match()
[all …]
Dclient_interface_hidl_unittest.cc275 SbcParameters sbc_config = codec_config.config.sbcConfig(); 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()
286 sbc_config.minBitpool <= sbc_config.maxBitpool && in IsCodecOffloadingSupported()
287 sbc_config.maxBitpool <= sbc_capability.maxBitpool)); in IsCodecOffloadingSupported()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dcodec_status_aidl.cc79 const SbcConfiguration& sbc_config) { 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()
85 sbc_config.bitsPerSample) || in sbc_offloading_capability_match()
87 sbc_config.sampleRateHz) || in sbc_offloading_capability_match()
88 (sbc_config.minBitpool < sbc_capability.minBitpool || in sbc_offloading_capability_match()
89 sbc_config.maxBitpool < sbc_config.minBitpool || in sbc_offloading_capability_match()
90 sbc_capability.maxBitpool < sbc_config.maxBitpool)) { in sbc_offloading_capability_match()
[all …]