Searched refs:p_clreg (Results 1 - 5 of 5) sorted by relevance

/external/bluetooth/bluedroid/bta/gatt/
H A Dbta_gattc_api.c871 tBTA_GATTC_RCB *p_clreg; local
884 if ((p_clreg = bta_gattc_cl_get_regcb(client_if)) != NULL)
888 if ( p_clreg->notif_reg[i].in_use &&
889 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) &&
890 bta_gattc_charid_compare(&p_clreg->notif_reg[i].char_id, p_char_id))
901 if (!p_clreg->notif_reg[i].in_use)
903 memset((void *)&p_clreg->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG));
905 p_clreg->notif_reg[i].in_use = TRUE;
906 memcpy(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN);
908 p_clreg
950 tBTA_GATTC_RCB *p_clreg; local
[all...]
H A Dbta_gattc_act.c53 static void bta_gattc_deregister_cmpl(tBTA_GATTC_RCB *p_clreg);
271 void bta_gattc_deregister(tBTA_GATTC_CB *p_cb, tBTA_GATTC_RCB *p_clreg) argument
276 if (p_clreg != NULL)
283 if (p_cb->bg_track[i].cif_mask & (1 <<(p_clreg->client_if - 1)))
285 bta_gattc_mark_bg_conn(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE, FALSE);
286 GATT_CancelConnect(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE);
288 if (p_cb->bg_track[i].cif_adv_mask & (1 <<(p_clreg->client_if - 1)))
290 bta_gattc_mark_bg_conn(p_clreg->client_if, p_cb->bg_track[i].remote_bda, FALSE, TRUE);
295 if (p_clreg->num_clcb > 0)
300 if (p_cb->clcb[i].in_use && (p_cb->clcb[i].p_rcb == p_clreg))
331 tBTA_GATTC_RCB *p_clreg = bta_gattc_cl_get_regcb(p_msg->api_conn.client_if); local
376 tBTA_GATTC_RCB *p_clreg; local
417 tBTA_GATTC_RCB *p_clreg; local
532 bta_gattc_init_bk_conn(tBTA_GATTC_API_OPEN *p_data, tBTA_GATTC_RCB *p_clreg) argument
585 tBTA_GATTC_RCB *p_clreg; local
751 tBTA_GATTC_RCB *p_clreg = p_clcb->p_rcb; local
1610 bta_gattc_deregister_cmpl(tBTA_GATTC_RCB *p_clreg) argument
2075 tBTA_GATTC_RCB *p_clreg = bta_gattc_cl_get_regcb(p_msg->api_listen.client_if); local
2143 tBTA_GATTC_RCB *p_clreg = bta_gattc_cl_get_regcb(p_msg->api_listen.client_if); local
[all...]
H A Dbta_gattc_main.c349 tBTA_GATTC_RCB *p_clreg; local
368 p_clreg = bta_gattc_cl_get_regcb(((tBTA_GATTC_DATA *)p_msg)->api_dereg.client_if);
369 bta_gattc_deregister(p_cb, p_clreg);
H A Dbta_gattc_int.h445 extern void bta_gattc_deregister(tBTA_GATTC_CB *p_cb, tBTA_GATTC_RCB *p_clreg);
481 extern void bta_gattc_init_bk_conn(tBTA_GATTC_API_OPEN *p_data, tBTA_GATTC_RCB *p_clreg);
483 extern void bta_gattc_send_open_cback( tBTA_GATTC_RCB *p_clreg, tBTA_GATT_STATUS status,
509 extern BOOLEAN bta_gattc_check_notif_registry(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_SERV *p_srcb, tBTA_GATTC_NOTIFY *p_notify);
H A Dbta_gattc_utils.c695 BOOLEAN bta_gattc_check_notif_registry(tBTA_GATTC_RCB *p_clreg, tBTA_GATTC_SERV *p_srcb, argument
702 if (p_clreg->notif_reg[i].in_use &&
703 bdcmp(p_clreg->notif_reg[i].remote_bda, p_srcb->server_bda) == 0 &&
704 bta_gattc_charid_compare (&p_clreg->notif_reg[i].char_id, &p_notify->char_id))
908 void bta_gattc_send_open_cback( tBTA_GATTC_RCB *p_clreg, tBTA_GATT_STATUS status, argument
913 if (p_clreg->p_cback)
918 cb_data.open.client_if = p_clreg->client_if;
922 (*p_clreg->p_cback)(BTA_GATTC_OPEN_EVT, &cb_data);

Completed in 36 milliseconds