Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dcodec_status_hidl.cc118 bool aptx_offloading_capability_match(const AptxParameters& aptx_capability, in aptx_offloading_capability_match() argument
120 if ((static_cast<SampleRate>(aptx_capability.sampleRate & in aptx_offloading_capability_match()
123 (static_cast<ChannelMode>(aptx_capability.channelMode & in aptx_offloading_capability_match()
126 (static_cast<BitsPerSample>(aptx_capability.bitsPerSample & in aptx_offloading_capability_match()
130 toString(aptx_capability)); in aptx_offloading_capability_match()
134 toString(aptx_capability)); in aptx_offloading_capability_match()
552 auto aptx_capability = codec_capability.capabilities.aptxCapabilities(); in IsCodecOffloadingEnabled() local
554 return aptx_offloading_capability_match(aptx_capability, aptx_config); in IsCodecOffloadingEnabled()
Dclient_interface_hidl_unittest.cc319 AptxParameters aptx_capability = in IsCodecOffloadingSupported() local
322 (aptx_config.sampleRate & aptx_capability.sampleRate && in IsCodecOffloadingSupported()
323 aptx_config.channelMode & aptx_capability.channelMode && in IsCodecOffloadingSupported()
324 aptx_config.bitsPerSample & aptx_capability.bitsPerSample); in IsCodecOffloadingSupported()
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dcodec_status_aidl.cc119 bool aptx_offloading_capability_match(const AptxCapabilities& aptx_capability, in aptx_offloading_capability_match() argument
121 if (!ContainedInVector(aptx_capability.channelMode, in aptx_offloading_capability_match()
123 !ContainedInVector(aptx_capability.bitsPerSample, in aptx_offloading_capability_match()
125 !ContainedInVector(aptx_capability.sampleRateHz, in aptx_offloading_capability_match()
128 aptx_capability.toString()); in aptx_offloading_capability_match()
132 aptx_capability.toString()); in aptx_offloading_capability_match()
608 auto aptx_capability = in IsCodecOffloadingEnabled() local
614 return aptx_offloading_capability_match(aptx_capability, aptx_config); in IsCodecOffloadingEnabled()