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.cc649 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_RegisterForNotifications()
650 p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_RegisterForNotifications()
651 p_clreg->notif_reg[i].handle == handle) { in BTA_GATTC_RegisterForNotifications()
659 if (!p_clreg->notif_reg[i].in_use) { in BTA_GATTC_RegisterForNotifications()
660 memset((void*)&p_clreg->notif_reg[i], 0, in BTA_GATTC_RegisterForNotifications()
663 p_clreg->notif_reg[i].in_use = true; in BTA_GATTC_RegisterForNotifications()
664 p_clreg->notif_reg[i].remote_bda = bda; in BTA_GATTC_RegisterForNotifications()
666 p_clreg->notif_reg[i].handle = handle; in BTA_GATTC_RegisterForNotifications()
713 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_DeregisterForNotifications()
714 p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_DeregisterForNotifications()
[all …]
Dbta_gattc_utils.cc343 if (p_clreg->notif_reg[i].in_use && in bta_gattc_check_notif_registry()
344 p_clreg->notif_reg[i].remote_bda == p_srcb->server_bda && in bta_gattc_check_notif_registry()
345 p_clreg->notif_reg[i].handle == p_notify->handle) { in bta_gattc_check_notif_registry()
379 if (p_clrcb->notif_reg[i].in_use && in bta_gattc_clear_notif_registration()
380 p_clrcb->notif_reg[i].remote_bda == remote_bda) { in bta_gattc_clear_notif_registration()
384 handle = p_clrcb->notif_reg[i].handle; in bta_gattc_clear_notif_registration()
386 memset(&p_clrcb->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in bta_gattc_clear_notif_registration()
Dbta_gattc_int.h239 tBTA_GATTC_NOTIF_REG notif_reg[BTA_GATTC_NOTIF_REG_MAX]; member