Home | History | Annotate | Download | only in av

Lines Matching full:lidx

122             p_rcb->lidx = 0;
128 APPL_TRACE_EVENT("end del_rc handle: %d status=0x%x, rc_acp_handle:%d, lidx:%d",
129 p_rcb->handle, p_rcb->status, bta_av_cb.rc_acp_handle, p_rcb->lidx);
298 UINT8 bta_av_rc_create(tBTA_AV_CB *p_cb, UINT8 role, UINT8 shdl, UINT8 lidx)
344 p_rcb->lidx = lidx;
346 if(lidx == (BTA_AV_NUM_LINKS + 1))
348 /* this LIDX is reserved for the AVRCP ACP connection */
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);
518 if (p_cb->rcb[i].lidx == (BTA_AV_NUM_LINKS + 1) && shdl != 0)
526 tmp = p_rcb->lidx;
527 p_rcb->lidx = p_cb->rcb[i].lidx;
528 p_cb->rcb[i].lidx = tmp;
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)
552 p_lcb->lidx = BTA_AV_NUM_LINKS + 1;
553 p_cb->rcb[i].lidx = p_lcb->lidx;
555 APPL_TRACE_ERROR("rcb[%d].lidx=%d, lcb.conn_msk=x%x",
556 i, p_cb->rcb[i].lidx, p_lcb->conn_msk);
1192 if (bta_av_cb.rcb[i].lidx == p_lcb->lidx)
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);
1241 p_lcb_rc->lidx = 0;
1256 p_rcb2->lidx = (BTA_AV_NUM_LINKS + 1);
1257 APPL_TRACE_DEBUG("rc2 handle:%d lidx:%d/%d",p_rcb2->handle, p_rcb2->lidx,
1258 p_cb->lcb[p_rcb2->lidx-1].lidx);
1260 p_rcb->lidx = p_lcb->lidx;
1261 APPL_TRACE_DEBUG("rc handle:%d lidx:%d/%d",p_rcb->handle, p_rcb->lidx,
1262 p_cb->lcb[p_rcb->lidx-1].lidx);
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);
1436 p_lcb->lidx = xx + 1;
1442 bta_av_rc_create(p_cb, AVCT_ACP, 0, p_lcb->lidx);
1752 rc_handle = bta_av_rc_create(p_cb, AVCT_INT, (UINT8)(p_scb->hdi + 1), p_lcb->lidx);
1813 APPL_TRACE_DEBUG(" shdl:%d, lidx:%d", p_rcb->shdl, p_rcb->lidx);
1826 else if(p_rcb->lidx == (BTA_AV_NUM_LINKS + 1) )
1836 p_lcb->lidx = 0;
1838 p_rcb->lidx = 0;
1906 if (p_cb->rcb[rc_handle].lidx)
1908 p_addr = p_cb->lcb[p_cb->rcb[rc_handle].lidx-1].addr;