Home
last modified time | relevance | path

Searched refs:app_handle (Results 1 – 3 of 3) sorted by relevance

/system/nfc/src/nfa/hci/
Dnfa_hci_utils.cc94 tNFA_HCI_DYN_GATE* nfa_hciu_find_gate_by_owner(tNFA_HANDLE app_handle) { in nfa_hciu_find_gate_by_owner() argument
99 if (pg->gate_owner == app_handle) return (pg); in nfa_hciu_find_gate_by_owner()
116 tNFA_HANDLE app_handle) { in nfa_hciu_find_gate_with_nopipes_by_owner() argument
121 if ((pg->gate_owner == app_handle) && (pg->pipe_inx_mask == 0)) return (pg); in nfa_hciu_find_gate_with_nopipes_by_owner()
227 tNFA_HANDLE app_handle) { in nfa_hciu_alloc_gate() argument
230 uint8_t app_inx = app_handle & NFA_HANDLE_MASK; in nfa_hciu_alloc_gate()
235 (((app_handle & NFA_HANDLE_GROUP_MASK) != NFA_HANDLE_GROUP_HCI) || in nfa_hciu_alloc_gate()
262 gate_id_index, app_handle); in nfa_hciu_alloc_gate()
273 pg->gate_owner = app_handle; in nfa_hciu_alloc_gate()
277 "nfa_hciu_alloc_gate id:%d app_handle: 0x%04x", gate_id, app_handle); in nfa_hciu_alloc_gate()
[all …]
Dnfa_hci_act.cc469 tNFA_HANDLE app_handle = p_evt_data->comm.hci_handle; in nfa_hci_api_alloc_gate() local
473 p_gate = nfa_hciu_alloc_gate(p_evt_data->gate_info.gate, app_handle); in nfa_hci_api_alloc_gate()
478 p_gate->gate_owner = app_handle; in nfa_hci_api_alloc_gate()
479 } else if (p_gate->gate_owner != app_handle) { in nfa_hci_api_alloc_gate()
491 nfa_hciu_send_to_app(NFA_HCI_ALLOCATE_GATE_EVT, &evt_data, app_handle); in nfa_hci_api_alloc_gate()
508 tNFA_HANDLE app_handle; in nfa_hci_api_dealloc_gate() local
513 app_handle = p_evt_data->gate_dealloc.hci_handle; in nfa_hci_api_dealloc_gate()
518 app_handle = nfa_hci_cb.app_in_use; in nfa_hci_api_dealloc_gate()
528 } else if (p_gate->gate_owner != app_handle) { in nfa_hci_api_dealloc_gate()
551 nfa_hci_cb.app_in_use = app_handle; in nfa_hci_api_dealloc_gate()
[all …]
/system/nfc/src/nfa/include/
Dnfa_hci_int.h465 tNFA_HANDLE app_handle);
467 extern tNFA_HCI_DYN_GATE* nfa_hciu_find_gate_by_owner(tNFA_HANDLE app_handle);
469 tNFA_HANDLE app_handle);
471 extern tNFA_HCI_DYN_PIPE* nfa_hciu_find_pipe_by_owner(tNFA_HANDLE app_handle);
473 tNFA_HANDLE app_handle);
502 tNFA_HANDLE app_handle);