/system/bt/test/mock/ |
D | mock_a2dp_codec_config.cc | 66 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 …]
|
D | mock_stack_a2dp_codec_config.cc | 66 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/ |
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 | 165 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()
|
D | a2dp_encoding_host.cc | 24 const std::vector<btav_a2dp_codec_config_t>& framework_preference) { in update_codec_offloading_capabilities()
|
D | a2dp_encoding.h | 29 const std::vector<btav_a2dp_codec_config_t>& framework_preference);
|
/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 | 140 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>&
|
D | btif_a2dp_source.h | 95 const std::vector<btav_a2dp_codec_config_t>& codec_user_preferences, 103 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/stack/test/fuzzers/a2dp/codec/ |
D | a2dpCodecFuzzFunctions.h | 43 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/ |
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 | 69 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;
|
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() 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()
|
D | bluetooth_av_interface.cc | 80 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/ |
D | bt_av.h | 243 } 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/ |
D | a2dp_codec_config.cc | 54 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 …]
|
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_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_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 | 845 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/ |
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()
|