Searched refs:rcb (Results 1 - 16 of 16) sorted by relevance

/system/bt/bta/gatt/
H A Dbta_gatts_act.c161 if (p_cb->rcb[i].in_use)
163 GATT_Deregister(p_cb->rcb[i].gatt_if);
197 if (p_cb->rcb[i].in_use)
199 if (bta_gatts_uuid_compare(p_cb->rcb[i].app_uuid, p_msg->api_reg.app_uuid))
212 if (first_unuse == 0xff && !p_cb->rcb[i].in_use)
227 p_cb->rcb[first_unuse].in_use = TRUE;
228 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback;
229 memcpy(&p_cb->rcb[first_unuse].app_uuid, &p_msg->api_reg.app_uuid, sizeof(tBT_UUID));
231 p_cb->rcb[first_unuse].gatt_if =
233 if ( !p_cb->rcb[first_unus
[all...]
H A Dbta_gatts_utils.c94 for (i = 0, p_reg = bta_gatts_cb.rcb; i < BTA_GATTS_MAX_APP_NUM; i ++, p_reg++)
118 if (p_cb->rcb[i].in_use && p_cb->rcb[i].gatt_if == server_if)
129 ** Returns pointer to the rcb.
153 ** Returns pointer to the rcb.
H A Dbta_gatts_int.h206 tBTA_GATTS_RCB rcb[BTA_GATTS_MAX_APP_NUM]; member in struct:__anon192
/system/bt/stack/mcap/
H A Dmca_main.c72 tMCA_RCB *p_rcb = &mca_cb.rcb[0];
99 tMCA_RCB *p_rcb = &mca_cb.rcb[0];
525 if (mca_cb.rcb[i].p_cback == NULL)
527 p_rcb = &mca_cb.rcb[i];
554 p_rcb = &mca_cb.rcb[handle];
589 return(UINT8) (p_rcb - mca_cb.rcb + 1);
607 if (handle && (handle<=MCA_NUM_REGS) && mca_cb.rcb[handle-1].p_cback)
609 p_rcb = &mca_cb.rcb[handle-1];
H A Dmca_int.h201 * ccb[0] ...ccb[MCA_NUM_LINKS*1-1] -> rcb[0]
202 * ccb[MCA_NUM_LINKS*1]...ccb[MCA_NUM_LINKS*2-1] -> rcb[1]
203 * ccb[MCA_NUM_LINKS*2]...ccb[MCA_NUM_LINKS*3-1] -> rcb[2]
236 * dcb[0] ...dcb[MCA_NUM_MDLS*1*MCA_NUM_LINKS*1-1] -> rcb[0]
237 * dcb[MCA_NUM_MDLS*1*MCA_NUM_LINKS*1]...dcb[MCA_NUM_MDLS*2*MCA_NUM_LINKS*2-1] -> rcb[1]
238 * dcb[MCA_NUM_MDLS*2*MCA_NUM_LINKS*2]...dcb[MCA_NUM_MDLS*3*MCA_NUM_LINKS*3-1] -> rcb[2]
256 tMCA_RCB rcb[MCA_NUM_REGS]; /* registration control block */ member in struct:__anon1242
/system/bt/bta/av/
H A Dbta_av_act.c75 if (bta_av_cb.rcb[i].shdl == shdl && bta_av_cb.rcb[i].handle != BTA_AV_RC_HANDLE_NONE)
77 p_rcb = &bta_av_cb.rcb[i];
157 if ((p_cb->disabling == TRUE) || (bta_av_cb.rcb[i].shdl != 0))
158 bta_av_del_rc(&bta_av_cb.rcb[i]);
338 p_rcb = &p_cb->rcb[i];
515 if (p_cb->rcb[i].handle == BTA_AV_RC_HANDLE_NONE)
522 if (p_cb->rcb[i].lidx == (BTA_AV_NUM_LINKS + 1) && shdl != 0)
529 p_rcb->shdl = p_cb->rcb[i].shdl;
531 p_rcb->lidx = p_cb->rcb[
[all...]
H A Dbta_av_int.h562 tBTA_AV_RCB rcb[BTA_AV_NUM_RCB]; /* RCB control block */ member in struct:__anon66
H A Dbta_av_main.c263 bta_av_cb.rcb[i].handle = BTA_AV_RC_HANDLE_NONE;
/system/bt/stack/avrc/
H A Davrc_int.h122 tAVRC_RASM_CB rcb[AVCT_NUM_CONN]; member in struct:__anon811
H A Davrc_api.c394 p_rcb = &avrc_cb.rcb[handle];
934 memset(&avrc_cb.rcb[*p_handle], 0, sizeof(tAVRC_RASM_CB));
/system/bt/stack/avdt/
H A Davdt_ccb_act.c144 btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_IDLE, avdt_cb.rcb.idle_tout);
831 btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_RET, avdt_cb.rcb.ret_tout);
H A Davdt_ad.c556 p_tbl->my_mtu = avdt_cb.rcb.ctrl_mtu;
H A Davdt_l2c.c197 p_tbl->my_mtu = avdt_cb.rcb.ctrl_mtu;
H A Davdt_msg.c1306 (sig == AVDT_SIG_SECURITY) || (avdt_cb.rcb.ret_tout == 0))
1308 btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_RSP, avdt_cb.rcb.sig_tout);
1312 btu_start_timer(&p_ccb->timer_entry, BTU_TTYPE_AVDT_CCB_RET, avdt_cb.rcb.ret_tout);
H A Davdt_int.h540 tAVDT_REG rcb; /* registration control block */ member in struct:__anon808
H A Davdt_api.c140 memcpy(&avdt_cb.rcb, p_reg, sizeof(tAVDT_REG));

Completed in 153 milliseconds