/hardware/interfaces/bluetooth/audio/aidl/default/ |
D | A2dpOffloadAudioProvider.cpp | 56 const AudioConfiguration& audio_config, in startSession() argument 58 if (audio_config.getTag() == AudioConfiguration::Tag::a2dp) { in startSession() 59 auto a2dp_config = audio_config.get<AudioConfiguration::Tag::a2dp>(); in startSession() 88 << audio_config.toString(); in startSession() 92 } else if (audio_config.getTag() == AudioConfiguration::Tag::a2dpConfig) { in startSession() 95 audio_config.get<AudioConfiguration::a2dpConfig>())) { in startSession() 97 << audio_config.toString(); in startSession() 103 << audio_config.toString(); in startSession() 109 host_if, audio_config, latency_modes, _aidl_return); in startSession()
|
D | HfpOffloadAudioProvider.cpp | 41 const AudioConfiguration& audio_config, in startSession() argument 43 if (audio_config.getTag() != AudioConfiguration::hfpConfig) { in startSession() 45 << audio_config.toString(); in startSession() 49 return BluetoothAudioProvider::startSession(host_if, audio_config, in startSession()
|
D | HearingAidAudioProvider.cpp | 59 const AudioConfiguration& audio_config, in startSession() argument 61 if (audio_config.getTag() != AudioConfiguration::pcmConfig) { in startSession() 63 << audio_config.toString(); in startSession() 67 const auto& pcm_config = audio_config.get<AudioConfiguration::pcmConfig>(); in startSession() 76 host_if, audio_config, latency_modes, _aidl_return); in startSession()
|
D | A2dpSoftwareAudioProvider.cpp | 73 const AudioConfiguration& audio_config, in startSession() argument 75 if (audio_config.getTag() != AudioConfiguration::pcmConfig) { in startSession() 77 << audio_config.toString(); in startSession() 82 audio_config.get<AudioConfiguration::pcmConfig>(); in startSession() 91 host_if, audio_config, latency_modes, _aidl_return); in startSession()
|
D | HfpSoftwareAudioProvider.cpp | 53 const AudioConfiguration& audio_config, in startSession() argument 55 if (audio_config.getTag() != AudioConfiguration::pcmConfig) { in startSession() 57 << audio_config.toString(); in startSession() 62 audio_config.get<AudioConfiguration::pcmConfig>(); in startSession() 119 return BluetoothAudioProvider::startSession(host_if, audio_config, in startSession()
|
D | LeAudioSoftwareAudioProvider.cpp | 72 const AudioConfiguration& audio_config, in startSession() argument 74 if (audio_config.getTag() != AudioConfiguration::pcmConfig) { in startSession() 76 << audio_config.toString(); in startSession() 79 const auto& pcm_config = audio_config.get<AudioConfiguration::pcmConfig>(); in startSession() 128 host_if, audio_config, latency_modes, _aidl_return); in startSession()
|
D | BluetoothAudioProvider.cpp | 61 const AudioConfiguration& audio_config, in startSession() argument 72 audio_config_ = std::make_unique<AudioConfiguration>(audio_config); in startSession() 135 const AudioConfiguration& audio_config) { in updateAudioConfiguration() argument 142 if (audio_config.getTag() != audio_config_->getTag()) { in updateAudioConfiguration() 148 audio_config_ = std::make_unique<AudioConfiguration>(audio_config); in updateAudioConfiguration() 152 << " | audio_config=" << audio_config.toString(); in updateAudioConfiguration()
|
D | HfpOffloadAudioProvider.h | 35 const AudioConfiguration& audio_config,
|
D | HearingAidAudioProvider.h | 35 const AudioConfiguration& audio_config,
|
D | HfpSoftwareAudioProvider.h | 35 const AudioConfiguration& audio_config,
|
D | A2dpSoftwareAudioProvider.h | 35 const AudioConfiguration& audio_config,
|
D | LeAudioSoftwareAudioProvider.h | 35 const AudioConfiguration& audio_config,
|
/hardware/interfaces/bluetooth/audio/utils/session/ |
D | BluetoothAudioSession_2_1.cpp | 126 audio_config) { in UpdateAudioConfig() 137 auto audio_config_discriminator = audio_config.getDiscriminator(); in UpdateAudioConfig() 151 audio_config_2_1_ = audio_config; in UpdateAudioConfig() 161 audio_config) { in OnSessionStarted() 164 if (audio_config.getDiscriminator() == in OnSessionStarted() 167 config.codecConfig(audio_config.codecConfig()); in OnSessionStarted() 169 auto& tmpPcm = audio_config.pcmConfig(); in OnSessionStarted() 185 } else if (!UpdateAudioConfig(audio_config)) { in OnSessionStarted() 187 << ", AudioConfiguration=" << toString(audio_config) in OnSessionStarted() 199 << ", AudioConfiguration=" << toString(audio_config); in OnSessionStarted()
|
D | BluetoothAudioSessionReport.h | 32 const AudioConfiguration& audio_config) { in OnSessionStarted() argument 36 session_ptr->OnSessionStarted(host_iface, dataMQ, audio_config); in OnSessionStarted()
|
D | BluetoothAudioSessionReport_2_1.h | 35 audio_config) { in OnSessionStarted() 39 session_ptr->OnSessionStarted(host_iface, dataMQ, audio_config); in OnSessionStarted()
|
D | BluetoothAudioSession_2_1.h | 42 audio_config); 63 audio_config);
|
D | BluetoothAudioSession.cpp | 70 const AudioConfiguration& audio_config) { in OnSessionStarted() argument 75 } else if (!UpdateAudioConfig(audio_config)) { in OnSessionStarted() 77 << ", AudioConfiguration=" << toString(audio_config) in OnSessionStarted() 89 << ", AudioConfiguration=" << toString(audio_config); in OnSessionStarted() 181 const AudioConfiguration& audio_config) { in UpdateAudioConfig() argument 187 auto audio_config_discriminator = audio_config.getDiscriminator(); in UpdateAudioConfig() 199 audio_config_ = audio_config; in UpdateAudioConfig()
|
D | BluetoothAudioSession.h | 105 bool UpdateAudioConfig(const AudioConfiguration& audio_config); 121 const AudioConfiguration& audio_config);
|
/hardware/interfaces/bluetooth/audio/utils/aidl_session/ |
D | BluetoothAudioSessionReport.h | 36 const DataMQDesc* data_mq, const AudioConfiguration& audio_config, in OnSessionStarted() argument 41 session_ptr->OnSessionStarted(host_iface, data_mq, audio_config, in OnSessionStarted() 76 const AudioConfiguration& audio_config) { in ReportAudioConfigChanged() argument 80 session_ptr->ReportAudioConfigChanged(audio_config); in ReportAudioConfigChanged()
|
D | BluetoothAudioSession.cpp | 59 const DataMQDesc* mq_desc, const AudioConfiguration& audio_config, in OnSessionStarted() argument 65 } else if (!UpdateAudioConfig(audio_config)) { in OnSessionStarted() 67 << ", AudioConfiguration=" << audio_config.toString() in OnSessionStarted() 78 << ", AudioConfiguration=" << audio_config.toString(); in OnSessionStarted() 123 const AudioConfiguration& audio_config) { in ReportAudioConfigChanged() argument 130 if (audio_config.getTag() != AudioConfiguration::leAudioConfig) { in ReportAudioConfigChanged() 137 if (audio_config.getTag() != AudioConfiguration::leAudioBroadcastConfig) { in ReportAudioConfigChanged() 154 if (audio_config.getTag() != AudioConfiguration::leAudioConfig) { in ReportAudioConfigChanged() 161 audio_config_ = std::make_unique<AudioConfiguration>(audio_config); in ReportAudioConfigChanged() 310 const AudioConfiguration& audio_config) { in UpdateAudioConfig() argument [all …]
|
D | HidlToAidlMiddleware.cpp | 374 const AudioConfiguration& audio_config) { in to_hidl_audio_config_2_0() argument 376 if (audio_config.getTag() == AudioConfiguration::pcmConfig) { in to_hidl_audio_config_2_0() 378 audio_config.get<AudioConfiguration::pcmConfig>())); in to_hidl_audio_config_2_0() 379 } else if (audio_config.getTag() == AudioConfiguration::a2dpConfig) { in to_hidl_audio_config_2_0() 381 audio_config.get<AudioConfiguration::a2dpConfig>())); in to_hidl_audio_config_2_0() 459 const AudioConfiguration& audio_config) { in to_hidl_audio_config_2_1() argument 461 switch (audio_config.getTag()) { in to_hidl_audio_config_2_1() 464 audio_config.get<AudioConfiguration::pcmConfig>())); in to_hidl_audio_config_2_1() 468 audio_config.get<AudioConfiguration::a2dpConfig>())); in to_hidl_audio_config_2_1() 474 audio_config.get<AudioConfiguration::leAudioConfig>())); in to_hidl_audio_config_2_1() [all …]
|
D | BluetoothAudioSession.h | 127 const AudioConfiguration& audio_config, 170 void ReportAudioConfigChanged(const AudioConfiguration& audio_config); 223 bool UpdateAudioConfig(const AudioConfiguration& audio_config);
|
/hardware/interfaces/bluetooth/audio/2.0/vts/functional/ |
D | VtsHalBluetoothAudioV2_0TargetTest.cpp | 347 AudioConfiguration audio_config = {}; in TEST_P() local 356 audio_config.pcmConfig(pcm_parameters); in TEST_P() 358 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P() 617 AudioConfiguration audio_config = {}; in TEST_P() local 627 audio_config.codecConfig(codec_config); in TEST_P() 629 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P() 652 AudioConfiguration audio_config = {}; in TEST_P() local 662 audio_config.codecConfig(codec_config); in TEST_P() 664 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P() 687 AudioConfiguration audio_config = {}; in TEST_P() local [all …]
|
/hardware/interfaces/bluetooth/audio/2.1/vts/functional/ |
D | VtsHalBluetoothAudioV2_1TargetTest.cpp | 434 AudioConfiguration audio_config = {}; in TEST_P() local 443 audio_config.pcmConfig(pcm_parameters); in TEST_P() 445 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P() 712 AudioConfiguration audio_config = {}; in TEST_P() local 722 audio_config.codecConfig(codec_config); in TEST_P() 724 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P() 747 AudioConfiguration audio_config = {}; in TEST_P() local 757 audio_config.codecConfig(codec_config); in TEST_P() 759 audio_provider_->startSession(audio_port_, audio_config, hidl_cb); in TEST_P() 782 AudioConfiguration audio_config = {}; in TEST_P() local [all …]
|
/hardware/libhardware/modules/soundtrigger/ |
D | sound_trigger_hw.c | 276 event->common.audio_config = AUDIO_CONFIG_INITIALIZER; in sound_trigger_keyphrase_event_alloc() 277 event->common.audio_config.sample_rate = 16000; in sound_trigger_keyphrase_event_alloc() 278 event->common.audio_config.channel_mask = AUDIO_CHANNEL_IN_MONO; in sound_trigger_keyphrase_event_alloc() 279 event->common.audio_config.format = AUDIO_FORMAT_PCM_16_BIT; in sound_trigger_keyphrase_event_alloc() 296 event->common.audio_config = AUDIO_CONFIG_INITIALIZER; in sound_trigger_generic_event_alloc() 297 event->common.audio_config.sample_rate = 16000; in sound_trigger_generic_event_alloc() 298 event->common.audio_config.channel_mask = AUDIO_CHANNEL_IN_MONO; in sound_trigger_generic_event_alloc() 299 event->common.audio_config.format = AUDIO_FORMAT_PCM_16_BIT; in sound_trigger_generic_event_alloc()
|