Lines Matching refs:avdt_handle
592 if((p_scb->avdt_handle == handle)&&(p_scb->seps[p_scb->sep_idx].tsep == AVDT_TSEP_SNK)) in bta_av_stream_data_cback()
748 static void bta_av_adjust_seps_idx(tBTA_AV_SCB *p_scb, UINT8 avdt_handle) in bta_av_adjust_seps_idx() argument
757 && (p_scb->seps[xx].av_handle == avdt_handle)) in bta_av_adjust_seps_idx()
760 p_scb->avdt_handle = p_scb->seps[xx].av_handle; in bta_av_adjust_seps_idx()
1247 AVDT_SecurityReq(p_scb->avdt_handle, p_data->api_protect_req.p_data, in bta_av_security_req()
1265 AVDT_SecurityRsp(p_scb->avdt_handle, p_scb->avdt_label, p_data->api_protect_rsp.error_code, in bta_av_security_rsp()
1270 AVDT_SecurityRsp(p_scb->avdt_handle, p_scb->avdt_label, AVDT_ERR_NSC, in bta_av_security_rsp()
1287 UINT8 avdt_handle = p_data->ci_setconfig.avdt_handle; in bta_av_setconfig_rsp() local
1293 local_sep = bta_av_get_scb_sep_type(p_scb,avdt_handle); in bta_av_setconfig_rsp()
1294 bta_av_adjust_seps_idx(p_scb, avdt_handle); in bta_av_setconfig_rsp()
1303 AVDT_ConfigRsp(p_scb->avdt_handle, p_scb->avdt_label, p_data->ci_setconfig.err_code, in bta_av_setconfig_rsp()
1380 p_scb->l2c_cid = AVDT_GetL2CapChannel(p_scb->avdt_handle); in bta_av_str_opened()
1448 AVDT_AbortReq(p_scb->avdt_handle); in bta_av_str_opened()
1482 AVDT_SecurityRsp(p_scb->avdt_handle, p_scb->avdt_label, AVDT_ERR_NSC, NULL, 0); in bta_av_security_ind()
1537 AVDT_CloseReq(p_scb->avdt_handle); in bta_av_do_close()
1940 UINT8 avdt_handle = p_data->ci_setconfig.avdt_handle; in bta_av_setconfig_rej() local
1942 bta_av_adjust_seps_idx(p_scb, avdt_handle); in bta_av_setconfig_rej()
1944 AVDT_ConfigRsp(p_scb->avdt_handle, p_scb->avdt_label, AVDT_ERR_UNSUP_CFG, 0); in bta_av_setconfig_rej()
2021 AVDT_StartReq(&p_scb->avdt_handle, 1); in bta_av_do_start()
2095 AVDT_SuspendReq(&p_scb->avdt_handle, 1); in bta_av_str_stopped()
2185 AVDT_ReconfigReq(p_scb->avdt_handle, p_scb->p_cap); in bta_av_reconfig()
2201 AVDT_CloseReq(p_scb->avdt_handle); in bta_av_reconfig()
2277 AVDT_WriteReqOpt(p_scb->avdt_handle, p_buf, timestamp, m_pt, opt); in bta_av_data_path()
2340 if ((p_scb->avdt_handle == p_scb->seps[p_scb->sep_idx].av_handle) in bta_av_start_ok()
2687 p_scb->l2c_cid = AVDT_GetL2CapChannel(p_scb->avdt_handle); in bta_av_rcfg_str_ok()
2841 AVDT_CloseReq(p_scb->avdt_handle); in bta_av_suspend_cont()
2849 AVDT_ReconfigReq(p_scb->avdt_handle, p_scb->p_cap); in bta_av_suspend_cont()
2882 AVDT_CloseReq(p_scb->avdt_handle); in bta_av_rcfg_cfm()
2926 AVDT_OpenReq(p_scb->avdt_handle, p_scb->peer_addr, in bta_av_rcfg_open()
2945 AVDT_SecurityRsp(p_scb->avdt_handle, p_scb->avdt_label, AVDT_ERR_BAD_STATE, in bta_av_security_rej()