Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gatts_act.cc154 if (p_cb->rcb[i].in_use) { in bta_gatts_api_disable()
155 GATT_Deregister(p_cb->rcb[i].gatt_if); in bta_gatts_api_disable()
183 if (p_cb->rcb[i].in_use) { in bta_gatts_register()
184 if (p_cb->rcb[i].app_uuid == p_msg->api_reg.app_uuid) { in bta_gatts_register()
194 if (first_unuse == 0xff && !p_cb->rcb[i].in_use) { in bta_gatts_register()
205 p_cb->rcb[first_unuse].in_use = true; in bta_gatts_register()
206 p_cb->rcb[first_unuse].p_cback = p_msg->api_reg.p_cback; in bta_gatts_register()
207 p_cb->rcb[first_unuse].app_uuid = p_msg->api_reg.app_uuid; in bta_gatts_register()
208 cb_data.reg_oper.server_if = p_cb->rcb[first_unuse].gatt_if = in bta_gatts_register()
211 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.h158 tBTA_GATTS_RCB rcb[BTA_GATTS_MAX_APP_NUM]; member
/packages/modules/Bluetooth/system/bta/av/
Dbta_av_act.cc94 if (bta_av_cb.rcb[i].shdl == shdl && in bta_av_get_rcb_by_shdl()
95 bta_av_cb.rcb[i].handle != BTA_AV_RC_HANDLE_NONE) { in bta_av_get_rcb_by_shdl()
96 p_rcb = &bta_av_cb.rcb[i]; in bta_av_get_rcb_by_shdl()
170 if ((p_cb->disabling) || (bta_av_cb.rcb[i].shdl != 0)) in bta_av_close_all_rc()
171 bta_av_del_rc(&bta_av_cb.rcb[i]); in bta_av_close_all_rc()
388 p_rcb = &p_cb->rcb[i]; in bta_av_rc_create()
546 if (p_cb->rcb[i].handle == BTA_AV_RC_HANDLE_NONE) { in bta_av_rc_opened()
552 p_cb->rcb[i].peer_features); in bta_av_rc_opened()
559 if (p_cb->rcb[i].lidx == (BTA_AV_NUM_LINKS + 1) && shdl != 0) { in bta_av_rc_opened()
564 p_rcb->shdl = p_cb->rcb[i].shdl; in bta_av_rc_opened()
[all …]
Dbta_av_int.h649 tBTA_AV_RCB rcb[BTA_AV_NUM_RCB]; /* RCB control block */ member
Dbta_av_main.cc196 bta_av_cb.rcb[i].handle = BTA_AV_RC_HANDLE_NONE; in bta_av_api_enable()
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_int.h150 tAVRC_RASM_CB rcb[AVCT_NUM_CONN]; member
Davrc_api.cc497 p_rcb = &avrc_cb.rcb[handle]; in avrc_proc_far_msg()
1093 memset(&avrc_cb.rcb[*p_handle], 0, sizeof(tAVRC_RASM_CB)); in AVRC_Open()
/packages/modules/Bluetooth/system/stack/avdt/
Davdt_ccb_act.cc128 uint64_t interval_ms = avdtp_cb.rcb.idle_tout * 1000; in avdt_ccb_chk_close()
792 uint64_t interval_ms = avdtp_cb.rcb.ret_tout * 1000; in avdt_ccb_ret_cmd()
Davdt_api.cc114 avdtp_cb.rcb = *p_reg; in AVDT_Register()
995 avdtp_cb.rcb.ctrl_mtu); in stack_debug_avdtp_api_dump()
Davdt_msg.cc1152 (sig == AVDT_SIG_SECURITY) || (avdtp_cb.rcb.ret_tout == 0)) { in avdt_msg_send()
1155 uint64_t interval_ms = avdtp_cb.rcb.sig_tout * 1000; in avdt_msg_send()
1161 uint64_t interval_ms = avdtp_cb.rcb.ret_tout * 1000; in avdt_msg_send()
Davdt_int.h741 rcb.Reset(); in Reset()
752 AvdtpRcb rcb; // Registration control block variable