Home
last modified time | relevance | path

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

/system/bt/stack/a2dp/
Da2dp_codec_config.cc521 A2dpCodecConfig* a2dp_codec_config = findSourceCodecConfig(p_peer_codec_info); in setCodecConfig() local
522 if (a2dp_codec_config == nullptr) return false; in setCodecConfig()
523 if (!a2dp_codec_config->setCodecConfig(p_peer_codec_info, is_capability, in setCodecConfig()
528 current_codec_config_ = a2dp_codec_config; in setCodecConfig()
540 A2dpCodecConfig* a2dp_codec_config = nullptr; in setCodecUserConfig() local
566 a2dp_codec_config = iter->second; in setCodecUserConfig()
569 a2dp_codec_config = current_codec_config_; in setCodecUserConfig()
571 if (a2dp_codec_config == nullptr) goto fail; in setCodecUserConfig()
574 codec_audio_config = a2dp_codec_config->getCodecAudioConfig(); in setCodecUserConfig()
575 if (!a2dp_codec_config->setCodecUserConfig( in setCodecUserConfig()
[all …]
Da2dp_vendor_aptx_hd_encoder.cc105 uint16_t peer_mtu, A2dpCodecConfig* a2dp_codec_config,
172 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_hd_encoder_init() argument
208 a2dp_codec_config, &restart_input, in a2dp_vendor_aptx_hd_encoder_init()
239 uint16_t peer_mtu, A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_hd_encoder_update() argument
246 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_aptx_hd_encoder_update()
250 __func__, a2dp_codec_config->name().c_str()); in a2dp_vendor_aptx_hd_encoder_update()
261 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_vendor_aptx_hd_encoder_update()
Da2dp_vendor_aptx_encoder.cc105 A2dpCodecConfig* a2dp_codec_config,
172 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_encoder_init() argument
207 a2dp_codec_config, &restart_input, in a2dp_vendor_aptx_encoder_init()
237 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_aptx_encoder_update() argument
246 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_aptx_encoder_update()
250 __func__, a2dp_codec_config->name().c_str()); in a2dp_vendor_aptx_encoder_update()
260 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_vendor_aptx_encoder_update()
Da2dp_vendor_ldac_encoder.cc175 A2dpCodecConfig* a2dp_codec_config,
279 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_ldac_encoder_init() argument
312 a2dp_codec_config, &restart_input, in a2dp_vendor_ldac_encoder_init()
342 A2dpCodecConfig* a2dp_codec_config, in a2dp_vendor_ldac_encoder_update() argument
363 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_vendor_ldac_encoder_update()
367 __func__, a2dp_codec_config->name().c_str()); in a2dp_vendor_ldac_encoder_update()
371 btav_a2dp_codec_config_t codec_config = a2dp_codec_config->getCodecConfig(); in a2dp_vendor_ldac_encoder_update()
378 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_vendor_ldac_encoder_update()
Da2dp_aac_encoder.cc104 A2dpCodecConfig* a2dp_codec_config,
127 A2dpCodecConfig* a2dp_codec_config, in a2dp_aac_encoder_init() argument
153 a2dp_aac_encoder_update(a2dp_aac_encoder_cb.peer_mtu, a2dp_codec_config, in a2dp_aac_encoder_init()
182 A2dpCodecConfig* a2dp_codec_config, in a2dp_aac_encoder_update() argument
207 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_aac_encoder_update()
211 __func__, a2dp_codec_config->name().c_str()); in a2dp_aac_encoder_update()
220 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_aac_encoder_update()
Da2dp_sbc_encoder.cc117 A2dpCodecConfig* a2dp_codec_config,
140 A2dpCodecConfig* a2dp_codec_config, in a2dp_sbc_encoder_init() argument
159 a2dp_sbc_encoder_update(a2dp_sbc_encoder_cb.peer_mtu, a2dp_codec_config, in a2dp_sbc_encoder_init()
188 A2dpCodecConfig* a2dp_codec_config, in a2dp_sbc_encoder_update() argument
205 if (!a2dp_codec_config->copyOutOtaCodecConfig(codec_info)) { in a2dp_sbc_encoder_update()
209 __func__, a2dp_codec_config->name().c_str()); in a2dp_sbc_encoder_update()
220 a2dp_codec_config->getAudioBitsPerSample(); in a2dp_sbc_encoder_update()
/system/bt/stack/include/
Da2dp_vendor_aptx_hd_encoder.h41 A2dpCodecConfig* a2dp_codec_config,
Da2dp_sbc_encoder.h43 A2dpCodecConfig* a2dp_codec_config,
Da2dp_vendor_aptx_encoder.h41 A2dpCodecConfig* a2dp_codec_config,
Da2dp_aac_encoder.h40 A2dpCodecConfig* a2dp_codec_config,
Da2dp_vendor_ldac_encoder.h41 A2dpCodecConfig* a2dp_codec_config,
Da2dp_codec_api.h469 A2dpCodecConfig* a2dp_codec_config,
/system/bt/btif/src/
Dbtif_a2dp_source.cc471 A2dpCodecConfig* a2dp_codec_config = bta_av_get_a2dp_current_codec(); in btif_a2dp_source_encoder_init_event() local
472 if (a2dp_codec_config == nullptr) { in btif_a2dp_source_encoder_init_event()
479 &p_encoder_init->peer_params, a2dp_codec_config, in btif_a2dp_source_encoder_init_event()
/system/bt/stack/
DBUILD.gn22 "a2dp/a2dp_codec_config.cc",
DAndroid.bp46 "a2dp/a2dp_codec_config.cc",