Home
last modified time | relevance | path

Searched refs:p_clreg (Results 1 – 4 of 4) sorted by relevance

/external/bluetooth/bluedroid/bta/gatt/
Dbta_gattc_act.c178 void bta_gattc_int_deregister_cmpl(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_IF client_if) in bta_gattc_int_deregister_cmpl() argument
180 tBTA_GATTC_CBACK *p_cback = p_clreg->p_cback; in bta_gattc_int_deregister_cmpl()
186 GATT_Deregister(p_clreg->client_if); in bta_gattc_int_deregister_cmpl()
187 memset(p_clreg, 0, sizeof(tBTA_GATTC_RCB)); in bta_gattc_int_deregister_cmpl()
207 void bta_gattc_deregister_cmpl(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_IF client_if) in bta_gattc_deregister_cmpl() argument
240 tBTA_GATTC_RCB *p_clreg; in bta_gattc_int_deregister() local
245 if ((p_clreg = bta_gattc_cl_get_regcb(client_if)) != NULL) in bta_gattc_int_deregister()
247 p_cback = p_clreg->p_cback; in bta_gattc_int_deregister()
249 memset(p_clreg, 0, sizeof(tBTA_GATTC_RCB)); in bta_gattc_int_deregister()
273 tBTA_GATTC_RCB *p_clreg; in bta_gattc_deregister() local
[all …]
Dbta_gattc_api.c854 tBTA_GATTC_RCB *p_clreg; in BTA_GATTC_RegisterForNotifications() local
867 if ((p_clreg = bta_gattc_cl_get_regcb(client_if)) != NULL) in BTA_GATTC_RegisterForNotifications()
871 if ( p_clreg->notif_reg[i].in_use && in BTA_GATTC_RegisterForNotifications()
872 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && in BTA_GATTC_RegisterForNotifications()
873 bta_gattc_charid_compare(&p_clreg->notif_reg[i].char_id, p_char_id)) in BTA_GATTC_RegisterForNotifications()
884 if (!p_clreg->notif_reg[i].in_use) in BTA_GATTC_RegisterForNotifications()
886 memset((void *)&p_clreg->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in BTA_GATTC_RegisterForNotifications()
888 p_clreg->notif_reg[i].in_use = TRUE; in BTA_GATTC_RegisterForNotifications()
889 memcpy(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN); in BTA_GATTC_RegisterForNotifications()
891p_clreg->notif_reg[i].char_id.srvc_id.is_primary = p_char_id->srvc_id.is_primary; in BTA_GATTC_RegisterForNotifications()
[all …]
Dbta_gattc_utils.c558 BOOLEAN bta_gattc_check_notif_registry(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_SERV *p_srcb, in bta_gattc_check_notif_registry() argument
565 if (p_clreg->notif_reg[i].in_use && in bta_gattc_check_notif_registry()
566 bdcmp(p_clreg->notif_reg[i].remote_bda, p_srcb->server_bda) == 0 && in bta_gattc_check_notif_registry()
567 bta_gattc_charid_compare (&p_clreg->notif_reg[i].char_id, &p_notify->char_id)) in bta_gattc_check_notif_registry()
769 void bta_gattc_send_open_cback( tBTA_GATTC_RCB *p_clreg, tBTA_GATT_STATUS status, in bta_gattc_send_open_cback() argument
774 if (p_clreg->p_cback) in bta_gattc_send_open_cback()
779 cb_data.open.client_if = p_clreg->client_if; in bta_gattc_send_open_cback()
783 (*p_clreg->p_cback)(BTA_GATTC_OPEN_EVT, &cb_data); in bta_gattc_send_open_cback()
Dbta_gattc_int.h438 extern void bta_gattc_init_bk_conn(tBTA_GATTC_API_OPEN *p_data, tBTA_GATTC_RCB *p_clreg);
440 extern void bta_gattc_send_open_cback( tBTA_GATTC_RCB *p_clreg, tBTA_GATT_STATUS status,
460 extern BOOLEAN bta_gattc_check_notif_registry(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_SERV *p_srcb, tB…