Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.cc138 bool ldac_offloading_capability_match(const LdacParameters& ldac_capability, in ldac_offloading_capability_match() argument
140 if ((static_cast<SampleRate>(ldac_capability.sampleRate & in ldac_offloading_capability_match()
143 (static_cast<LdacChannelMode>(ldac_capability.channelMode & in ldac_offloading_capability_match()
146 (static_cast<BitsPerSample>(ldac_capability.bitsPerSample & in ldac_offloading_capability_match()
150 toString(ldac_capability)); in ldac_offloading_capability_match()
154 toString(ldac_capability)); in ldac_offloading_capability_match()
557 auto ldac_capability = codec_capability.capabilities.ldacCapabilities(); in IsCodecOffloadingEnabled() local
559 return ldac_offloading_capability_match(ldac_capability, ldac_config); in IsCodecOffloadingEnabled()
Dclient_interface_hidl_unittest.cc307 LdacParameters ldac_capability = in IsCodecOffloadingSupported() local
310 (ldac_config.sampleRate & ldac_capability.sampleRate && in IsCodecOffloadingSupported()
311 ldac_config.channelMode & ldac_capability.channelMode && in IsCodecOffloadingSupported()
312 ldac_config.bitsPerSample & ldac_capability.bitsPerSample); in IsCodecOffloadingSupported()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dcodec_status_aidl.cc136 bool ldac_offloading_capability_match(const LdacCapabilities& ldac_capability, in ldac_offloading_capability_match() argument
138 if (!ContainedInVector(ldac_capability.channelMode, in ldac_offloading_capability_match()
140 !ContainedInVector(ldac_capability.bitsPerSample, in ldac_offloading_capability_match()
142 !ContainedInVector(ldac_capability.sampleRateHz, in ldac_offloading_capability_match()
145 ldac_capability.toString()); in ldac_offloading_capability_match()
149 ldac_capability.toString()); in ldac_offloading_capability_match()
617 auto ldac_capability = in IsCodecOffloadingEnabled() local
623 return ldac_offloading_capability_match(ldac_capability, ldac_config); in IsCodecOffloadingEnabled()