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()
857 uint8_t session_id[NFA_HCI_SESSION_ID_LEN]; in nfa_hci_handle_nv_read()
858 uint8_t default_session[NFA_HCI_SESSION_ID_LEN] = {0xFF, 0xFF, 0xFF, 0xFF, in nfa_hci_handle_nv_read()
860 uint8_t reset_session[NFA_HCI_SESSION_ID_LEN] = {0x00, 0x00, 0x00, 0x00, in nfa_hci_handle_nv_read()
870 NFA_HCI_SESSION_ID_LEN))) || in nfa_hci_handle_nv_read()
872 NFA_HCI_SESSION_ID_LEN)))) { in nfa_hci_handle_nv_read()
876 memcpy(&session_id[(NFA_HCI_SESSION_ID_LEN / 2)], in nfa_hci_handle_nv_read()
878 (NFA_HCI_SESSION_ID_LEN / 2)); in nfa_hci_handle_nv_read()
880 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()
1431 &nfa_hci_cb.cfg.admin_gate.session_id[NFA_HCI_SESSION_ID_LEN / 2], in nfa_hci_handle_admin_gate_rsp()
1433 (NFA_HCI_SESSION_ID_LEN / 2)); in nfa_hci_handle_admin_gate_rsp()
1436 (NFA_HCI_SESSION_ID_LEN / 2)); in nfa_hci_handle_admin_gate_rsp()
1439 NFA_HCI_SESSION_ID_LEN, in nfa_hci_handle_admin_gate_rsp()
1472 if (data_len >= NFA_HCI_SESSION_ID_LEN && in nfa_hci_handle_admin_gate_rsp()
1474 NFA_HCI_SESSION_ID_LEN)) { in nfa_hci_handle_admin_gate_rsp()
[all …]
Dnfa_hci_utils.cc1398 NFA_HCI_SESSION_ID_LEN); in handle_debug_loopback()
1399 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 */