/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_a2dp_codec_config.cc | 61 const std::vector<btav_a2dp_codec_config_t>& /* codec_priorities */) in A2dpCodecs() argument 131 const btav_a2dp_codec_config_t& /* codec_config */) { in codecConfigIsValid() argument 145 const btav_a2dp_codec_config_t& /* codec_config */) { in isCodecConfigEmpty() argument 154 const btav_a2dp_codec_config_t& /* codec_user_config */, in setCodecUserConfig() argument 155 const btav_a2dp_codec_config_t& /* codec_audio_config */, in setCodecUserConfig() 164 btav_a2dp_codec_config_t* /* p_codec_config */, in getCodecConfigAndCapabilities() argument 165 std::vector<btav_a2dp_codec_config_t>* /* p_codecs_local_capabilities */, in getCodecConfigAndCapabilities() argument 167 btav_a2dp_codec_config_t>* /* p_codecs_selectable_capabilities */) { in getCodecConfigAndCapabilities() 180 const btav_a2dp_codec_config_t& /* codec_audio_config */, in setCodecAudioConfig() argument 204 const btav_a2dp_codec_config_t& /* codec_user_config */, in setCodecUserConfig() argument [all …]
|
D | mock_a2dp_codec_config.cc | 54 const std::vector<btav_a2dp_codec_config_t>& codec_priorities) in A2dpCodecs() 122 const btav_a2dp_codec_config_t& codec_config) { in codecConfigIsValid() 135 const btav_a2dp_codec_config_t& codec_config) { in isCodecConfigEmpty() 144 const btav_a2dp_codec_config_t& codec_user_config, in setCodecUserConfig() 145 const btav_a2dp_codec_config_t& codec_audio_config, in setCodecUserConfig() 154 btav_a2dp_codec_config_t* p_codec_config, in getCodecConfigAndCapabilities() 155 std::vector<btav_a2dp_codec_config_t>* p_codecs_local_capabilities, in getCodecConfigAndCapabilities() 156 std::vector<btav_a2dp_codec_config_t>* p_codecs_selectable_capabilities) { in getCodecConfigAndCapabilities() 169 const btav_a2dp_codec_config_t& codec_audio_config, in setCodecAudioConfig() 192 const btav_a2dp_codec_config_t& codec_user_config, in setCodecUserConfig() [all …]
|
D | mock_audio_hal_interface_a2dp_encoding.h | 98 btav_a2dp_codec_config_t* codec_config)> 101 btav_a2dp_codec_config_t* /* codec_config */) { 105 uint8_t* codec_info, btav_a2dp_codec_config_t* codec_config) { in operator() 129 btav_a2dp_codec_config_t const& user_preferences)> 132 btav_a2dp_codec_config_t const& /* user_preferences */) { 138 btav_a2dp_codec_config_t const& user_preferences) { in operator() 197 btav_a2dp_codec_config_t* codec_parameters, 201 btav_a2dp_codec_config_t* /* codec_parameters */, 207 btav_a2dp_codec_config_t* codec_parameters, in operator() 314 const std::vector<btav_a2dp_codec_config_t>& framework_preference, [all …]
|
D | mock_btif_co_bta_av_co.h | 307 const std::vector<btav_a2dp_codec_config_t>& codec_priorities, 310 btav_a2dp_codec_config_t>& /* codec_priorities */, 312 void operator()(const std::vector<btav_a2dp_codec_config_t>& codec_priorities, in operator() 350 std::function<bool(const btav_a2dp_codec_config_t& codec_audio_config)> body{ 351 [](const btav_a2dp_codec_config_t& /* codec_audio_config */) { 354 bool operator()(const btav_a2dp_codec_config_t& codec_audio_config) { in operator() 366 const btav_a2dp_codec_config_t& codec_user_config, 369 const btav_a2dp_codec_config_t& /* codec_user_config */, 372 const btav_a2dp_codec_config_t& codec_user_config, in operator()
|
D | mock_btif_av.h | 344 const btav_a2dp_codec_config_t& codec_config, 345 const std::vector<btav_a2dp_codec_config_t>& codecs_local_capabilities, 346 const std::vector<btav_a2dp_codec_config_t>& 349 const btav_a2dp_codec_config_t& /* codec_config */, 350 const std::vector<btav_a2dp_codec_config_t>& 352 const std::vector<btav_a2dp_codec_config_t>& 356 const btav_a2dp_codec_config_t& codec_config, in operator() 357 const std::vector<btav_a2dp_codec_config_t>& codecs_local_capabilities, in operator() 358 const std::vector<btav_a2dp_codec_config_t>& in operator()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | a2dp_codec_api.h | 102 btav_a2dp_codec_config_t getCodecConfig(); 110 btav_a2dp_codec_config_t getCodecCapability(); 114 btav_a2dp_codec_config_t getCodecLocalCapability(); 121 btav_a2dp_codec_config_t getCodecSelectableCapability(); 125 btav_a2dp_codec_config_t getCodecUserConfig(); 129 btav_a2dp_codec_config_t getCodecAudioConfig(); 144 static bool isCodecConfigEmpty(const btav_a2dp_codec_config_t& codec_config); 185 bool setCodecUserConfig(const btav_a2dp_codec_config_t& codec_user_config, 186 const btav_a2dp_codec_config_t& codec_audio_config, 217 static bool codecConfigIsValid(const btav_a2dp_codec_config_t& codec_config); [all …]
|
/packages/modules/Bluetooth/system/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;
|
/packages/modules/Bluetooth/system/stack/a2dp/ |
D | a2dp_codec_config.cc | 56 btav_a2dp_codec_config_t* codec_config, btav_a2dp_codec_index_t codec_index, in init_btav_a2dp_codec_config() 58 memset(codec_config, 0, sizeof(btav_a2dp_codec_config_t)); in init_btav_a2dp_codec_config() 287 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecConfig() { in getCodecConfig() 294 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecCapability() { in getCodecCapability() 301 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecLocalCapability() { in getCodecLocalCapability() 308 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecSelectableCapability() { in getCodecSelectableCapability() 315 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecUserConfig() { in getCodecUserConfig() 321 btav_a2dp_codec_config_t A2dpCodecConfig::getCodecAudioConfig() { in getCodecAudioConfig() 344 const btav_a2dp_codec_config_t& codec_config) { in isCodecConfigEmpty() 357 const btav_a2dp_codec_config_t& codec_user_config, in setCodecUserConfig() [all …]
|
D | a2dp_vendor_aptx_hd.cc | 494 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate() 515 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t sampleRate, in select_audio_sample_rate() 516 tA2DP_APTX_HD_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate() 550 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample() 561 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample() 562 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample() 582 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode() 603 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t channelMode, in select_audio_channel_mode() 604 tA2DP_APTX_HD_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_channel_mode() 637 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig() [all …]
|
D | a2dp_vendor_aptx.cc | 471 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate() 492 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t sampleRate, in select_audio_sample_rate() 493 tA2DP_APTX_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate() 527 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample() 538 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample() 539 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample() 559 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode() 580 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t channelMode, in select_audio_channel_mode() 581 tA2DP_APTX_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_channel_mode() 617 btav_a2dp_codec_config_t saved_codec_config = codec_config_; in setCodecConfig() [all …]
|
D | a2dp_vendor_opus.cc | 678 btav_a2dp_codec_config_t* result) { in build_codec_config() 732 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate() 748 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t sampleRate, in select_audio_sample_rate() 749 tA2DP_OPUS_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate() 780 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample() 806 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample() 808 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample() 844 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode() 865 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t channelMode, in select_audio_channel_mode() 866 tA2DP_OPUS_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_channel_mode() [all …]
|
D | a2dp_vendor_ldac.cc | 359 btav_a2dp_codec_config_t codec_config_ = current_codec->getCodecConfig(); in A2DP_VendorGetBitRateLdac() 637 btav_a2dp_codec_config_t* result) { in build_codec_config() 721 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate() 762 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t sampleRate, in select_audio_sample_rate() 763 tA2DP_LDAC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate() 823 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample() 849 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample() 851 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample() 887 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode() 913 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t channelMode, in select_audio_channel_mode() [all …]
|
D | a2dp_aac.cc | 747 btav_a2dp_codec_config_t* result) { in build_codec_config() 817 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate() 848 const btav_a2dp_codec_config_t* p_codec_audio_config, uint16_t sampleRate, in select_audio_sample_rate() 849 tA2DP_AAC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate() 897 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample() 923 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample() 925 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample() 961 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode() 982 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t channelMode, in select_audio_channel_mode() 983 tA2DP_AAC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_channel_mode() [all …]
|
D | a2dp_sbc.cc | 844 btav_a2dp_codec_config_t* result) { in build_codec_config() 910 btav_a2dp_codec_config_t* p_codec_config) { in select_best_sample_rate() 931 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t samp_freq, in select_audio_sample_rate() 932 tA2DP_SBC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_sample_rate() 967 btav_a2dp_codec_config_t* p_codec_config) { in select_best_bits_per_sample() 978 const btav_a2dp_codec_config_t* p_codec_audio_config, in select_audio_bits_per_sample() 979 btav_a2dp_codec_config_t* p_codec_config) { in select_audio_bits_per_sample() 998 btav_a2dp_codec_config_t* p_codec_config) { in select_best_channel_mode() 1029 const btav_a2dp_codec_config_t* p_codec_audio_config, uint8_t ch_mode, in select_audio_channel_mode() 1030 tA2DP_SBC_CIE* p_result, btav_a2dp_codec_config_t* p_codec_config) { in select_audio_channel_mode() [all …]
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bt_av.h | 156 struct btav_a2dp_codec_config_t { struct 269 static std::string PrintCodecs(std::vector<btav_a2dp_codec_config_t> codecs) { in PrintCodecs() argument 319 const RawAddress& bd_addr, btav_a2dp_codec_config_t codec_config, 320 std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities, 321 std::vector<btav_a2dp_codec_config_t> codecs_selectable_capabilities); 379 const std::vector<btav_a2dp_codec_config_t>& codec_priorities, 380 const std::vector<btav_a2dp_codec_config_t>& offloading_preference, 398 std::vector<btav_a2dp_codec_config_t> codec_preferences);
|
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/ |
D | codec_status_aidl.h | 35 const btav_a2dp_codec_config_t& a2dp_codec_config); 37 const btav_a2dp_codec_config_t& a2dp_codec_config); 39 const btav_a2dp_codec_config_t& a2dp_codec_config); 53 const std::vector<btav_a2dp_codec_config_t>& framework_preference);
|
D | a2dp_encoding_aidl.h | 39 const std::vector<btav_a2dp_codec_config_t>& framework_preference, 128 uint8_t* codec_info, btav_a2dp_codec_config_t* codec_config); 141 btav_a2dp_codec_config_t const& user_preferences); 151 btav_a2dp_codec_config_t* codec_parameters,
|
/packages/modules/Bluetooth/system/audio_hal_interface/ |
D | a2dp_encoding.h | 33 const std::vector<btav_a2dp_codec_config_t>& framework_preference, 97 uint8_t* codec_info, btav_a2dp_codec_config_t* codec_config); 102 btav_a2dp_codec_config_t codec_parameters; 150 btav_a2dp_codec_config_t const& user_preferences); 158 btav_a2dp_codec_config_t* codec_parameters,
|
D | a2dp_encoding_host.cc | 113 btav_a2dp_codec_config_t codec_config; in SetAudioConfig() 213 const std::vector<btav_a2dp_codec_config_t>& framework_preference, in update_codec_offloading_capabilities() 325 uint8_t* codec_info, btav_a2dp_codec_config_t* codec_config) { in codec_info() 335 btav_a2dp_codec_config_t const& user_preferences) { in get_a2dp_configuration() 348 btav_a2dp_codec_config_t* codec_parameters, in parse_a2dp_configuration()
|
/packages/modules/Bluetooth/system/audio_hal_interface/hidl/ |
D | codec_status_hidl.h | 38 const btav_a2dp_codec_config_t& a2dp_codec_config); 40 const btav_a2dp_codec_config_t& a2dp_codec_config); 42 const btav_a2dp_codec_config_t& a2dp_codec_config); 54 const std::vector<btav_a2dp_codec_config_t>& framework_preference);
|
/packages/modules/Bluetooth/system/gd/rust/topshim/btav/ |
D | btav_shim.cc | 183 static A2dpCodecConfig to_rust_codec_config(const btav_a2dp_codec_config_t& config) { in to_rust_codec_config() 197 static btav_a2dp_codec_config_t from_rust_codec_config(const A2dpCodecConfig& rconfig) { in from_rust_codec_config() 198 btav_a2dp_codec_config_t config = { in from_rust_codec_config() 212 …Vec<A2dpCodecConfig> to_rust_codec_config_vec(const std::vector<btav_a2dp_codec_config_t>& configs… in to_rust_codec_config_vec() 215 for (btav_a2dp_codec_config_t c : configs) { in to_rust_codec_config_vec() 239 btav_a2dp_codec_config_t codec_config, in audio_config_cb() 240 std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities, in audio_config_cb() 241 std::vector<btav_a2dp_codec_config_t> codecs_selectable_capabilities) { in audio_config_cb() 277 std::vector<btav_a2dp_codec_config_t> a; in init() 278 std::vector<btav_a2dp_codec_config_t> b; in init() [all …]
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_a2dp.cpp | 100 const RawAddress& bd_addr, btav_a2dp_codec_config_t codec_config, in bta2dp_audio_config_callback() 101 std::vector<btav_a2dp_codec_config_t> codecs_local_capabilities, in bta2dp_audio_config_callback() 102 std::vector<btav_a2dp_codec_config_t> codecs_selectable_capabilities) { in bta2dp_audio_config_callback() 106 btav_a2dp_codec_config_t::PrintCodecs(codecs_local_capabilities), in bta2dp_audio_config_callback() 107 btav_a2dp_codec_config_t::PrintCodecs(codecs_selectable_capabilities)); in bta2dp_audio_config_callback() 200 static std::vector<btav_a2dp_codec_config_t> prepareCodecPreferences( in prepareCodecPreferences() 202 std::vector<btav_a2dp_codec_config_t> codec_preferences; in prepareCodecPreferences() 232 btav_a2dp_codec_config_t codec_config = { in prepareCodecPreferences() 296 std::vector<btav_a2dp_codec_config_t> codec_priorities = in initNative() 299 std::vector<btav_a2dp_codec_config_t> codec_offloading = in initNative() [all …]
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_av_co.h | 66 const btav_a2dp_codec_config_t& codec_user_config, bool* p_restart_output); 73 const btav_a2dp_codec_config_t& codec_audio_config); 79 const std::vector<btav_a2dp_codec_config_t>& codec_priorities,
|
D | btif_av.h | 167 const btav_a2dp_codec_config_t& codec_config, 168 const std::vector<btav_a2dp_codec_config_t>& codecs_local_capabilities, 169 const std::vector<btav_a2dp_codec_config_t>&
|
/packages/modules/Bluetooth/system/audio_hal_interface/fuzzer/ |
D | libbt_audio_hal_a2dp_encoding_fuzzer.cpp | 48 std::vector<std::vector<btav_a2dp_codec_config_t>> 50 std::vector<std::vector<btav_a2dp_codec_config_t>> offloadingPreferences = { in CodecOffloadingPreferenceGenerator() 51 std::vector<btav_a2dp_codec_config_t>(0)}; in CodecOffloadingPreferenceGenerator() 52 btav_a2dp_codec_config_t btavCodecConfig = {}; in CodecOffloadingPreferenceGenerator()
|