Home
last modified time | relevance | path

Searched refs:host_id (Results 1 – 5 of 5) sorted by relevance

/system/nfc/src/nfa/hci/
Dnfa_hci_utils.cc704 bool nfa_hciu_is_active_host(uint8_t host_id) { in nfa_hciu_is_active_host() argument
707 if ((host_id == NFA_HCI_HOST_ID_UICC0) || in nfa_hciu_is_active_host()
708 (host_id >= NFA_HCI_HOST_ID_FIRST_DYNAMICALLY_ALLOCATED)) { in nfa_hciu_is_active_host()
710 if (nfa_hci_cb.active_host[xx] == host_id) return true; in nfa_hciu_is_active_host()
727 bool nfa_hciu_is_host_reseting(uint8_t host_id) { in nfa_hciu_is_host_reseting() argument
730 if ((host_id == NFA_HCI_HOST_ID_UICC0) || in nfa_hciu_is_host_reseting()
731 (host_id >= NFA_HCI_HOST_ID_FIRST_DYNAMICALLY_ALLOCATED)) { in nfa_hciu_is_host_reseting()
733 if (nfa_hci_cb.reset_host[xx] == host_id) return true; in nfa_hciu_is_host_reseting()
Dnfa_hci_act.cc1327 uint8_t host_id = 0; in nfa_hci_handle_admin_gate_rsp() local
1383 host_id = (uint8_t)*p_data++; in nfa_hci_handle_admin_gate_rsp()
1385 if ((host_id == NFA_HCI_HOST_ID_UICC0) || in nfa_hci_handle_admin_gate_rsp()
1386 (host_id >= NFA_HCI_HOST_ID_FIRST_DYNAMICALLY_ALLOCATED)) { in nfa_hci_handle_admin_gate_rsp()
1387 nfa_hci_cb.active_host[host_index] = host_id; in nfa_hci_handle_admin_gate_rsp()
1390 if (nfa_hci_cb.reset_host[index] == host_id) { in nfa_hci_handle_admin_gate_rsp()
1513 host_id = (uint8_t)*p_data++; in nfa_hci_handle_admin_gate_rsp()
1515 if ((host_id == NFA_HCI_HOST_ID_UICC0) || in nfa_hci_handle_admin_gate_rsp()
1516 (host_id >= NFA_HCI_HOST_ID_FIRST_DYNAMICALLY_ALLOCATED)) { in nfa_hci_handle_admin_gate_rsp()
1517 nfa_hci_cb.active_host[host_index] = host_id; in nfa_hci_handle_admin_gate_rsp()
[all …]
/system/nfc/src/nfa/include/
Dnfa_hci_int.h478 extern bool nfa_hciu_is_active_host(uint8_t host_id);
479 extern bool nfa_hciu_is_host_reseting(uint8_t host_id);
Dnfa_dm_int.h350 tNFA_DM_DISC_HOST_ID host_id; /* DH or UICC1/UICC2 */ member
656 tNFA_DM_DISC_HOST_ID host_id,
/system/nfc/src/nfa/dm/
Dnfa_dm_discover.cc920 if (nfa_dm_cb.disc_cb.entry[xx].host_id == in nfa_dm_start_rf_discover()
964 if (nfa_dm_cb.disc_cb.entry[xx].host_id == in nfa_dm_start_rf_discover()
1224 (nfa_dm_cb.disc_cb.entry[xx].host_id != NFA_DM_DISC_HOST_ID_DH)) { in nfa_dm_disc_notify_activation()
1271 if (nfa_dm_cb.disc_cb.entry[xx].host_id == host_id_in_LRT) { in nfa_dm_disc_notify_activation()
2577 tNFA_DM_DISC_HOST_ID host_id, in nfa_dm_add_rf_discover() argument
2587 nfa_dm_cb.disc_cb.entry[xx].host_id = host_id; in nfa_dm_add_rf_discover()
2652 nfa_dm_cb.disc_cb.excl_disc_entry.host_id = NFA_DM_DISC_HOST_ID_DH; in nfa_dm_start_excl_discovery()