Home
last modified time | relevance | path

Searched refs:rcb (Results 1 – 14 of 14) sorted by relevance

/system/bt/bta/gatt/
Dbta_gatts_act.cc159 if (p_cb->rcb[i].in_use) { in bta_gatts_api_disable()
160 GATT_Deregister(p_cb->rcb[i].gatt_if); in bta_gatts_api_disable()
188 if (p_cb->rcb[i].in_use) { in bta_gatts_register()
189 if (p_cb->rcb[i].app_uuid == p_msg->api_reg.app_uuid) { in bta_gatts_register()
199 if (first_unuse == 0xff && !p_cb->rcb[i].in_use) { in bta_gatts_register()
210 p_cb->rcb[first_unuse].in_use = true; in bta_gatts_register()
211 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; in bta_gatts_register()
212 p_cb->rcb[first_unuse].app_uuid = p_msg->api_reg.app_uuid; in bta_gatts_register()
213 cb_data.reg_oper.server_if = p_cb->rcb[first_unuse].gatt_if = in bta_gatts_register()
215 if (!p_cb->rcb[first_unuse].gatt_if) { in bta_gatts_register()
[all …]
Dbta_gatts_utils.cc69 for (i = 0, p_reg = bta_gatts_cb.rcb; i < BTA_GATTS_MAX_APP_NUM; in bta_gatts_find_app_rcb_by_app_if()
92 if (p_cb->rcb[i].in_use && p_cb->rcb[i].gatt_if == server_if) return i; in bta_gatts_find_app_rcb_idx_by_app_if()
Dbta_gatts_int.h145 tBTA_GATTS_RCB rcb[BTA_GATTS_MAX_APP_NUM]; member
/system/bt/bta/av/
Dbta_av_act.cc83 if (bta_av_cb.rcb[i].shdl == shdl && in bta_av_get_rcb_by_shdl()
84 bta_av_cb.rcb[i].handle != BTA_AV_RC_HANDLE_NONE) { in bta_av_get_rcb_by_shdl()
85 p_rcb = &bta_av_cb.rcb[i]; in bta_av_get_rcb_by_shdl()
160 if ((p_cb->disabling) || (bta_av_cb.rcb[i].shdl != 0)) in bta_av_close_all_rc()
161 bta_av_del_rc(&bta_av_cb.rcb[i]); in bta_av_close_all_rc()
354 p_rcb = &p_cb->rcb[i]; in bta_av_rc_create()
512 if (p_cb->rcb[i].handle == BTA_AV_RC_HANDLE_NONE) { in bta_av_rc_opened()
518 p_cb->features, p_cb->rcb[i].peer_features); in bta_av_rc_opened()
525 if (p_cb->rcb[i].lidx == (BTA_AV_NUM_LINKS + 1) && shdl != 0) { in bta_av_rc_opened()
530 p_rcb->shdl = p_cb->rcb[i].shdl; in bta_av_rc_opened()
[all …]
Dbta_av_int.h594 tBTA_AV_RCB rcb[BTA_AV_NUM_RCB]; /* RCB control block */ member
Dbta_av_main.cc225 bta_av_cb.rcb[i].handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
/system/bt/stack/avrc/
Davrc_int.h149 tAVRC_RASM_CB rcb[AVCT_NUM_CONN]; member
Davrc_api.cc474 p_rcb = &avrc_cb.rcb[handle]; in avrc_proc_far_msg()
1015 memset(&avrc_cb.rcb[*p_handle], 0, sizeof(tAVRC_RASM_CB)); in AVRC_Open()
/system/bt/stack/avdt/
Davdt_api.cc120 avdtp_cb.rcb = *p_reg; in AVDT_Register()
1220 avdtp_cb.rcb.ctrl_mtu); in stack_debug_avdtp_api_dump()
1221 dprintf(fd, " Security mask: 0x%x\n", avdtp_cb.rcb.sec_mask); in stack_debug_avdtp_api_dump()
Davdt_ccb_act.cc125 uint64_t interval_ms = avdtp_cb.rcb.idle_tout * 1000; in avdt_ccb_chk_close()
783 uint64_t interval_ms = avdtp_cb.rcb.ret_tout * 1000; in avdt_ccb_ret_cmd()
Davdt_l2c.cc190 p_tbl->my_mtu = avdtp_cb.rcb.ctrl_mtu; in avdt_l2c_connect_ind_cback()
Davdt_msg.cc1143 (sig == AVDT_SIG_SECURITY) || (avdtp_cb.rcb.ret_tout == 0)) { in avdt_msg_send()
1146 uint64_t interval_ms = avdtp_cb.rcb.sig_tout * 1000; in avdt_msg_send()
1152 uint64_t interval_ms = avdtp_cb.rcb.ret_tout * 1000; in avdt_msg_send()
Davdt_int.h751 rcb.Reset(); in Reset()
763 AvdtpRcb rcb; // Registration control block variable
Davdt_ad.cc530 p_tbl->my_mtu = avdtp_cb.rcb.ctrl_mtu; in avdt_ad_open_req()