Searched refs:clcb (Results 1 – 9 of 9) sorted by relevance
/aosp12/system/bt/stack/gap/ |
H A D | gap_ble.cc | 108 void clcb_dealloc(tGAP_CLCB& clcb) { in clcb_dealloc() argument 243 if (!clcb.requests.size()) { in send_cl_read_request() 248 clcb.p_cback = req.p_cback; in send_cl_read_request() 250 clcb.requests.pop(); in send_cl_read_request() 261 clcb.cl_op_uuid = uuid; in send_cl_read_request() 270 uint16_t op = clcb.cl_op_uuid; in cl_op_cmpl() 274 clcb.cl_op_uuid = 0; in cl_op_cmpl() 275 clcb.p_cback = NULL; in cl_op_cmpl() 283 if (clcb.connected) { in cl_op_cmpl() 285 GATT_Disconnect(clcb.conn_id); in cl_op_cmpl() [all …]
|
/aosp12/system/bt/stack/srvc/ |
H A D | srvc_eng.cc | 72 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_conn_id_by_bd_addr() 95 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_by_bd_addr() 117 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_by_conn_id() 139 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_find_clcb_idx_by_conn_id() 162 for (i_clcb = 0, p_clcb = srvc_eng_cb.clcb; i_clcb < SRVC_MAX_APPS; in srvc_eng_clcb_alloc() 257 srvc_eng_cb.clcb[clcb_idx].trans_id = trans_id; in srvc_eng_s_request_cback() 287 srvc_eng_cb.clcb[clcb_idx].trans_id = 0; in srvc_eng_s_request_cback() 417 if (srvc_eng_cb.clcb[clcb_idx].trans_id != 0) { in srvc_sr_rsp() 418 GATTS_SendRsp(srvc_eng_cb.clcb[clcb_idx].conn_id, in srvc_sr_rsp() 419 srvc_eng_cb.clcb[clcb_idx].trans_id, st, p_rsp); in srvc_sr_rsp() [all …]
|
H A D | srvc_eng_int.h | 50 tSRVC_CLCB clcb[SRVC_MAX_APPS]; /* connection link*/ member
|
/aosp12/system/bt/bta/gatt/ |
H A D | bta_gattc_act.cc | 235 if (!bta_gattc_cb.clcb[i].in_use || (bta_gattc_cb.clcb[i].p_rcb != p_clreg)) in bta_gattc_deregister() 591 if (bta_gattc_cb.clcb[i].p_srcb == p_srcb) { in bta_gattc_reset_discover_st() 592 bta_gattc_cb.clcb[i].status = status; in bta_gattc_reset_discover_st() 624 if (bta_gattc_cb.clcb[i].p_srcb == p_srcb) { in bta_gattc_set_discover_st() 625 bta_gattc_cb.clcb[i].status = GATT_SUCCESS; in bta_gattc_set_discover_st() 627 bta_gattc_cb.clcb[i].request_during_discovery = in bta_gattc_set_discover_st() 1162 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_process_api_refresh() 1229 if (bta_gattc_cb.clcb[i].in_use && in bta_gattc_process_srvc_chg_ind() 1230 bta_gattc_cb.clcb[i].p_srcb == p_srcb && in bta_gattc_process_srvc_chg_ind() 1231 bta_gattc_cb.clcb[i].p_q_cmd == NULL) { in bta_gattc_process_srvc_chg_ind() [all …]
|
H A D | bta_gattc_utils.cc | 93 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_find_clcb_by_cif() 113 tBTA_GATTC_CLCB* p_clcb = &bta_gattc_cb.clcb[0]; in bta_gattc_find_clcb_by_conn_id() 138 if (!bta_gattc_cb.clcb[i_clcb].in_use) { in bta_gattc_clcb_alloc() 142 p_clcb = &bta_gattc_cb.clcb[i_clcb]; in bta_gattc_clcb_alloc()
|
H A D | bta_gattc_int.h | 308 tBTA_GATTC_CLCB clcb[BTA_GATTC_CLCB_MAX]; member
|
/aosp12/system/bt/stack/gatt/ |
H A D | gatt_utils.cc | 961 if (gatt_cb.clcb[i].in_use && (gatt_cb.clcb[i].conn_id == conn_id)) { in gatt_is_clcb_allocated() 1007 if (!gatt_cb.clcb[i].in_use) { in gatt_clcb_alloc() 1008 p_clcb = &gatt_cb.clcb[i]; in gatt_clcb_alloc() 1202 if (gatt_cb.clcb[i].in_use && gatt_cb.clcb[i].p_tcb->peer_bda == bda) num++; in gatt_num_clcb_by_bd_addr() 1554 tGATT_CLCB* p_clcb = &gatt_cb.clcb[i]; in gatt_cleanup_upon_disc()
|
H A D | gatt_int.h | 400 tGATT_CLCB clcb[GATT_CL_MAX_LCB]; /* connection link control block*/ member
|
H A D | gatt_api.cc | 1082 for (j = 0, p_clcb = &gatt_cb.clcb[j]; j < GATT_CL_MAX_LCB; j++, p_clcb++) { in GATT_Deregister()
|