Home
last modified time | relevance | path

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

/system/bt/bta/gatt/
Dbta_gatts_act.cc157 if (p_cb->rcb[i].in_use) { in bta_gatts_api_disable()
158 GATT_Deregister(p_cb->rcb[i].gatt_if); in bta_gatts_api_disable()
186 if (p_cb->rcb[i].in_use) { in bta_gatts_register()
187 if (p_cb->rcb[i].app_uuid == p_msg->api_reg.app_uuid) { in bta_gatts_register()
197 if (first_unuse == 0xff && !p_cb->rcb[i].in_use) { in bta_gatts_register()
208 p_cb->rcb[first_unuse].in_use = true; in bta_gatts_register()
209 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; in bta_gatts_register()
210 p_cb->rcb[first_unuse].app_uuid = p_msg->api_reg.app_uuid; in bta_gatts_register()
211 cb_data.reg_oper.server_if = p_cb->rcb[first_unuse].gatt_if = in bta_gatts_register()
214 if (!p_cb->rcb[first_unuse].gatt_if) { in bta_gatts_register()
[all …]
Dbta_gatts_utils.cc66 for (i = 0, p_reg = bta_gatts_cb.rcb; i < BTA_GATTS_MAX_APP_NUM; in bta_gatts_find_app_rcb_by_app_if()
89 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.h148 tBTA_GATTS_RCB rcb[BTA_GATTS_MAX_APP_NUM]; member
/system/bt/bta/av/
Dbta_av_act.cc78 if (bta_av_cb.rcb[i].shdl == shdl && in bta_av_get_rcb_by_shdl()
79 bta_av_cb.rcb[i].handle != BTA_AV_RC_HANDLE_NONE) { in bta_av_get_rcb_by_shdl()
80 p_rcb = &bta_av_cb.rcb[i]; in bta_av_get_rcb_by_shdl()
155 if ((p_cb->disabling) || (bta_av_cb.rcb[i].shdl != 0)) in bta_av_close_all_rc()
156 bta_av_del_rc(&bta_av_cb.rcb[i]); in bta_av_close_all_rc()
348 p_rcb = &p_cb->rcb[i]; in bta_av_rc_create()
507 if (p_cb->rcb[i].handle == BTA_AV_RC_HANDLE_NONE) { in bta_av_rc_opened()
513 p_cb->features, p_cb->rcb[i].peer_features); in bta_av_rc_opened()
520 if (p_cb->rcb[i].lidx == (BTA_AV_NUM_LINKS + 1) && shdl != 0) { in bta_av_rc_opened()
525 p_rcb->shdl = p_cb->rcb[i].shdl; in bta_av_rc_opened()
[all …]
Dbta_av_int.h620 tBTA_AV_RCB rcb[BTA_AV_NUM_RCB]; /* RCB control block */ member
Dbta_av_main.cc159 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()
1043 memset(&avrc_cb.rcb[*p_handle], 0, sizeof(tAVRC_RASM_CB)); in AVRC_Open()
/system/bt/stack/avdt/
Davdt_ccb_act.cc125 uint64_t interval_ms = avdtp_cb.rcb.idle_tout * 1000; in avdt_ccb_chk_close()
789 uint64_t interval_ms = avdtp_cb.rcb.ret_tout * 1000; in avdt_ccb_ret_cmd()
Davdt_api.cc106 avdtp_cb.rcb = *p_reg; in AVDT_Register()
1030 avdtp_cb.rcb.ctrl_mtu); in stack_debug_avdtp_api_dump()
Davdt_msg.cc1155 (sig == AVDT_SIG_SECURITY) || (avdtp_cb.rcb.ret_tout == 0)) { in avdt_msg_send()
1158 uint64_t interval_ms = avdtp_cb.rcb.sig_tout * 1000; in avdt_msg_send()
1164 uint64_t interval_ms = avdtp_cb.rcb.ret_tout * 1000; in avdt_msg_send()
Davdt_int.h741 rcb.Reset(); in Reset()
753 AvdtpRcb rcb; // Registration control block variable