• Home
  • Raw
  • Download

Lines Matching refs:p_cback

165 void bta_gattc_register(const Uuid& app_uuid, tBTA_GATTC_CBACK* p_cback,  in bta_gattc_register()  argument
185 bta_gattc_cb.cl_rcb[i].p_cback = p_cback; in bta_gattc_register()
303 if (p_clreg && p_clreg->p_cback) { in bta_gattc_process_api_open_cancel()
306 (*p_clreg->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_process_api_open_cancel()
314 if (!p_clreg || !p_clreg->p_cback) return; in bta_gattc_process_enc_cmpl()
322 (*p_clreg->p_cback)(BTA_GATTC_ENC_CMPL_CB_EVT, &cb_data); in bta_gattc_process_enc_cmpl()
331 if (p_clcb && p_clcb->p_rcb && p_clcb->p_rcb->p_cback) in bta_gattc_cancel_open_error()
332 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_cancel_open_error()
434 if (p_clreg && p_clreg->p_cback) { in bta_gattc_cancel_bk_conn()
435 (*p_clreg->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_cancel_bk_conn()
443 if (p_clcb->p_rcb->p_cback) { in bta_gattc_cancel_open_ok()
445 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_cancel_open_ok()
459 if (p_clcb->p_rcb->p_cback) { in bta_gattc_cancel_open()
461 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_CANCEL_OPEN_EVT, &cb_data); in bta_gattc_cancel_open()
531 if (p_clcb->p_rcb->p_cback) { in bta_gattc_close_fail()
541 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_CLOSE_EVT, &cb_data); in bta_gattc_close_fail()
547 tBTA_GATTC_CBACK* p_cback = p_clcb->p_rcb->p_cback; in bta_gattc_close() local
581 if (p_cback) (*p_cback)(BTA_GATTC_CLOSE_EVT, &cb_data); in bta_gattc_close()
764 if (p_clcb->p_rcb->p_cback) { in bta_gattc_disc_cmpl()
767 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_SRVC_DISC_DONE_EVT, &bta_gattc); in bta_gattc_disc_cmpl()
935 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_EXEC_EVT, &cb_data); in bta_gattc_exec_cmpl()
960 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_CFG_MTU_EVT, &cb_data); in bta_gattc_cfg_mtu_cmpl()
1062 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_SEARCH_CMPL_EVT, &cb_data); in bta_gattc_search()
1083 tBTA_GATTC_CBACK* p_cback = p_clreg->p_cback; in bta_gattc_deregister_cmpl() local
1093 if (p_cback) /* callback with de-register event */ in bta_gattc_deregister_cmpl()
1094 (*p_cback)(BTA_GATTC_DEREG_EVT, &cb_data); in bta_gattc_deregister_cmpl()
1251 if (p_clrcb->p_cback) { in bta_gattc_process_srvc_chg_ind()
1255 (*p_clrcb->p_cback)(BTA_GATTC_SRVC_CHG_EVT, &bta_gattc); in bta_gattc_process_srvc_chg_ind()
1277 if (p_clcb->p_rcb->p_cback) { in bta_gattc_proc_other_indication()
1280 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_NOTIF_EVT, &bta_gattc); in bta_gattc_proc_other_indication()
1405 if (!p_clcb || !p_clcb->p_rcb->p_cback) return; in bta_gattc_cong_cback()
1411 (*p_clcb->p_rcb->p_cback)(BTA_GATTC_CONGEST_EVT, &cb_data); in bta_gattc_cong_cback()
1419 if (!p_clreg || !p_clreg->p_cback) { in bta_gattc_phy_update_cback()
1430 (*p_clreg->p_cback)(BTA_GATTC_PHY_UPDATE_EVT, &cb_data); in bta_gattc_phy_update_cback()
1438 if (!p_clreg || !p_clreg->p_cback) { in bta_gattc_conn_update_cback()
1449 (*p_clreg->p_cback)(BTA_GATTC_CONN_UPDATE_EVT, &cb_data); in bta_gattc_conn_update_cback()