Lines Matching full:shdl
65 tBTA_AV_RCB * bta_av_get_rcb_by_shdl(UINT8 shdl)
72 if (bta_av_cb.rcb[i].shdl == shdl && bta_av_cb.rcb[i].handle != BTA_AV_RC_HANDLE_NONE)
98 if(p_rcb->shdl)
100 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1];
103 APPL_TRACE_DEBUG("bta_av_del_rc shdl:%d, srch:%d rc_handle:%d", p_rcb->shdl,
121 p_rcb->shdl = 0;
149 if ((p_cb->disabling == TRUE) || (bta_av_cb.rcb[i].shdl != 0))
298 UINT8 bta_av_rc_create(tBTA_AV_CB *p_cb, UINT8 role, UINT8 shdl, UINT8 lidx)
303 tBTA_AV_SCB *p_scb = p_cb->p_scb[shdl - 1];
315 if ((p_rcb = bta_av_get_rcb_by_shdl(shdl)) != NULL )
317 APPL_TRACE_ERROR("bta_av_rc_create ACP handle exist for shdl:%d", shdl);
343 p_rcb->shdl = shdl;
353 APPL_TRACE_DEBUG("create %d, role: %d, shdl:%d, rc_handle:%d, lidx:%d, status:0x%x",
354 i, role, shdl, p_rcb->handle, lidx, p_rcb->status);
488 UINT8 shdl = 0;
501 APPL_TRACE_DEBUG("bta_av_rc_opened shdl:%d, srch %d", i + 1, p_scb->rc_handle);
502 shdl = i+1;
518 if (p_cb->rcb[i].lidx == (BTA_AV_NUM_LINKS + 1) && shdl != 0)
522 p_rcb = bta_av_get_rcb_by_shdl(shdl);
525 p_rcb->shdlshdl;
536 p_cb->rcb[i].shdl = shdl;
538 APPL_TRACE_ERROR("bta_av_rc_opened rcb[%d] shdl:%d lidx:%d/%d",
539 i, shdl, p_cb->rcb[i].lidx, p_cb->lcb[BTA_AV_NUM_LINKS].lidx);
542 if(!shdl && 0 == p_cb->lcb[BTA_AV_NUM_LINKS].lidx)
1037 if(p_rcb->shdl)
1039 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1];
1064 UINT8 shdl = 0;
1070 shdl = i+1;
1074 return shdl;
1194 bta_av_cb.rcb[i].shdl = index + 1;
1195 APPL_TRACE_DEBUG("conn_chg up[%d]: %d, status=0x%x, shdl:%d, lidx:%d", i,
1197 bta_av_cb.rcb[i].shdl, bta_av_cb.rcb[i].lidx);
1244 p_rcb->shdl = bta_av_get_shdl(p_scb);
1245 APPL_TRACE_DEBUG("update rc_acp shdl:%d/%d srch:%d", index + 1, p_rcb->shdl,
1248 p_rcb2 = bta_av_get_rcb_by_shdl(p_rcb->shdl);
1300 APPL_TRACE_DEBUG("bta_av_conn_chg shdl:%d", index + 1);
1303 APPL_TRACE_DEBUG("conn_chg dn[%d]: %d, status=0x%x, shdl:%d, lidx:%d", i,
1305 bta_av_cb.rcb[i].shdl, bta_av_cb.rcb[i].lidx);
1306 if(bta_av_cb.rcb[i].shdl == index + 1)
1813 APPL_TRACE_DEBUG(" shdl:%d, lidx:%d", p_rcb->shdl, p_rcb->lidx);
1814 if(p_rcb->shdl)
1816 p_scb = bta_av_cb.p_scb[p_rcb->shdl - 1];
1822 APPL_TRACE_DEBUG("shdl:%d, srch:%d", p_rcb->shdl, p_scb->rc_handle);
1824 p_rcb->shdl = 0;