/system/bt/stack/include/ |
D | a2dp_codec_api.h | 87 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/ |
D | codec_status.h | 37 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);
|
D | codec_status.cc | 163 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalSampleRate() 187 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalBitsPerSample() 201 const btav_a2dp_codec_config_t& a2dp_codec_config) { in A2dpCodecToHalChannelMode() 214 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpSbcToHalConfig() 306 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpAacToHalConfig() 372 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpAptxToHalConfig() 411 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in A2dpLdacToHalConfig() 472 const std::vector<btav_a2dp_codec_config_t>& framework_preference) { in UpdateOffloadingCapabilities()
|
D | a2dp_encoding.h | 29 const std::vector<btav_a2dp_codec_config_t>& framework_preference);
|
D | a2dp_encoding.cc | 230 btav_a2dp_codec_config_t current_codec = a2dp_config->getCodecConfig(); in a2dp_get_selected_hal_codec_config() 295 btav_a2dp_codec_config_t current_codec = a2dp_codec_configs->getCodecConfig(); in a2dp_get_selected_hal_pcm_config() 319 const std::vector<btav_a2dp_codec_config_t>& framework_preference) { in update_codec_offloading_capabilities()
|
/system/bt/btif/include/ |
D | btif_av_co.h | 55 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);
|
D | btif_av.h | 135 const btav_a2dp_codec_config_t& codec_config, 136 const std::vector<btav_a2dp_codec_config_t>& codecs_local_capabilities, 137 const std::vector<btav_a2dp_codec_config_t>&
|
D | btif_a2dp_source.h | 92 const std::vector<btav_a2dp_codec_config_t>& codec_user_preferences, 100 const btav_a2dp_codec_config_t& codec_audio_config);
|
/system/bt/service/ |
D | a2dp_source.cc | 51 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()
|
D | a2dp_source.h | 81 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/service/hal/ |
D | bluetooth_av_interface.h | 40 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;
|
D | fake_bluetooth_av_interface.h | 68 const RawAddress& bda, const btav_a2dp_codec_config_t& codec_config, 69 const std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities, 70 const std::vector<btav_a2dp_codec_config_t> 79 std::vector<btav_a2dp_codec_config_t> codec_priorities) override;
|
D | fake_bluetooth_av_interface.cc | 33 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() 127 const RawAddress& bda, const btav_a2dp_codec_config_t& codec_config, in NotifyAudioConfig() 128 const std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities, in NotifyAudioConfig() 129 const std::vector<btav_a2dp_codec_config_t> in NotifyAudioConfig() 157 std::vector<btav_a2dp_codec_config_t> codec_priorities) { in A2dpSourceEnable()
|
D | bluetooth_av_interface.cc | 79 const RawAddress& bd_addr, btav_a2dp_codec_config_t codec_config, in SourceAudioConfigCallback() 80 std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities, in SourceAudioConfigCallback() 81 std::vector<btav_a2dp_codec_config_t> codecs_selectable_capabilities) { in SourceAudioConfigCallback() 154 std::vector<btav_a2dp_codec_config_t> codec_priorities) override { in A2dpSourceEnable() 161 std::vector<btav_a2dp_codec_config_t> offloading_preference(0); in A2dpSourceEnable() 305 const btav_a2dp_codec_config_t& codec_config, in AudioConfigCallback() 306 const std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities, in AudioConfigCallback() 307 const std::vector<btav_a2dp_codec_config_t> in AudioConfigCallback()
|
/system/bt/include/hardware/ |
D | bt_av.h | 238 } btav_a2dp_codec_config_t; typedef 256 const RawAddress& bd_addr, btav_a2dp_codec_config_t codec_config, 257 std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities, 258 std::vector<btav_a2dp_codec_config_t> codecs_selectable_capabilities); 316 const std::vector<btav_a2dp_codec_config_t>& codec_priorities, 317 const std::vector<btav_a2dp_codec_config_t>& offloading_preference); 334 std::vector<btav_a2dp_codec_config_t> codec_preferences);
|
/system/bt/stack/a2dp/ |
D | a2dp_codec_config.cc | 50 btav_a2dp_codec_config_t* codec_config, btav_a2dp_codec_index_t codec_index, in init_btav_a2dp_codec_config() 52 memset(codec_config, 0, sizeof(btav_a2dp_codec_config_t)); in init_btav_a2dp_codec_config() 262 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecConfig() { in getCodecConfig() 269 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecCapability() { in getCodecCapability() 276 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecLocalCapability() { in getCodecLocalCapability() 283 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecSelectableCapability() { in getCodecSelectableCapability() 290 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecUserConfig() { in getCodecUserConfig() 296 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecAudioConfig() { in getCodecAudioConfig() 319 const btav_a2dp_codec_config_t& codec_config) { in isCodecConfigEmpty() 332 const btav_a2dp_codec_config_t& codec_user_config, in setCodecUserConfig() [all …]
|
D | a2dp_vendor_aptx_hd.cc | 499 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 …]
|
D | a2dp_vendor_aptx.cc | 481 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 …]
|
D | a2dp_vendor_ldac.cc | 358 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 …]
|
D | a2dp_aac.cc | 753 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 …]
|
D | a2dp_sbc.cc | 842 btav_a2dp_codec_config_t* result) { in build_codec_config() 908 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate() 929 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t samp_freq, in select_audio_sample_rate() 930 tA2DP_SBC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate() 965 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample() 976 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample() 977 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample() 996 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode() 1027 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t ch_mode, in select_audio_channel_mode() 1028 tA2DP_SBC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_channel_mode() [all …]
|
/system/bt/service/test/ |
D | a2dp_source_unittest.cc | 233 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()
|
/system/bt/btif/co/ |
D | bta_av_co.cc | 111 void Init(const std::vector<btav_a2dp_codec_config_t>& codec_priorities); 179 void Init(const std::vector<btav_a2dp_codec_config_t>& codec_priorities); 426 const btav_a2dp_codec_config_t& codec_user_config, 435 bool SetCodecAudioConfig(const btav_a2dp_codec_config_t& codec_audio_config); 689 std::vector<btav_a2dp_codec_config_t> codec_priorities_; // Configured 709 const std::vector<btav_a2dp_codec_config_t>& codec_priorities) { in Init() 750 const std::vector<btav_a2dp_codec_config_t>& codec_priorities) { in Init() 987 btav_a2dp_codec_config_t high_priority_mandatory{ in ProcessSourceGetConfig() 1492 const btav_a2dp_codec_config_t& codec_user_config, bool* p_restart_output) { in SetCodecUserConfig() 1587 const btav_a2dp_codec_config_t& codec_audio_config) { in SetCodecAudioConfig() [all …]
|
/system/bt/btif/src/ |
D | btif_a2dp_control.cc | 200 btav_a2dp_codec_config_t codec_config; in btif_a2dp_recv_ctrl_data() 201 btav_a2dp_codec_config_t codec_capability; in btif_a2dp_recv_ctrl_data() 242 btav_a2dp_codec_config_t codec_config; in btif_a2dp_recv_ctrl_data()
|
/system/bt/bta/hearing_aid/ |
D | hearing_aid_audio_source.cc | 197 btav_a2dp_codec_config_t codec_config; in hearing_aid_recv_ctrl_data() 198 btav_a2dp_codec_config_t codec_capability; in hearing_aid_recv_ctrl_data() 243 btav_a2dp_codec_config_t codec_config; in hearing_aid_recv_ctrl_data()
|