Home
last modified time | relevance | path

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

/system/nfc/src/nfa/hci/
Dnfa_hci_main.cc419 NFA_HCI_SESSION_ID_LEN); in nfa_hci_restore_default_config()
873 uint8_t session_id[NFA_HCI_SESSION_ID_LEN]; in nfa_hci_handle_nv_read()
874 uint8_t default_session[NFA_HCI_SESSION_ID_LEN] = {0xFF, 0xFF, 0xFF, 0xFF, in nfa_hci_handle_nv_read()
876 uint8_t reset_session[NFA_HCI_SESSION_ID_LEN] = {0x00, 0x00, 0x00, 0x00, in nfa_hci_handle_nv_read()
886 NFA_HCI_SESSION_ID_LEN))) || in nfa_hci_handle_nv_read()
888 NFA_HCI_SESSION_ID_LEN)))) { in nfa_hci_handle_nv_read()
892 memcpy(&session_id[(NFA_HCI_SESSION_ID_LEN / 2)], in nfa_hci_handle_nv_read()
894 (NFA_HCI_SESSION_ID_LEN / 2)); in nfa_hci_handle_nv_read()
896 memcpy(session_id, (uint8_t*)&os_tick, (NFA_HCI_SESSION_ID_LEN / 2)); in nfa_hci_handle_nv_read()
Dnfa_hci_act.cc1324 uint8_t default_session[NFA_HCI_SESSION_ID_LEN] = {0xFF, 0xFF, 0xFF, 0xFF, in nfa_hci_handle_admin_gate_rsp()
1405 if (data_len >= NFA_HCI_SESSION_ID_LEN && in nfa_hci_handle_admin_gate_rsp()
1407 NFA_HCI_SESSION_ID_LEN)) { in nfa_hci_handle_admin_gate_rsp()
1417 if (data_len < NFA_HCI_SESSION_ID_LEN) { in nfa_hci_handle_admin_gate_rsp()
1437 &nfa_hci_cb.cfg.admin_gate.session_id[NFA_HCI_SESSION_ID_LEN / 2], in nfa_hci_handle_admin_gate_rsp()
1439 (NFA_HCI_SESSION_ID_LEN / 2)); in nfa_hci_handle_admin_gate_rsp()
1442 (NFA_HCI_SESSION_ID_LEN / 2)); in nfa_hci_handle_admin_gate_rsp()
1445 NFA_HCI_SESSION_ID_LEN, in nfa_hci_handle_admin_gate_rsp()
1478 if (data_len >= NFA_HCI_SESSION_ID_LEN && in nfa_hci_handle_admin_gate_rsp()
1480 NFA_HCI_SESSION_ID_LEN)) { in nfa_hci_handle_admin_gate_rsp()
[all …]
Dnfa_hci_utils.cc1414 NFA_HCI_SESSION_ID_LEN); in handle_debug_loopback()
1415 p_buf->len = p_buf->offset + 2 + NFA_HCI_SESSION_ID_LEN; in handle_debug_loopback()
/system/nfc/src/nfa/include/
Dnfa_hci_int.h46 #define NFA_HCI_SESSION_ID_LEN 8 /* HCI Session ID length */ macro
341 session_id[NFA_HCI_SESSION_ID_LEN]; /* Session ID of the host network */