Home
last modified time | relevance | path

Searched refs:peer_params (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Bluetooth/system/stack/a2dp/
Da2dp_sbc_encoder.cc94 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; member
116 const tA2DP_ENCODER_INIT_PEER_PARAMS& peer_params);
141 a2dp_sbc_encoder_cb.peer_params = *p_peer_params; in a2dp_sbc_encoder_init()
231 const tA2DP_ENCODER_INIT_PEER_PARAMS& peer_params = in a2dp_sbc_encoder_update() local
232 a2dp_sbc_encoder_cb.peer_params; in a2dp_sbc_encoder_update()
233 p_encoder_params->u16BitRate = a2dp_sbc_source_rate(peer_params.is_peer_edr); in a2dp_sbc_encoder_update()
235 a2dp_sbc_encoder_cb.TxAaMtuSize = adjust_effective_mtu(peer_params); in a2dp_sbc_encoder_update()
237 a2dp_sbc_encoder_cb.TxAaMtuSize, peer_params.peer_mtu, min_bitpool, in a2dp_sbc_encoder_update()
429 if (a2dp_sbc_encoder_cb.peer_params.is_peer_edr) { in a2dp_sbc_get_num_frame_iteration()
719 const tA2DP_ENCODER_INIT_PEER_PARAMS& peer_params) { in adjust_effective_mtu() argument
[all …]
Da2dp_aac_encoder.cc83 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; member
110 const tA2DP_ENCODER_INIT_PEER_PARAMS& peer_params);
137 a2dp_aac_encoder_cb.peer_params = *p_peer_params; in a2dp_aac_encoder_init()
199 const tA2DP_ENCODER_INIT_PEER_PARAMS& peer_params = in a2dp_aac_encoder_update() local
200 a2dp_aac_encoder_cb.peer_params; in a2dp_aac_encoder_update()
201 a2dp_aac_encoder_cb.TxAaMtuSize = adjust_effective_mtu(peer_params); in a2dp_aac_encoder_update()
203 peer_params.peer_mtu); in a2dp_aac_encoder_update()
680 const tA2DP_ENCODER_INIT_PEER_PARAMS& peer_params) { in adjust_effective_mtu() argument
682 if (mtu_size > peer_params.peer_mtu) { in adjust_effective_mtu()
683 mtu_size = peer_params.peer_mtu; in adjust_effective_mtu()
[all …]
Da2dp_aac_encoder_linux.cc123 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; member
139 const tA2DP_ENCODER_INIT_PEER_PARAMS& peer_params);
191 .peer_params = *p_peer_params, in a2dp_aac_encoder_init()
389 const tA2DP_ENCODER_INIT_PEER_PARAMS& peer_params) { in adjust_effective_mtu() argument
392 if (mtu_size > peer_params.peer_mtu) { in adjust_effective_mtu()
393 mtu_size = peer_params.peer_mtu; in adjust_effective_mtu()
396 if (peer_params.is_peer_edr && !peer_params.peer_supports_3mbps) { in adjust_effective_mtu()
Da2dp_vendor_ldac_encoder.cc93 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; member
125 const tA2DP_ENCODER_INIT_PEER_PARAMS& peer_params);
150 a2dp_ldac_encoder_cb.peer_params = *p_peer_params; in a2dp_vendor_ldac_encoder_init()
291 const tA2DP_ENCODER_INIT_PEER_PARAMS& peer_params = in a2dp_vendor_ldac_encoder_update() local
292 a2dp_ldac_encoder_cb.peer_params; in a2dp_vendor_ldac_encoder_update()
293 a2dp_ldac_encoder_cb.TxAaMtuSize = adjust_effective_mtu(peer_params); in a2dp_vendor_ldac_encoder_update()
295 peer_params.peer_mtu); in a2dp_vendor_ldac_encoder_update()
564 const tA2DP_ENCODER_INIT_PEER_PARAMS& peer_params) { in adjust_effective_mtu() argument
567 if (mtu_size > peer_params.peer_mtu) { in adjust_effective_mtu()
568 mtu_size = peer_params.peer_mtu; in adjust_effective_mtu()
Da2dp_vendor_aptx_hd_encoder.cc77 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; member
136 a2dp_aptx_hd_encoder_cb.peer_params = *p_peer_params; in a2dp_vendor_aptx_hd_encoder_init()
281 return a2dp_aptx_hd_encoder_cb.peer_params.peer_mtu; in a2dp_vendor_aptx_hd_get_effective_frame_size()
Da2dp_vendor_aptx_encoder.cc78 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; member
136 a2dp_aptx_encoder_cb.peer_params = *p_peer_params; in a2dp_vendor_aptx_encoder_init()
298 return a2dp_aptx_encoder_cb.peer_params.peer_mtu; in a2dp_vendor_aptx_get_effective_frame_size()
/packages/modules/Bluetooth/system/stack/test/a2dp/
Da2dp_vendor_ldac_unittest.cc105 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params = {true, true, 1000}; in InitializeEncoder() local
106 encoder_iface_->encoder_init(&peer_params, source_codec_config_, read_cb, in InitializeEncoder()
Da2dp_opus_unittest.cc114 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params = {true, true, 1000}; in InitializeEncoder() local
115 encoder_iface_->encoder_init(&peer_params, codec_config_, read_cb, in InitializeEncoder()
Da2dp_aac_unittest.cc120 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params = {true, peer_supports_3mbps, kPeerMtu}; in InitializeEncoder() local
121 encoder_iface_->encoder_init(&peer_params, sink_codec_config_, read_cb, in InitializeEncoder()
Da2dp_sbc_unittest.cc121 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params = {true, peer_supports_3mbps, kPeerMtu}; in InitializeEncoder() local
122 encoder_iface_->encoder_init(&peer_params, sink_codec_config_, read_cb, in InitializeEncoder()
/packages/modules/Bluetooth/system/btif/co/
Dbta_av_co.cc298 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; in ProcessSourceGetConfig() local
299 GetPeerEncoderParameters(p_peer->addr, &peer_params); in ProcessSourceGetConfig()
301 high_priority_mandatory, &peer_params, p_sink->codec_caps, in ProcessSourceGetConfig()
870 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; in SetCodecUserConfig() local
871 GetPeerEncoderParameters(p_peer->addr, &peer_params); in SetCodecUserConfig()
873 codec_user_config, &peer_params, p_sink->codec_caps, in SetCodecUserConfig()
961 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; in SetCodecAudioConfig() local
962 GetPeerEncoderParameters(p_peer->addr, &peer_params); in SetCodecAudioConfig()
964 codec_audio_config, &peer_params, p_sink->codec_caps, in SetCodecAudioConfig()
1442 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; in SetCodecOtaConfig() local
[all …]
/packages/modules/Bluetooth/system/audio_hal_interface/aidl/
Da2dp_encoding_aidl.cc265 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; in a2dp_get_peer_mtu() local
266 bta_av_co_get_peer_params(peer_addr, &peer_params); in a2dp_get_peer_mtu()
267 uint16_t peer_mtu = peer_params.peer_mtu; in a2dp_get_peer_mtu()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_a2dp_source.cc576 tA2DP_ENCODER_INIT_PEER_PARAMS peer_params; in btif_a2dp_source_setup_codec_delayed() local
577 bta_av_co_get_peer_params(peer_address, &peer_params); in btif_a2dp_source_setup_codec_delayed()
604 &peer_params, a2dp_codec_config, btif_a2dp_source_read_callback, in btif_a2dp_source_setup_codec_delayed()