Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_api.cc685 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_RegisterForNotifications()
686 p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_RegisterForNotifications()
687 p_clreg->notif_reg[i].handle == handle) { in BTA_GATTC_RegisterForNotifications()
695 if (!p_clreg->notif_reg[i].in_use) { in BTA_GATTC_RegisterForNotifications()
696 memset((void*)&p_clreg->notif_reg[i], 0, in BTA_GATTC_RegisterForNotifications()
699 p_clreg->notif_reg[i].in_use = true; in BTA_GATTC_RegisterForNotifications()
700 p_clreg->notif_reg[i].remote_bda = bda; in BTA_GATTC_RegisterForNotifications()
702 p_clreg->notif_reg[i].handle = handle; in BTA_GATTC_RegisterForNotifications()
748 if (p_clreg->notif_reg[i].in_use && in BTA_GATTC_DeregisterForNotifications()
749 p_clreg->notif_reg[i].remote_bda == bda && in BTA_GATTC_DeregisterForNotifications()
[all …]
Dbta_gattc_utils.cc485 if (p_clreg->notif_reg[i].in_use && in bta_gattc_check_notif_registry()
486 p_clreg->notif_reg[i].remote_bda == p_srcb->server_bda && in bta_gattc_check_notif_registry()
487 p_clreg->notif_reg[i].handle == p_notify->handle && in bta_gattc_check_notif_registry()
488 !p_clreg->notif_reg[i].app_disconnected) { in bta_gattc_check_notif_registry()
522 if (p_clrcb->notif_reg[i].in_use && in bta_gattc_clear_notif_registration()
523 p_clrcb->notif_reg[i].remote_bda == remote_bda) { in bta_gattc_clear_notif_registration()
527 handle = p_clrcb->notif_reg[i].handle; in bta_gattc_clear_notif_registration()
529 memset(&p_clrcb->notif_reg[i], 0, sizeof(tBTA_GATTC_NOTIF_REG)); in bta_gattc_clear_notif_registration()
Dbta_gattc_act.cc405 if (p_clreg->notif_reg[i].in_use && in bta_gattc_open()
406 p_clreg->notif_reg[i].remote_bda == p_clcb->bda && in bta_gattc_open()
407 p_clreg->notif_reg[i].app_disconnected) { in bta_gattc_open()
408 p_clreg->notif_reg[i].app_disconnected = false; in bta_gattc_open()
543 if (p_clreg->notif_reg[i].in_use && in bta_gattc_conn()
544 p_clreg->notif_reg[i].remote_bda == p_clcb->bda && in bta_gattc_conn()
545 p_clreg->notif_reg[i].app_disconnected) { in bta_gattc_conn()
546 p_clreg->notif_reg[i].app_disconnected = false; in bta_gattc_conn()
658 if (p_clreg->notif_reg[i].in_use && in bta_gattc_close()
659 p_clreg->notif_reg[i].remote_bda == p_clcb->bda) { in bta_gattc_close()
[all …]
Dbta_gattc_int.h279 tBTA_GATTC_NOTIF_REG notif_reg[BTA_GATTC_NOTIF_REG_MAX]; member