Home
last modified time | relevance | path

Searched refs:btav_a2dp_codec_config_t (Results 1 – 25 of 39) sorted by relevance

12

/system/bt/test/mock/
Dmock_a2dp_codec_config.cc66 const std::vector<btav_a2dp_codec_config_t>& codec_priorities) in A2dpCodecs()
130 const btav_a2dp_codec_config_t& codec_config) { in codecConfigIsValid()
143 const btav_a2dp_codec_config_t& codec_config) { in isCodecConfigEmpty()
152 const btav_a2dp_codec_config_t& codec_user_config, in setCodecUserConfig()
153 const btav_a2dp_codec_config_t& codec_audio_config, in setCodecUserConfig()
162 btav_a2dp_codec_config_t* p_codec_config, in getCodecConfigAndCapabilities()
163 std::vector<btav_a2dp_codec_config_t>* p_codecs_local_capabilities, in getCodecConfigAndCapabilities()
164 std::vector<btav_a2dp_codec_config_t>* p_codecs_selectable_capabilities) { in getCodecConfigAndCapabilities()
177 const btav_a2dp_codec_config_t& codec_audio_config, in setCodecAudioConfig()
200 const btav_a2dp_codec_config_t& codec_user_config, in setCodecUserConfig()
[all …]
Dmock_stack_a2dp_codec_config.cc66 const std::vector<btav_a2dp_codec_config_t>& codec_priorities) in A2dpCodecs()
130 const btav_a2dp_codec_config_t& codec_config) { in codecConfigIsValid()
143 const btav_a2dp_codec_config_t& codec_config) { in isCodecConfigEmpty()
152 const btav_a2dp_codec_config_t& codec_user_config, in setCodecUserConfig()
153 const btav_a2dp_codec_config_t& codec_audio_config, in setCodecUserConfig()
162 btav_a2dp_codec_config_t* p_codec_config, in getCodecConfigAndCapabilities()
163 std::vector<btav_a2dp_codec_config_t>* p_codecs_local_capabilities, in getCodecConfigAndCapabilities()
164 std::vector<btav_a2dp_codec_config_t>* p_codecs_selectable_capabilities) { in getCodecConfigAndCapabilities()
177 const btav_a2dp_codec_config_t& codec_audio_config, in setCodecAudioConfig()
200 const btav_a2dp_codec_config_t& codec_user_config, in setCodecUserConfig()
[all …]
/system/bt/stack/include/
Da2dp_codec_api.h87 btav_a2dp_codec_config_t getCodecConfig();
95 btav_a2dp_codec_config_t getCodecCapability();
99 btav_a2dp_codec_config_t getCodecLocalCapability();
106 btav_a2dp_codec_config_t getCodecSelectableCapability();
110 btav_a2dp_codec_config_t getCodecUserConfig();
114 btav_a2dp_codec_config_t getCodecAudioConfig();
134 static bool isCodecConfigEmpty(const btav_a2dp_codec_config_t& codec_config);
176 const btav_a2dp_codec_config_t& codec_user_config,
177 const btav_a2dp_codec_config_t& codec_audio_config,
224 static bool codecConfigIsValid(const btav_a2dp_codec_config_t& codec_config);
[all …]
/system/bt/audio_hal_interface/
Dcodec_status.h37 const btav_a2dp_codec_config_t& a2dp_codec_config);
39 const btav_a2dp_codec_config_t& a2dp_codec_config);
41 const btav_a2dp_codec_config_t& a2dp_codec_config);
53 const std::vector<btav_a2dp_codec_config_t>& framework_preference);
Dcodec_status.cc165 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalSampleRate()
189 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalBitsPerSample()
203 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalChannelMode()
216 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpSbcToHalConfig()
308 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpAacToHalConfig()
374 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpAptxToHalConfig()
413 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpLdacToHalConfig()
474 const std::vector<btav_a2dp_codec_config_t>& framework_preference) { in UpdateOffloadingCapabilities()
Da2dp_encoding_host.cc24 const std::vector<btav_a2dp_codec_config_t>& framework_preference) { in update_codec_offloading_capabilities()
Da2dp_encoding.h29 const std::vector<btav_a2dp_codec_config_t>& framework_preference);
/system/bt/btif/include/
Dbtif_av_co.h55 const btav_a2dp_codec_config_t& codec_user_config, bool* p_restart_output);
62 const btav_a2dp_codec_config_t& codec_audio_config);
67 const std::vector<btav_a2dp_codec_config_t>& codec_priorities);
Dbtif_av.h140 const btav_a2dp_codec_config_t& codec_config,
141 const std::vector<btav_a2dp_codec_config_t>& codecs_local_capabilities,
142 const std::vector<btav_a2dp_codec_config_t>&
Dbtif_a2dp_source.h95 const std::vector<btav_a2dp_codec_config_t>& codec_user_preferences,
103 const btav_a2dp_codec_config_t& codec_audio_config);
/system/bt/service/
Da2dp_source.cc51 btav_a2dp_codec_config_t CodecConfigToFluoride(const A2dpCodecConfig& config) { in CodecConfigToFluoride()
52 btav_a2dp_codec_config_t ret = { in CodecConfigToFluoride()
71 std::vector<btav_a2dp_codec_config_t> CodecConfigsToFluoride( in CodecConfigsToFluoride()
73 std::vector<btav_a2dp_codec_config_t> ret; in CodecConfigsToFluoride()
81 A2dpCodecConfig FluorideCodecToCodec(const btav_a2dp_codec_config_t& config) { in FluorideCodecToCodec()
92 const std::vector<btav_a2dp_codec_config_t>& configs) { in FluorideCodecsToCodec()
184 const btav_a2dp_codec_config_t& codec_config_fluoride, in AudioConfigCallback()
185 const std::vector<btav_a2dp_codec_config_t> in AudioConfigCallback()
187 const std::vector<btav_a2dp_codec_config_t> in AudioConfigCallback()
Da2dp_source.h81 const btav_a2dp_codec_config_t& codec_config,
82 const std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities,
83 const std::vector<btav_a2dp_codec_config_t>
/system/bt/stack/test/fuzzers/a2dp/codec/
Da2dpCodecFuzzFunctions.h43 std::vector<btav_a2dp_codec_config_t> codec_priorities;
50 const std::vector<btav_a2dp_codec_config_t>& codec_priorities_const =
200 const btav_a2dp_codec_config_t codec_user_config =
211 btav_a2dp_codec_config_t result_codec_config;
229 const btav_a2dp_codec_config_t codec_audio_config =
238 btav_a2dp_codec_config_t result_codec_config;
263 btav_a2dp_codec_config_t result_codec_config;
313 std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities;
314 std::vector<btav_a2dp_codec_config_t> codecs_selectable_capabilities;
315 btav_a2dp_codec_config_t codec_config;
/system/bt/service/hal/
Dbluetooth_av_interface.h40 const btav_a2dp_codec_config_t& codec_config,
41 const std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities,
42 const std::vector<btav_a2dp_codec_config_t>
76 std::vector<btav_a2dp_codec_config_t> codec_priorities) = 0;
Dfake_bluetooth_av_interface.h69 const RawAddress& bda, const btav_a2dp_codec_config_t& codec_config,
70 const std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities,
71 const std::vector<btav_a2dp_codec_config_t>
80 std::vector<btav_a2dp_codec_config_t> codec_priorities) override;
Dfake_bluetooth_av_interface.cc33 const std::vector<btav_a2dp_codec_config_t>& codec_priorities, in FakeSourceInit()
34 const std::vector<btav_a2dp_codec_config_t>& offloading_preference) { in FakeSourceInit()
128 const RawAddress& bda, const btav_a2dp_codec_config_t& codec_config, in NotifyAudioConfig()
129 const std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities, in NotifyAudioConfig()
130 const std::vector<btav_a2dp_codec_config_t> in NotifyAudioConfig()
158 std::vector<btav_a2dp_codec_config_t> codec_priorities) { in A2dpSourceEnable()
Dbluetooth_av_interface.cc80 const RawAddress& bd_addr, btav_a2dp_codec_config_t codec_config, in SourceAudioConfigCallback()
81 std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities, in SourceAudioConfigCallback()
82 std::vector<btav_a2dp_codec_config_t> codecs_selectable_capabilities) { in SourceAudioConfigCallback()
155 std::vector<btav_a2dp_codec_config_t> codec_priorities) override { in A2dpSourceEnable()
162 std::vector<btav_a2dp_codec_config_t> offloading_preference(0); in A2dpSourceEnable()
311 const btav_a2dp_codec_config_t& codec_config, in AudioConfigCallback()
312 const std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities, in AudioConfigCallback()
313 const std::vector<btav_a2dp_codec_config_t> in AudioConfigCallback()
/system/bt/include/hardware/
Dbt_av.h243 } btav_a2dp_codec_config_t; typedef
266 const RawAddress& bd_addr, btav_a2dp_codec_config_t codec_config,
267 std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities,
268 std::vector<btav_a2dp_codec_config_t> codecs_selectable_capabilities);
326 const std::vector<btav_a2dp_codec_config_t>& codec_priorities,
327 const std::vector<btav_a2dp_codec_config_t>& offloading_preference);
344 std::vector<btav_a2dp_codec_config_t> codec_preferences);
/system/bt/stack/a2dp/
Da2dp_codec_config.cc54 btav_a2dp_codec_config_t* codec_config, btav_a2dp_codec_index_t codec_index, in init_btav_a2dp_codec_config()
56 memset(codec_config, 0, sizeof(btav_a2dp_codec_config_t)); in init_btav_a2dp_codec_config()
273 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecConfig() { in getCodecConfig()
280 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecCapability() { in getCodecCapability()
287 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecLocalCapability() { in getCodecLocalCapability()
294 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecSelectableCapability() { in getCodecSelectableCapability()
301 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecUserConfig() { in getCodecUserConfig()
307 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecAudioConfig() { in getCodecAudioConfig()
330 const btav_a2dp_codec_config_t& codec_config) { in isCodecConfigEmpty()
343 const btav_a2dp_codec_config_t& codec_user_config, in setCodecUserConfig()
[all …]
Da2dp_vendor_aptx.cc481 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate()
502 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t sampleRate, in select_audio_sample_rate()
503 tA2DP_APTX_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate()
537 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample()
548 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample()
549 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample()
569 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode()
590 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t channelMode, in select_audio_channel_mode()
591 tA2DP_APTX_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_channel_mode()
624 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig()
[all …]
Da2dp_vendor_aptx_hd.cc499 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate()
520 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t sampleRate, in select_audio_sample_rate()
521 tA2DP_APTX_HD_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate()
555 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample()
566 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample()
567 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample()
587 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode()
608 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t channelMode, in select_audio_channel_mode()
609 tA2DP_APTX_HD_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_channel_mode()
642 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig()
[all …]
Da2dp_vendor_ldac.cc358 btav_a2dp_codec_config_t codec_config_ = current_codec->getCodecConfig(); in A2DP_VendorGetBitRateLdac()
638 btav_a2dp_codec_config_t* result) { in build_codec_config()
722 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate()
763 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t sampleRate, in select_audio_sample_rate()
764 tA2DP_LDAC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate()
824 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample()
850 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample()
852 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample()
888 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode()
914 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t channelMode, in select_audio_channel_mode()
[all …]
Da2dp_aac.cc753 btav_a2dp_codec_config_t* result) { in build_codec_config()
823 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate()
854 const btav_a2dp_codec_config_t* p_codec_audio_config, uint16_t sampleRate, in select_audio_sample_rate()
855 tA2DP_AAC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate()
903 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample()
929 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample()
931 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample()
967 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode()
988 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t channelMode, in select_audio_channel_mode()
989 tA2DP_AAC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_channel_mode()
[all …]
Da2dp_sbc.cc845 btav_a2dp_codec_config_t* result) { in build_codec_config()
911 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate()
932 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t samp_freq, in select_audio_sample_rate()
933 tA2DP_SBC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate()
968 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample()
979 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample()
980 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample()
999 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode()
1030 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t ch_mode, in select_audio_channel_mode()
1031 tA2DP_SBC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_channel_mode()
[all …]
/system/bt/service/test/
Da2dp_source_unittest.cc233 const btav_a2dp_codec_config_t codec_config{}; in TEST_F()
234 const std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities(0); in TEST_F()
235 const std::vector<btav_a2dp_codec_config_t> codecs_selectable_capabilities(0); in TEST_F()

12