Home
last modified time | relevance | path

Searched refs:dyn_pipes (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Nfc/libnfc-nci/tests/src/
Dnfa_hci_utils_test.cc72 nfa_hci_cb.cfg.dyn_pipes[i].pipe_id = 0; in SetUp()
73 nfa_hci_cb.cfg.dyn_pipes[i].pipe_state = NFA_HCI_PIPE_CLOSED; in SetUp()
109 if (nfa_hci_cb.cfg.dyn_pipes[i].pipe_state == NFA_HCI_PIPE_CLOSED) { in TEST_F()
110 p_pipe = &nfa_hci_cb.cfg.dyn_pipes[i]; in TEST_F()
164 uint8_t pipe_index = (uint8_t)(p_pipe - nfa_hci_cb.cfg.dyn_pipes); in TEST_F()
188 uint8_t pipe_index = (uint8_t)(p_pipe - nfa_hci_cb.cfg.dyn_pipes); in TEST_F()
197 memset(nfa_hci_cb.cfg.dyn_pipes, 0, sizeof(nfa_hci_cb.cfg.dyn_pipes)); in SetUp()
214 nfa_hci_cb.cfg.dyn_pipes[0].pipe_id = pipe_id; in TEST_F()
223 nfa_hci_cb.cfg.dyn_pipes[0].pipe_id = 0x02; in TEST_F()
232 nfa_hci_cb.cfg.dyn_pipes[0].pipe_id = pipe_id; in TEST_F()
[all …]
Dnfa_hci_main_test.cc103 nfa_hci_cb.cfg.dyn_pipes[0].pipe_id = NFA_HCI_FIRST_DYNAMIC_PIPE; in TEST_F()
104 nfa_hci_cb.cfg.dyn_pipes[0].pipe_state = NFA_HCI_PIPE_OPENED; in TEST_F()
105 nfa_hci_cb.cfg.dyn_pipes[0].local_gate = NFA_HCI_LOOP_BACK_GATE; in TEST_F()
106 nfa_hci_cb.cfg.dyn_pipes[0].dest_gate = NFA_HCI_LOOP_BACK_GATE; in TEST_F()
142 nfa_hci_cb.cfg.dyn_pipes[0].pipe_id = NFA_HCI_FIRST_DYNAMIC_PIPE; in TEST_F()
143 nfa_hci_cb.cfg.dyn_pipes[0].pipe_state = 0xFF; in TEST_F()
159 nfa_hci_cb.cfg.dyn_pipes[0].pipe_id = NFA_HCI_FIRST_DYNAMIC_PIPE; in TEST_F()
160 nfa_hci_cb.cfg.dyn_pipes[0].local_gate = 0xFF; in TEST_F()
165 nfa_hci_cb.cfg.dyn_pipes[0].pipe_id = NFA_HCI_FIRST_DYNAMIC_PIPE; in TEST_F()
166 nfa_hci_cb.cfg.dyn_pipes[1].pipe_id = NFA_HCI_FIRST_DYNAMIC_PIPE; in TEST_F()
Dnfa_hci_act_test.cc334 nfa_hci_cb.cfg.dyn_pipes[0] = pipe; in TEST_F()
343 nfa_hci_cb.cfg.dyn_pipes[0] = pipe; in TEST_F()
353 nfa_hci_cb.cfg.dyn_pipes[0] = pipe; in TEST_F()
360 nfa_hci_cb.cfg.dyn_pipes[0] = {}; in TEST_F()
369 nfa_hci_cb.cfg.dyn_pipes[0] = pipe; in TEST_F()
390 nfa_hci_cb.cfg.dyn_pipes[0] = {}; in TEST_F()
401 nfa_hci_cb.cfg.dyn_pipes[0] = {0x01, NFA_HCI_PIPE_OPENED, 0x02, 0x03}; in TEST_F()
409 nfa_hci_cb.cfg.dyn_pipes[0] = {}; in TEST_F()
420 nfa_hci_cb.cfg.dyn_pipes[0] = {}; in TEST_F()
457 nfa_hci_cb.cfg.dyn_pipes[0] = pipe; in TEST_F()
[all …]
Dnfa_hci_api_test.cc418 nfa_hci_cb.cfg.dyn_pipes[0].pipe_id = 0x02; in SetUp()
419 nfa_hci_cb.cfg.dyn_pipes[0].pipe_state = 1; in SetUp()
420 nfa_hci_cb.cfg.dyn_pipes[0].local_gate = 0x10; in SetUp()
421 nfa_hci_cb.cfg.dyn_pipes[0].dest_gate = 0x20; in SetUp()
422 nfa_hci_cb.cfg.dyn_pipes[0].dest_host = 0x30; in SetUp()
/packages/modules/Nfc/libnfc-nci/src/nfa/hci/
Dnfa_hci_main.cc308 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id < NFA_HCI_FIRST_DYNAMIC_PIPE) in nfa_hci_is_valid_cfg()
317 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id != 0) { in nfa_hci_is_valid_cfg()
319 if (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_id < NFA_HCI_FIRST_DYNAMIC_PIPE) in nfa_hci_is_valid_cfg()
323 if ((nfa_hci_cb.cfg.dyn_pipes[xx].pipe_state != NFA_HCI_PIPE_OPENED) && in nfa_hci_is_valid_cfg()
324 (nfa_hci_cb.cfg.dyn_pipes[xx].pipe_state != NFA_HCI_PIPE_CLOSED)) in nfa_hci_is_valid_cfg()
328 if ((((nfa_hci_cb.cfg.dyn_pipes[xx].local_gate != in nfa_hci_is_valid_cfg()
330 (nfa_hci_cb.cfg.dyn_pipes[xx].local_gate != in nfa_hci_is_valid_cfg()
332 (nfa_hci_cb.cfg.dyn_pipes[xx].local_gate < in nfa_hci_is_valid_cfg()
334 (nfa_hci_cb.cfg.dyn_pipes[xx].local_gate > NFA_HCI_LAST_PROP_GATE)) in nfa_hci_is_valid_cfg()
338 if ((((nfa_hci_cb.cfg.dyn_pipes[xx].dest_gate != in nfa_hci_is_valid_cfg()
[all …]
Dnfa_hci_utils.cc52 tNFA_HCI_DYN_PIPE* pp = nfa_hci_cb.cfg.dyn_pipes; in nfa_hciu_find_pipe_by_pid()
159 tNFA_HCI_DYN_PIPE* pp = nfa_hci_cb.cfg.dyn_pipes; in nfa_hciu_count_open_pipes_on_gate()
444 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; in nfa_hciu_alloc_pipe()
519 pipe_index = (uint8_t)(p_pipe - nfa_hci_cb.cfg.dyn_pipes); in nfa_hciu_add_pipe_to_gate()
570 pipe_index = (uint8_t)(p_pipe - nfa_hci_cb.cfg.dyn_pipes); in nfa_hciu_add_pipe_to_static_gate()
596 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; in nfa_hciu_find_active_pipe_by_owner()
633 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; in nfa_hciu_check_pipe_between_gates()
664 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; in nfa_hciu_find_pipe_by_owner()
694 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; in nfa_hciu_find_pipe_on_gate()
790 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; in nfa_hciu_find_active_pipe_on_gate()
[all …]
Dnfa_hci_act.cc400 tNFA_HCI_DYN_PIPE* pp = nfa_hci_cb.cfg.dyn_pipes; in nfa_hci_api_get_gate_pipe_list()
409 pp = nfa_hci_cb.cfg.dyn_pipes; in nfa_hci_api_get_gate_pipe_list()
422 for (xx = 0, pp = nfa_hci_cb.cfg.dyn_pipes; xx < NFA_HCI_MAX_PIPE_CB; in nfa_hci_api_get_gate_pipe_list()
Dnfa_hci_api.cc812 tNFA_HCI_DYN_PIPE* pp = nfa_hci_cb.cfg.dyn_pipes; in NFA_HciDebug()
/packages/modules/Nfc/libnfc-nci/src/nfa/include/
Dnfa_hci_int.h419 tNFA_HCI_DYN_PIPE dyn_pipes[NFA_HCI_MAX_PIPE_CB]; member