/packages/modules/Bluetooth/system/audio_hal_interface/hidl/ |
D | client_interface_hidl_unittest.cc | 235 bool IsSoftwarePcmParametersSupported(const PcmParameters& pcm_config) { in IsSoftwarePcmParametersSupported() argument 240 (pcm_config.sampleRate != SampleRate::RATE_UNKNOWN && in IsSoftwarePcmParametersSupported() 241 pcm_config.bitsPerSample != BitsPerSample::BITS_UNKNOWN && in IsSoftwarePcmParametersSupported() 242 pcm_config.channelMode != ChannelMode::UNKNOWN); in IsSoftwarePcmParametersSupported() 244 (pcm_config.sampleRate & pcm_capabilities.sampleRate && in IsSoftwarePcmParametersSupported() 245 pcm_config.bitsPerSample & pcm_capabilities.bitsPerSample && in IsSoftwarePcmParametersSupported() 246 pcm_config.channelMode & pcm_capabilities.channelMode); in IsSoftwarePcmParametersSupported() 251 const PcmParameters_2_1& pcm_config) { in IsSinkSoftwarePcmParameters_2_1_Supported() argument 252 return IsSoftwarePcmParameters_2_1_Supported(pcm_config, clientif_sink_); in IsSinkSoftwarePcmParameters_2_1_Supported() 256 const PcmParameters_2_1& pcm_config) { in IsSourceSoftwarePcmParameters_2_1_Supported() argument [all …]
|
D | a2dp_encoding_hidl.cc | 311 bool a2dp_get_selected_hal_pcm_config(PcmParameters* pcm_config) { in a2dp_get_selected_hal_pcm_config() argument 312 if (pcm_config == nullptr) return false; in a2dp_get_selected_hal_pcm_config() 316 *pcm_config = BluetoothAudioSinkClientInterface::kInvalidPcmConfiguration; in a2dp_get_selected_hal_pcm_config() 321 pcm_config->sampleRate = A2dpCodecToHalSampleRate(current_codec); in a2dp_get_selected_hal_pcm_config() 322 pcm_config->bitsPerSample = A2dpCodecToHalBitsPerSample(current_codec); in a2dp_get_selected_hal_pcm_config() 323 pcm_config->channelMode = A2dpCodecToHalChannelMode(current_codec); in a2dp_get_selected_hal_pcm_config() 324 return (pcm_config->sampleRate != SampleRate::RATE_UNKNOWN && in a2dp_get_selected_hal_pcm_config() 325 pcm_config->bitsPerSample != BitsPerSample::BITS_UNKNOWN && in a2dp_get_selected_hal_pcm_config() 326 pcm_config->channelMode != ChannelMode::UNKNOWN); in a2dp_get_selected_hal_pcm_config() 467 PcmParameters pcm_config{}; in setup_codec() local [all …]
|
D | hearing_aid_software_encoding_hidl.cc | 230 PcmParameters pcm_config{}; in start_session() local 231 if (!HearingAidGetSelectedHalPcmConfig(&pcm_config)) { in start_session() 235 audio_config.pcmConfig(pcm_config); in start_session()
|
D | le_audio_software_hidl.cc | 105 PcmParameters pcm_config) in LeAudioTransport() argument 111 pcm_config_(std::move(pcm_config)),
|
D | le_audio_software_hidl.h | 60 PcmParameters pcm_config);
|
/packages/modules/Bluetooth/system/bta/le_audio/ |
D | codec_interface.cc | 39 const LeAudioCodecConfiguration& pcm_config, in InitEncoder() 49 pcm_config_ = pcm_config; in InitEncoder() 73 const LeAudioCodecConfiguration& pcm_config) { in InitDecoder() 82 pcm_config_ = pcm_config; in InitDecoder() 268 const LeAudioCodecConfiguration& pcm_config, in InitEncoder() argument 270 return impl->InitEncoder(pcm_config, codec_config); in InitEncoder() 274 const LeAudioCodecConfiguration& pcm_config) { in InitDecoder() argument 275 return impl->InitDecoder(codec_config, pcm_config); in InitDecoder()
|
D | mock_codec_interface.cc | 38 const LeAudioCodecConfiguration& pcm_config, in InitEncoder() argument 40 return impl->InitEncoder(pcm_config, codec_config); in InitEncoder() 44 const LeAudioCodecConfiguration& pcm_config) { in InitDecoder() argument 45 return impl->InitDecoder(codec_config, pcm_config); in InitDecoder()
|
D | mock_codec_interface.h | 35 (const bluetooth::le_audio::LeAudioCodecConfiguration& pcm_config, 40 const bluetooth::le_audio::LeAudioCodecConfiguration& pcm_config));
|
D | codec_interface.h | 57 const LeAudioCodecConfiguration& pcm_config, 61 const LeAudioCodecConfiguration& pcm_config);
|
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/ |
D | a2dp_encoding_aidl.cc | 366 bool a2dp_get_selected_hal_pcm_config(PcmConfiguration* pcm_config) { in a2dp_get_selected_hal_pcm_config() argument 367 if (pcm_config == nullptr) return false; in a2dp_get_selected_hal_pcm_config() 371 *pcm_config = BluetoothAudioSinkClientInterface::kInvalidPcmConfiguration; in a2dp_get_selected_hal_pcm_config() 376 pcm_config->sampleRateHz = A2dpCodecToHalSampleRate(current_codec); in a2dp_get_selected_hal_pcm_config() 377 pcm_config->bitsPerSample = A2dpCodecToHalBitsPerSample(current_codec); in a2dp_get_selected_hal_pcm_config() 378 pcm_config->channelMode = A2dpCodecToHalChannelMode(current_codec); in a2dp_get_selected_hal_pcm_config() 379 return (pcm_config->sampleRateHz > 0 && pcm_config->bitsPerSample > 0 && in a2dp_get_selected_hal_pcm_config() 380 pcm_config->channelMode != ChannelMode::UNKNOWN); in a2dp_get_selected_hal_pcm_config() 598 PcmConfiguration pcm_config{}; in setup_codec() local 599 if (!a2dp_get_selected_hal_pcm_config(&pcm_config)) { in setup_codec() [all …]
|
D | hearing_aid_software_encoding_aidl.cc | 241 PcmConfiguration pcm_config{}; in start_session() local 242 if (!HearingAidGetSelectedHalPcmConfig(&pcm_config)) { in start_session() 246 audio_config.set<AudioConfiguration::pcmConfig>(pcm_config); in start_session()
|
D | le_audio_software_aidl.h | 71 PcmConfiguration pcm_config);
|
D | le_audio_software_aidl.cc | 66 PcmConfiguration pcm_config) in LeAudioTransport() argument 72 pcm_config_(std::move(pcm_config)),
|
/packages/modules/Bluetooth/system/audio_hal_interface/ |
D | le_audio_software_host.cc | 113 btle_pcm_parameters pcm_config = { in GetHostPcmConfig() local 120 return pcm_config; in GetHostPcmConfig() 154 btle_pcm_parameters pcm_config = { in GetPeerPcmConfig() local 161 return pcm_config; in GetPeerPcmConfig()
|
D | le_audio_software_host_transport.cc | 30 PcmParameters pcm_config) in LeAudioTransport() argument 36 pcm_config_(std::move(pcm_config)),
|
D | le_audio_software_host_transport.h | 43 PcmParameters pcm_config);
|
D | hfp_client_interface.cc | 61 PcmConfiguration pcm_config{ in get_default_pcm_configuration() local 67 return pcm_config; in get_default_pcm_configuration()
|