Searched refs:notif_reg (Results 1 – 3 of 3) sorted by relevance
/system/bt/bta/gatt/ |
D | bta_gattc_api.c | 913 if ( p_clreg->notif_reg[i].in_use && in BTA_GATTC_RegisterForNotifications() 914 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && in BTA_GATTC_RegisterForNotifications() 915 bta_gattc_charid_compare(&p_clreg->notif_reg[i].char_id, p_char_id)) in BTA_GATTC_RegisterForNotifications() 926 if (!p_clreg->notif_reg[i].in_use) in BTA_GATTC_RegisterForNotifications() 928 memset((void *)&p_clreg->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in BTA_GATTC_RegisterForNotifications() 930 p_clreg->notif_reg[i].in_use = TRUE; in BTA_GATTC_RegisterForNotifications() 931 memcpy(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN); in BTA_GATTC_RegisterForNotifications() 933 … p_clreg->notif_reg[i].char_id.srvc_id.is_primary = p_char_id->srvc_id.is_primary; in BTA_GATTC_RegisterForNotifications() 934 … bta_gattc_cpygattid(&p_clreg->notif_reg[i].char_id.srvc_id.id, &p_char_id->srvc_id.id); in BTA_GATTC_RegisterForNotifications() 935 … bta_gattc_cpygattid(&p_clreg->notif_reg[i].char_id.char_id, &p_char_id->char_id); in BTA_GATTC_RegisterForNotifications() [all …]
|
D | bta_gattc_utils.c | 575 if (p_clreg->notif_reg[i].in_use && in bta_gattc_check_notif_registry() 576 bdcmp(p_clreg->notif_reg[i].remote_bda, p_srcb->server_bda) == 0 && in bta_gattc_check_notif_registry() 577 bta_gattc_charid_compare (&p_clreg->notif_reg[i].char_id, &p_notify->char_id)) in bta_gattc_check_notif_registry() 609 if (p_clrcb->notif_reg[i].in_use && in bta_gattc_clear_notif_registration() 610 !bdcmp(p_clrcb->notif_reg[i].remote_bda, remote_bda)) in bta_gattc_clear_notif_registration() 611 memset(&p_clrcb->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in bta_gattc_clear_notif_registration()
|
D | bta_gattc_int.h | 363 tBTA_GATTC_NOTIF_REG notif_reg[BTA_GATTC_NOTIF_REG_MAX]; member
|