Home
last modified time | relevance | path

Searched refs:AudioConfiguration (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Dtransport_instance.h28 using ::aidl::android::hardware::bluetooth::audio::AudioConfiguration;
40 AudioConfiguration audioConfig) in IBluetoothTransportInstance()
46 AudioConfiguration GetAudioConfiguration() const { return audio_config_; } in GetAudioConfiguration()
48 void UpdateAudioConfiguration(const AudioConfiguration& audio_config) { in UpdateAudioConfiguration()
50 case AudioConfiguration::pcmConfig: in UpdateAudioConfiguration()
51 audio_config_.set<AudioConfiguration::pcmConfig>( in UpdateAudioConfiguration()
52 audio_config.get<AudioConfiguration::pcmConfig>()); in UpdateAudioConfiguration()
54 case AudioConfiguration::a2dpConfig: in UpdateAudioConfiguration()
55 audio_config_.set<AudioConfiguration::a2dpConfig>( in UpdateAudioConfiguration()
56 audio_config.get<AudioConfiguration::a2dpConfig>()); in UpdateAudioConfiguration()
[all …]
Dhearing_aid_software_encoding_aidl.cc40 using ::bluetooth::audio::aidl::AudioConfiguration;
55 (AudioConfiguration){}), in HearingAidTransport()
240 AudioConfiguration audio_config; in start_session()
246 audio_config.set<AudioConfiguration::pcmConfig>(pcm_config); in start_session()
Dclient_interface_aidl.cc276 const AudioConfiguration& audio_config) { in UpdateAudioConfig()
307 audio_config_tag == AudioConfiguration::pcmConfig); in UpdateAudioConfig()
310 (audio_config_tag == AudioConfiguration::a2dpConfig || in UpdateAudioConfig()
311 audio_config_tag == AudioConfiguration::a2dp)); in UpdateAudioConfig()
314 audio_config_tag == AudioConfiguration::leAudioConfig); in UpdateAudioConfig()
317 audio_config_tag == AudioConfiguration::leAudioBroadcastConfig); in UpdateAudioConfig()
322 audio_config_tag == AudioConfiguration::hfpConfig); in UpdateAudioConfig()
Da2dp_encoding_aidl.cc50 using ::aidl::android::hardware::bluetooth::audio::AudioConfiguration;
77 : IBluetoothSinkTransportInstance(sessionType, (AudioConfiguration){}), in A2dpTransport()
570 AudioConfiguration(a2dp_stream_configuration)); in setup_codec()
593 AudioConfiguration audio_config{}; in setup_codec()
596 audio_config.set<AudioConfiguration::a2dpConfig>(codec_config); in setup_codec()
603 audio_config.set<AudioConfiguration::pcmConfig>(pcm_config); in setup_codec()
Dle_audio_software_aidl.cc39 using ::aidl::android::hardware::bluetooth::audio::AudioConfiguration;
46 using ::bluetooth::audio::aidl::AudioConfiguration;
384 : IBluetoothSinkTransportInstance(session_type, (AudioConfiguration){}) { in LeAudioSinkTransport()
484 : IBluetoothSourceTransportInstance(session_type, (AudioConfiguration){}) { in LeAudioSourceTransport()
802 AudioConfiguration offload_config_to_hal_audio_config( in offload_config_to_hal_audio_config()
823 return AudioConfiguration(ucast_config); in offload_config_to_hal_audio_config()
Dhfp_client_interface_aidl.cc153 : IBluetoothSinkTransportInstance(session_type, (AudioConfiguration){}) { in HfpDecodingTransport()
205 : IBluetoothSourceTransportInstance(session_type, (AudioConfiguration){}) { in HfpEncodingTransport()
Dclient_interface_aidl.h45 using ::aidl::android::hardware::bluetooth::audio::AudioConfiguration;
112 bool UpdateAudioConfig(const AudioConfiguration& audioConfig);
Dle_audio_software_aidl.h63 AudioConfiguration offload_config_to_hal_audio_config(
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/
Dclient_interface_hidl.h42 using AudioConfiguration = variable
43 ::android::hardware::bluetooth::audio::V2_0::AudioConfiguration;
45 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration;
100 AudioConfiguration audioConfig) in IBluetoothTransportInstance()
116 AudioConfiguration GetAudioConfiguration() const { return audio_config_; } in GetAudioConfiguration()
121 void UpdateAudioConfiguration(const AudioConfiguration& audio_config) { in UpdateAudioConfiguration()
147 AudioConfiguration audio_config_;
157 AudioConfiguration audioConfig) in IBluetoothSinkTransportInstance()
171 AudioConfiguration audioConfig) in IBluetoothSourceTransportInstance()
216 bool UpdateAudioConfig(const AudioConfiguration& audioConfig);
Dhearing_aid_software_encoding_hidl.cc39 using ::bluetooth::audio::hidl::AudioConfiguration;
58 (AudioConfiguration){}), in HearingAidTransport()
229 AudioConfiguration audio_config; in start_session()
Dclient_interface_hidl_unittest.cc46 using ::bluetooth::audio::hidl::AudioConfiguration;
379 AudioConfiguration audio_config = {}; in TEST_F()
499 AudioConfiguration audio_config = {}; in TEST_F()
573 AudioConfiguration audio_config = {}; in TEST_F()
644 AudioConfiguration audio_config = {}; in TEST_F()
710 AudioConfiguration audio_config = {}; in TEST_F()
750 AudioConfiguration audio_config = {}; in TEST_F()
770 AudioConfiguration audio_config = {}; in TEST_F()
793 AudioConfiguration audio_config = {}; in TEST_F()
Da2dp_encoding_hidl.cc47 using ::bluetooth::audio::hidl::AudioConfiguration;
74 : IBluetoothSinkTransportInstance(sessionType, (AudioConfiguration){}), in A2dpTransport()
462 AudioConfiguration audio_config{}; in setup_codec()
Dclient_interface_hidl.cc494 const AudioConfiguration& audio_config) { in UpdateAudioConfig()
506 AudioConfiguration::hidl_discriminator::pcmConfig); in UpdateAudioConfig()
510 AudioConfiguration::hidl_discriminator::codecConfig); in UpdateAudioConfig()
/packages/modules/Bluetooth/system/audio_hal_interface/
Dhfp_client_interface.cc32 using AudioConfiguration = typedef
33 ::aidl::android::hardware::bluetooth::audio::AudioConfiguration;
89 AudioConfiguration offload_config_to_hal_audio_config( in offload_config_to_hal_audio_config()
97 return AudioConfiguration(hfp_config); in offload_config_to_hal_audio_config()
146 AudioConfiguration audio_config; in StartSession()
147 audio_config.set<AudioConfiguration::pcmConfig>( in StartSession()
292 AudioConfiguration audio_config; in StartSession()
293 audio_config.set<AudioConfiguration::pcmConfig>( in StartSession()
438 AudioConfiguration audio_config; in StartSession()
439 audio_config.set<AudioConfiguration::hfpConfig>( in StartSession()
Dle_audio_software_unittest.cc123 (const bluetooth::audio::aidl::AudioConfiguration& /*audio_config*/));
418 const AudioConfiguration& audio_config) { in UpdateAudioConfig()
Dle_audio_software.cc52 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration;
54 ::aidl::android::hardware::bluetooth::audio::AudioConfiguration;
/packages/modules/Bluetooth/system/audio_bluetooth_hw/
Ddevice_port_proxy.cc38 using ::aidl::android::hardware::bluetooth::audio::AudioConfiguration;
342 const AudioConfiguration& hal_audio_cfg = in GetPreferredDataIntervalUs()
344 if (hal_audio_cfg.getTag() != AudioConfiguration::pcmConfig) { in GetPreferredDataIntervalUs()
349 hal_audio_cfg.get<AudioConfiguration::pcmConfig>(); in GetPreferredDataIntervalUs()
364 const AudioConfiguration& hal_audio_cfg = in LoadAudioConfig()
366 if (hal_audio_cfg.getTag() != AudioConfiguration::pcmConfig) { in LoadAudioConfig()
373 hal_audio_cfg.get<AudioConfiguration::pcmConfig>(); in LoadAudioConfig()
401 const AudioConfiguration& hal_audio_cfg = in LoadAudioConfig()
403 if (hal_audio_cfg.getTag() != AudioConfiguration::pcmConfig) { in LoadAudioConfig()
410 hal_audio_cfg.get<AudioConfiguration::pcmConfig>(); in LoadAudioConfig()
Ddevice_port_proxy_hidl.cc330 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration& in GetPreferredDataIntervalUs()
334 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration:: in GetPreferredDataIntervalUs()
545 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration& in LoadAudioConfig()
549 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration:: in LoadAudioConfig()
585 const ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration& in LoadAudioConfig()
589 ::android::hardware::bluetooth::audio::V2_1::AudioConfiguration:: in LoadAudioConfig()
/packages/modules/Bluetooth/system/audio_hal_interface/fuzzer/
Dlibbt_audio_hal_client_interface_fuzzer.cpp44 using ::bluetooth::audio::hidl::AudioConfiguration;
442 AudioConfiguration audioConfig = {}; in process()