Home
last modified time | relevance | path

Searched refs:notif_reg (Results 1 – 3 of 3) sorted by relevance

/system/bt/bta/gatt/
Dbta_gattc_api.cc656 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_RegisterForNotifications()
657 p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_RegisterForNotifications()
658 p_clreg->notif_reg[i].handle == handle) { in BTA_GATTC_RegisterForNotifications()
666 if (!p_clreg->notif_reg[i].in_use) { in BTA_GATTC_RegisterForNotifications()
667 memset((void*)&p_clreg->notif_reg[i], 0, in BTA_GATTC_RegisterForNotifications()
670 p_clreg->notif_reg[i].in_use = true; in BTA_GATTC_RegisterForNotifications()
671 p_clreg->notif_reg[i].remote_bda = bda; in BTA_GATTC_RegisterForNotifications()
673 p_clreg->notif_reg[i].handle = handle; in BTA_GATTC_RegisterForNotifications()
720 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_DeregisterForNotifications()
721 p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_DeregisterForNotifications()
[all …]
Dbta_gattc_utils.cc351 if (p_clreg->notif_reg[i].in_use && in bta_gattc_check_notif_registry()
352 p_clreg->notif_reg[i].remote_bda == p_srcb->server_bda && in bta_gattc_check_notif_registry()
353 p_clreg->notif_reg[i].handle == p_notify->handle) { in bta_gattc_check_notif_registry()
387 if (p_clrcb->notif_reg[i].in_use && in bta_gattc_clear_notif_registration()
388 p_clrcb->notif_reg[i].remote_bda == remote_bda) { in bta_gattc_clear_notif_registration()
392 handle = p_clrcb->notif_reg[i].handle; in bta_gattc_clear_notif_registration()
394 memset(&p_clrcb->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in bta_gattc_clear_notif_registration()
Dbta_gattc_int.h242 tBTA_GATTC_NOTIF_REG notif_reg[BTA_GATTC_NOTIF_REG_MAX]; member