Home
last modified time | relevance | path

Searched refs:app_cb (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/gatt/
Dgatt_cl.cc394 if (p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_find_type_value_rsp()
395 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, in gatt_process_find_type_value_rsp()
451 if (p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_read_info_rsp()
452 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, in gatt_process_read_info_rsp()
663 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && in gatt_process_notification()
680 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb) { in gatt_process_notification()
682 (*p_reg->app_cb.p_cmpl_cb)(conn_id, event, encrypt_status, in gatt_process_notification()
708 if (((!p_clcb->p_reg) || (!p_clcb->p_reg->app_cb.p_disc_res_cb)) && in gatt_process_read_by_type_rsp()
878 p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_read_by_type_rsp()
879 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, in gatt_process_read_by_type_rsp()
[all …]
Dgatt_main.cc472 if (p_reg->app_cb.p_congestion_cb) { in gatt_channel_congestion()
474 (*p_reg->app_cb.p_congestion_cb)(conn_id, congested); in gatt_channel_congestion()
494 if (p_reg->in_use && p_reg->app_cb.p_phy_update_cb) { in gatt_notify_phy_updated()
496 (*p_reg->app_cb.p_phy_update_cb)(p_reg->gatt_if, conn_id, tx_phy, rx_phy, in gatt_notify_phy_updated()
514 if (p_reg->in_use && p_reg->app_cb.p_conn_update_cb) { in gatt_notify_conn_update()
516 (*p_reg->app_cb.p_conn_update_cb)(p_reg->gatt_if, conn_id, interval, in gatt_notify_conn_update()
819 if (p_reg->app_cb.p_conn_cb) { in gatt_send_conn_cback()
821 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, p_tcb->peer_bda, conn_id, true, in gatt_send_conn_cback()
Dgatt_utils.cc718 if (p_reg->in_use && p_reg->app_cb.p_req_cb) { in gatt_sr_send_req_callback()
719 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); in gatt_sr_send_req_callback()
1184 (p_clcb->p_reg) ? p_clcb->p_reg->app_cb.p_cmpl_cb : NULL; in gatt_end_operation()
1187 (p_clcb->p_reg) ? p_clcb->p_reg->app_cb.p_disc_cmpl_cb : NULL; in gatt_end_operation()
1277 if (p_reg->in_use && p_reg->app_cb.p_conn_cb) { in gatt_cleanup_upon_disc()
1281 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, bda, conn_id, false, reason, in gatt_cleanup_upon_disc()
Dgatt_auth.cc219 if (gatt_cb.cl_rcb[i].in_use && gatt_cb.cl_rcb[i].app_cb.p_enc_cmpl_cb) { in gatt_notify_enc_cmpl()
220 (*gatt_cb.cl_rcb[i].app_cb.p_enc_cmpl_cb)(gatt_cb.cl_rcb[i].gatt_if, in gatt_notify_enc_cmpl()
Dgatt_api.cc963 p_reg->app_cb = *p_cb_info; in GATT_Register()
1069 if (p_reg->app_cb.p_conn_cb && p_tcb) { in GATT_StartIf()
1071 (*p_reg->app_cb.p_conn_cb)(gatt_if, bda, conn_id, true, 0, transport); in GATT_StartIf()
Dgatt_int.h192 tGATT_CBACK app_cb; member