Searched refs:notif_reg (Results 1 – 3 of 3) sorted by relevance
/system/bt/bta/gatt/ |
D | bta_gattc_api.c | 610 if ( p_clreg->notif_reg[i].in_use && in BTA_GATTC_RegisterForNotifications() 611 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && in BTA_GATTC_RegisterForNotifications() 612 p_clreg->notif_reg[i].handle == handle) in BTA_GATTC_RegisterForNotifications() 623 if (!p_clreg->notif_reg[i].in_use) in BTA_GATTC_RegisterForNotifications() 625 memset((void *)&p_clreg->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in BTA_GATTC_RegisterForNotifications() 627 p_clreg->notif_reg[i].in_use = TRUE; in BTA_GATTC_RegisterForNotifications() 628 memcpy(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN); in BTA_GATTC_RegisterForNotifications() 630 p_clreg->notif_reg[i].handle = handle; in BTA_GATTC_RegisterForNotifications() 679 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_DeregisterForNotifications() 680 !memcmp(p_clreg->notif_reg[i].remote_bda, bda, BD_ADDR_LEN) && in BTA_GATTC_DeregisterForNotifications() [all …]
|
D | bta_gattc_utils.c | 462 if (p_clreg->notif_reg[i].in_use && in bta_gattc_check_notif_registry() 463 bdcmp(p_clreg->notif_reg[i].remote_bda, p_srcb->server_bda) == 0 && in bta_gattc_check_notif_registry() 464 p_clreg->notif_reg[i].handle == p_notify->handle) in bta_gattc_check_notif_registry() 498 if (p_clrcb->notif_reg[i].in_use && in bta_gattc_clear_notif_registration() 499 !bdcmp(p_clrcb->notif_reg[i].remote_bda, remote_bda)) in bta_gattc_clear_notif_registration() 504 handle = p_clrcb->notif_reg[i].handle; in bta_gattc_clear_notif_registration() 506 memset(&p_clrcb->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in bta_gattc_clear_notif_registration()
|
D | bta_gattc_int.h | 317 tBTA_GATTC_NOTIF_REG notif_reg[BTA_GATTC_NOTIF_REG_MAX]; member
|