Lines Matching refs:cfg
231 p_scb->cfg.codec_info)) { in bta_av_get_scb_handle()
437 p_msg->cfg = *p_data->config_ind.p_cfg; in bta_av_proc_stream_evt()
613 A2DP_CodecName(p_scb->cfg.codec_info)); in bta_av_adjust_seps_idx()
620 p_scb->cfg.codec_info)) { in bta_av_adjust_seps_idx()
981 const AvdtpSepConfig* p_evt_cfg = &p_data->str_msg.cfg; in bta_av_config_ind()
982 uint8_t psc_mask = (p_evt_cfg->psc_mask | p_scb->cfg.psc_mask); in bta_av_config_ind()
996 memcpy(p_scb->cfg.codec_info, p_evt_cfg->codec_info, AVDT_CODEC_SIZE); in bta_av_config_ind()
1006 ((psc_mask != p_scb->cfg.psc_mask) && in bta_av_config_ind()
1007 (psc_mask != (p_scb->cfg.psc_mask & ~AVDT_PSC_DELAY_RPT)))) { in bta_av_config_ind()
1149 av_sink_codec_info.avk_config.codec_info = p_scb->cfg.codec_info; in bta_av_setconfig_rsp()
1172 if (A2DP_GetCodecType(p_scb->cfg.codec_info) == A2DP_MEDIA_CT_SBC || in bta_av_setconfig_rsp()
1559 AvdtpSepConfig cfg; in bta_av_save_caps() local
1571 cfg = p_scb->peer_cap; in bta_av_save_caps()
1573 if (p_scb->p_cos->getcfg(p_scb->hndl, p_scb->PeerAddress(), cfg.codec_info, in bta_av_save_caps()
1574 &p_scb->sep_info_idx, p_info->seid, &cfg.num_protect, in bta_av_save_caps()
1575 cfg.protect_info) != A2DP_SUCCESS) { in bta_av_save_caps()
1586 A2DP_CodecInfoString(cfg.codec_info).c_str()); in bta_av_save_caps()
1711 AvdtpSepConfig cfg = p_scb->cfg; in bta_av_getcap_results() local
1715 cfg.num_codec = 1; in bta_av_getcap_results()
1716 cfg.num_protect = p_scb->peer_cap.num_protect; in bta_av_getcap_results()
1717 memcpy(cfg.codec_info, p_scb->peer_cap.codec_info, AVDT_CODEC_SIZE); in bta_av_getcap_results()
1718 memcpy(cfg.protect_info, p_scb->peer_cap.protect_info, AVDT_PROTECT_SIZE); in bta_av_getcap_results()
1722 p_scb->hndl, p_scb->peer_cap.num_codec, p_scb->cfg.psc_mask); in bta_av_getcap_results()
1726 A2DP_CodecInfoString(p_scb->cfg.codec_info).c_str()); in bta_av_getcap_results()
1730 (p_scb->p_cos->getcfg(p_scb->hndl, p_scb->PeerAddress(), cfg.codec_info, in bta_av_getcap_results()
1732 &cfg.num_protect, in bta_av_getcap_results()
1733 cfg.protect_info) == A2DP_SUCCESS)) { in bta_av_getcap_results()
1738 p_scb->cfg = cfg; in bta_av_getcap_results()
1743 A2DP_CodecInfoString(p_scb->cfg.codec_info).c_str()); in bta_av_getcap_results()
1756 cfg.psc_mask &= p_scb->peer_cap.psc_mask; in bta_av_getcap_results()
1757 p_scb->cur_psc_mask = cfg.psc_mask; in bta_av_getcap_results()
1769 av_sink_codec_info.avk_config.codec_info = p_scb->cfg.codec_info; in bta_av_getcap_results()
1775 A2DP_AdjustCodec(cfg.codec_info); in bta_av_getcap_results()
1780 p_scb->hdi, p_scb->sep_info[p_scb->sep_info_idx].seid, &cfg); in bta_av_getcap_results()
2038 p_cfg = &p_scb->cfg; in bta_av_reconfig()
2048 A2DP_CodecInfoString(p_scb->cfg.codec_info).c_str()); in bta_av_reconfig()
2074 A2DP_CodecInfoString(p_scb->cfg.codec_info).c_str()); in bta_av_reconfig()
2075 AVDT_ReconfigReq(p_scb->avdt_handle, &p_scb->cfg); in bta_av_reconfig()
2076 p_scb->cfg.psc_mask = p_scb->cur_psc_mask; in bta_av_reconfig()
2142 p_buf = p_scb->p_cos->data(p_scb->cfg.codec_info, ×tamp); in bta_av_data_path()
2396 p_scb->cfg.codec_info, &p_scb->no_rtp_header); in bta_av_start_ok()
2806 A2DP_CodecInfoString(p_scb->cfg.codec_info).c_str()); in bta_av_suspend_cont()
2807 AVDT_ReconfigReq(p_scb->avdt_handle, &p_scb->cfg); in bta_av_suspend_cont()
2808 p_scb->cfg.psc_mask = p_scb->cur_psc_mask; in bta_av_suspend_cont()
2860 A2DP_CodecName(p_scb->cfg.codec_info), in bta_av_rcfg_cfm()
2862 memcpy(p_scb->cfg.codec_info, in bta_av_rcfg_cfm()
2894 A2DP_CodecInfoString(p_scb->cfg.codec_info).c_str()); in bta_av_rcfg_open()
2905 p_scb->sep_info[p_scb->sep_info_idx].seid, &p_scb->cfg); in bta_av_rcfg_open()
3245 A2DP_SourceCodecIndex(p_scb->cfg.codec_info); in bta_av_offload_codec_builder()
3252 if (A2DP_GetMaxBitpoolSbc(p_scb->cfg.codec_info) <= in bta_av_offload_codec_builder()
3286 switch (A2DP_GetTrackSampleRate(p_scb->cfg.codec_info)) { in bta_av_offload_codec_builder()
3315 p_a2dp_offload->ch_mode = A2DP_GetTrackChannelCount(p_scb->cfg.codec_info); in bta_av_offload_codec_builder()