Home
last modified time | relevance | path

Searched refs:a2dp_codec_config (Results 1 – 18 of 18) sorted by relevance

/system/bt/stack/a2dp/
Da2dp_codec_config.cc691 A2dpCodecConfig* a2dp_codec_config = findSourceCodecConfig(p_peer_codec_info); in setCodecConfig() local
692 if (a2dp_codec_config == nullptr) return false; in setCodecConfig()
693 if (!a2dp_codec_config->setCodecConfig(p_peer_codec_info, is_capability, in setCodecConfig()
698 current_codec_config_ = a2dp_codec_config; in setCodecConfig()
708 A2dpCodecConfig* a2dp_codec_config = findSinkCodecConfig(p_peer_codec_info); in setSinkCodecConfig() local
709 if (a2dp_codec_config == nullptr) return false; in setSinkCodecConfig()
710 if (!a2dp_codec_config->setCodecConfig(p_peer_codec_info, is_capability, in setSinkCodecConfig()
715 current_codec_config_ = a2dp_codec_config; in setSinkCodecConfig()
727 A2dpCodecConfig* a2dp_codec_config = nullptr; in setCodecUserConfig() local
739 a2dp_codec_config = iter->second; in setCodecUserConfig()
[all …]
Da2dp_vendor_aptx_hd_encoder.cc106 uint16_t peer_mtu, A2dpCodecConfig* a2dp_codec_config,
173 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_hd_encoder_init() argument
210 a2dp_codec_config, &restart_input, in a2dp_vendor_aptx_hd_encoder_init()
241 uint16_t peer_mtu, A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_hd_encoder_update() argument
248 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_aptx_hd_encoder_update()
252 __func__, a2dp_codec_config->name().c_str()); in a2dp_vendor_aptx_hd_encoder_update()
263 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_vendor_aptx_hd_encoder_update()
Da2dp_vendor_aptx_encoder.cc106 A2dpCodecConfig* a2dp_codec_config,
173 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_encoder_init() argument
209 a2dp_codec_config, &restart_input, in a2dp_vendor_aptx_encoder_init()
239 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_encoder_update() argument
248 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_aptx_encoder_update()
252 __func__, a2dp_codec_config->name().c_str()); in a2dp_vendor_aptx_encoder_update()
262 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_vendor_aptx_encoder_update()
Da2dp_aac_encoder.cc99 A2dpCodecConfig* a2dp_codec_config,
122 A2dpCodecConfig* a2dp_codec_config, in a2dp_aac_encoder_init() argument
149 a2dp_aac_encoder_update(a2dp_aac_encoder_cb.peer_mtu, a2dp_codec_config, in a2dp_aac_encoder_init()
178 A2dpCodecConfig* a2dp_codec_config, in a2dp_aac_encoder_update() argument
203 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_aac_encoder_update()
207 __func__, a2dp_codec_config->name().c_str()); in a2dp_aac_encoder_update()
216 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_aac_encoder_update()
Da2dp_vendor_ldac_encoder.cc176 A2dpCodecConfig* a2dp_codec_config,
280 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_ldac_encoder_init() argument
314 a2dp_codec_config, &restart_input, in a2dp_vendor_ldac_encoder_init()
344 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_ldac_encoder_update() argument
366 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_ldac_encoder_update()
370 __func__, a2dp_codec_config->name().c_str()); in a2dp_vendor_ldac_encoder_update()
374 btav_a2dp_codec_config_t codec_config = a2dp_codec_config->getCodecConfig(); in a2dp_vendor_ldac_encoder_update()
381 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_vendor_ldac_encoder_update()
Da2dp_sbc_encoder.cc113 A2dpCodecConfig* a2dp_codec_config,
136 A2dpCodecConfig* a2dp_codec_config, in a2dp_sbc_encoder_init() argument
156 a2dp_sbc_encoder_update(a2dp_sbc_encoder_cb.peer_mtu, a2dp_codec_config, in a2dp_sbc_encoder_init()
185 A2dpCodecConfig* a2dp_codec_config, in a2dp_sbc_encoder_update() argument
202 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_sbc_encoder_update()
206 __func__, a2dp_codec_config->name().c_str()); in a2dp_sbc_encoder_update()
217 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_sbc_encoder_update()
/system/bt/stack/include/
Da2dp_aac_encoder.h39 A2dpCodecConfig* a2dp_codec_config,
Da2dp_vendor_aptx_hd_encoder.h40 A2dpCodecConfig* a2dp_codec_config,
Da2dp_vendor_aptx_encoder.h40 A2dpCodecConfig* a2dp_codec_config,
Da2dp_sbc_encoder.h42 A2dpCodecConfig* a2dp_codec_config,
Da2dp_vendor_ldac_encoder.h40 A2dpCodecConfig* a2dp_codec_config,
Da2dp_codec_api.h519 A2dpCodecConfig* a2dp_codec_config,
/system/bt/audio_hal_interface/
Da2dp_encoding.cc236 const btav_a2dp_codec_config_t& a2dp_codec_config) { in a2dp_codec_to_hal_sample_rate() argument
237 switch (a2dp_codec_config.sample_rate) { in a2dp_codec_to_hal_sample_rate()
260 const btav_a2dp_codec_config_t& a2dp_codec_config) { in a2dp_codec_to_hal_bits_per_sample() argument
261 switch (a2dp_codec_config.bits_per_sample) { in a2dp_codec_to_hal_bits_per_sample()
274 const btav_a2dp_codec_config_t& a2dp_codec_config) { in a2dp_codec_to_hal_channel_mode() argument
275 switch (a2dp_codec_config.channel_mode) { in a2dp_codec_to_hal_channel_mode()
/system/bt/service/
DBUILD.gn24 "common/bluetooth/a2dp_codec_config.cc",
/system/bt/service/common/
DAndroid.bp12 "bluetooth/a2dp_codec_config.cc",
/system/bt/btif/src/
Dbtif_a2dp_source.cc583 A2dpCodecConfig* a2dp_codec_config = bta_av_get_a2dp_current_codec(); in btif_a2dp_source_setup_codec_delayed() local
584 if (a2dp_codec_config == nullptr) { in btif_a2dp_source_setup_codec_delayed()
591 &peer_params, a2dp_codec_config, btif_a2dp_source_read_callback, in btif_a2dp_source_setup_codec_delayed()
/system/bt/stack/
DBUILD.gn39 "a2dp/a2dp_codec_config.cc",
DAndroid.bp55 "a2dp/a2dp_codec_config.cc",