Home
last modified time | relevance | path

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

/system/nfc/src/nfa/hci/
Dnfa_hci_utils.cc93 tNFA_HCI_DYN_GATE* nfa_hciu_find_gate_by_owner(tNFA_HANDLE app_handle) { in nfa_hciu_find_gate_by_owner() argument
98 if (pg->gate_owner == app_handle) return (pg); in nfa_hciu_find_gate_by_owner()
115 tNFA_HANDLE app_handle) { in nfa_hciu_find_gate_with_nopipes_by_owner() argument
120 if ((pg->gate_owner == app_handle) && (pg->pipe_inx_mask == 0)) return (pg); in nfa_hciu_find_gate_with_nopipes_by_owner()
226 tNFA_HANDLE app_handle) { in nfa_hciu_alloc_gate() argument
229 uint8_t app_inx = app_handle & NFA_HANDLE_MASK; in nfa_hciu_alloc_gate()
234 (((app_handle & NFA_HANDLE_GROUP_MASK) != NFA_HANDLE_GROUP_HCI) || in nfa_hciu_alloc_gate()
261 gate_id_index, app_handle); in nfa_hciu_alloc_gate()
272 pg->gate_owner = app_handle; in nfa_hciu_alloc_gate()
276 "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/bt/bta/hl/
Dbta_hl_main.cc612 evt_data.dereg_cfm.app_handle = p_acb->app_handle; in bta_hl_api_update()
637 evt_data.reg_cfm.app_handle = p_acb->app_handle; in bta_hl_api_update()
643 evt_data.sdp_info_ind.app_handle = p_acb->app_handle; in bta_hl_api_update()
716 evt_data.reg_cfm.app_handle = p_acb->app_handle; in bta_hl_api_register()
722 evt_data.sdp_info_ind.app_handle = p_acb->app_handle; in bta_hl_api_register()
748 if (bta_hl_find_app_idx_using_handle(p_data->api_dereg.app_handle, in bta_hl_api_deregister()
754 APPL_TRACE_ERROR("Invalid app_handle=%d", p_data->api_dereg.app_handle); in bta_hl_api_deregister()
775 if (bta_hl_find_app_idx_using_handle(p_data->api_cch_open.app_handle, in bta_hl_api_cch_open()
797 p_data->api_cch_open.app_handle, in bta_hl_api_cch_open()
825 p_data->api_cch_open.app_handle, 0, in bta_hl_api_cch_open()
[all …]
/system/nfc/src/nfa/include/
Dnfa_hci_int.h464 tNFA_HANDLE app_handle);
466 extern tNFA_HCI_DYN_GATE* nfa_hciu_find_gate_by_owner(tNFA_HANDLE app_handle);
468 tNFA_HANDLE app_handle);
470 extern tNFA_HCI_DYN_PIPE* nfa_hciu_find_pipe_by_owner(tNFA_HANDLE app_handle);
472 tNFA_HANDLE app_handle);
501 tNFA_HANDLE app_handle);
/system/bt/btif/src/
Dbtif_hl.cc686 BTA_HlSdpQuery(app_id, p_acb->app_handle, bd_addr); in btif_hl_dch_open()
776 BTA_HlSdpQuery(app_id, p_acb->app_handle, bd_addr); in btif_hl_cch_open()
1421 bool btif_hl_find_app_idx_using_handle(tBTA_HL_APP_HANDLE app_handle, in btif_hl_find_app_idx_using_handle() argument
1428 (btif_hl_cb.acb[i].app_handle == app_handle)) { in btif_hl_find_app_idx_using_handle()
1436 app_handle, i); in btif_hl_find_app_idx_using_handle()
1814 p_data->dereg_cfm.status, p_data->dereg_cfm.app_handle); in btif_hl_proc_dereg_cfm()
1852 p_data->reg_cfm.status, p_data->reg_cfm.app_handle); in btif_hl_proc_reg_cfm()
1857 p_acb->app_handle = p_data->reg_cfm.app_handle; in btif_hl_proc_reg_cfm()
2110 BTA_HlCchOpen(p_acb->app_id, p_acb->app_handle, &open_param); in btif_hl_proc_sdp_query_cfm()
2975 BTA_HlDeregister(p_acb->app_id, p_acb->app_handle); in btif_hl_proc_cb_evt()
[all …]