Searched refs:app_cb (Results 1 – 6 of 6) sorted by relevance
/system/bt/stack/gatt/ |
D | gatt_cl.c | 439 if (p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_find_type_value_rsp() 440 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_find_type_value_rsp() 500 if (p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_read_info_rsp() 501 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_read_info_rsp() 714 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION)) in gatt_process_notification() 730 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb) in gatt_process_notification() 733 … (*p_reg->app_cb.p_cmpl_cb) (conn_id, event, encrypt_status, (tGATT_CL_COMPLETE *)&value); in gatt_process_notification() 759 …if (((!p_clcb->p_reg) || (!p_clcb->p_reg->app_cb.p_disc_res_cb)) && (p_clcb->operation == GATTC_OP… in gatt_process_read_by_type_rsp() 924 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_read_by_type_rsp() 925 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_read_by_type_rsp() [all …]
|
D | gatt_auth.c | 239 if (gatt_cb.cl_rcb[i].in_use && gatt_cb.cl_rcb[i].app_cb.p_enc_cmpl_cb) in gatt_notify_enc_cmpl() 241 (*gatt_cb.cl_rcb[i].app_cb.p_enc_cmpl_cb)(gatt_cb.cl_rcb[i].gatt_if, bd_addr); in gatt_notify_enc_cmpl()
|
D | gatt_main.c | 536 if (p_reg->app_cb.p_congestion_cb) in gatt_channel_congestion() 539 (*p_reg->app_cb.p_congestion_cb)(conn_id, congested); in gatt_channel_congestion() 966 if (p_reg->app_cb.p_conn_cb) in gatt_send_conn_cback() 969 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, p_tcb->peer_bda, conn_id, in gatt_send_conn_cback()
|
D | gatt_utils.c | 1473 p_reg->app_cb.p_req_cb) in gatt_sr_send_req_callback() 1475 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); in gatt_sr_send_req_callback() 2176 tGATT_CMPL_CBACK *p_cmpl_cb = (p_clcb->p_reg) ? p_clcb->p_reg->app_cb.p_cmpl_cb : NULL; in gatt_end_operation() 2178 …tGATT_DISC_CMPL_CB *p_disc_cmpl_cb = (p_clcb->p_reg) ? p_clcb->p_reg->app_cb.p_disc_cmpl_cb : NUL… in gatt_end_operation() 2293 if (p_reg->in_use && p_reg->app_cb.p_conn_cb) in gatt_cleanup_upon_disc() 2297 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, bda, conn_id, FALSE, reason, transport); in gatt_cleanup_upon_disc()
|
D | gatt_api.c | 1215 p_reg->app_cb = *p_cb_info; in GATT_Register() 1335 if (p_reg->app_cb.p_conn_cb && p_tcb) in GATT_StartIf() 1338 (*p_reg->app_cb.p_conn_cb)(gatt_if, bda, conn_id, TRUE, 0, transport); in GATT_StartIf()
|
D | gatt_int.h | 254 tGATT_CBACK app_cb; member
|