Home
last modified time | relevance | path

Searched refs:hci_handle (Results 1 – 12 of 12) sorted by relevance

/system/nfc/src/nfa/hci/
Dnfa_hci_api.cc111 tNFA_STATUS NFA_HciGetGateAndPipeList(tNFA_HANDLE hci_handle) { in NFA_HciGetGateAndPipeList() argument
114 if ((NFA_HANDLE_GROUP_MASK & hci_handle) != NFA_HANDLE_GROUP_HCI) { in NFA_HciGetGateAndPipeList()
116 << StringPrintf("Invalid hci_handle:0x%04x", hci_handle); in NFA_HciGetGateAndPipeList()
121 << StringPrintf("hci_handle:0x%04x", hci_handle); in NFA_HciGetGateAndPipeList()
128 p_msg->hci_handle = hci_handle; in NFA_HciGetGateAndPipeList()
215 tNFA_STATUS NFA_HciAllocGate(tNFA_HANDLE hci_handle, uint8_t gate) { in NFA_HciAllocGate() argument
218 if ((NFA_HANDLE_GROUP_MASK & hci_handle) != NFA_HANDLE_GROUP_HCI) { in NFA_HciAllocGate()
220 << StringPrintf("Invalid hci_handle:0x%04x", hci_handle); in NFA_HciAllocGate()
233 << StringPrintf("hci_handle:0x%04x, Gate:0x%02x", hci_handle, gate); in NFA_HciAllocGate()
240 p_msg->hci_handle = hci_handle; in NFA_HciAllocGate()
[all …]
Dnfa_hci_act.cc94 nfa_hci_cb.app_in_use = p_evt_data->comm.hci_handle; in nfa_hci_check_pending_api_requests()
144 nfa_hci_cb.app_in_use = p_evt_data->comm.hci_handle; in nfa_hci_check_api_requests()
290 evt_data.hci_register.hci_handle = (tNFA_HANDLE)(xx | NFA_HANDLE_GROUP_HCI); in nfa_hci_api_register()
409 if (pg->gate_owner == p_evt_data->get_gate_pipe_list.hci_handle) { in nfa_hci_api_get_gate_pipe_list()
456 p_evt_data->get_gate_pipe_list.hci_handle); in nfa_hci_api_get_gate_pipe_list()
469 tNFA_HANDLE app_handle = p_evt_data->comm.hci_handle; in nfa_hci_api_alloc_gate()
513 app_handle = p_evt_data->gate_dealloc.hci_handle; in nfa_hci_api_dealloc_gate()
572 uint8_t app_inx = p_evt_data->get_host_list.hci_handle & NFA_HANDLE_MASK; in nfa_hci_api_get_host_list()
574 nfa_hci_cb.app_in_use = p_evt_data->get_host_list.hci_handle; in nfa_hci_api_get_host_list()
603 (p_gate->gate_owner != p_evt_data->create_pipe.hci_handle)) { in nfa_hci_api_create_pipe()
[all …]
/system/nfc/src/nfa/include/
Dnfa_hci_api.h118 tNFA_HANDLE hci_handle; /* Handle assigned to the application */ member
331 extern tNFA_STATUS NFA_HciGetGateAndPipeList(tNFA_HANDLE hci_handle);
371 extern tNFA_STATUS NFA_HciAllocGate(tNFA_HANDLE hci_handle, uint8_t gate);
406 extern tNFA_STATUS NFA_HciGetHostList(tNFA_HANDLE hci_handle);
428 extern tNFA_STATUS NFA_HciCreatePipe(tNFA_HANDLE hci_handle,
445 extern tNFA_STATUS NFA_HciOpenPipe(tNFA_HANDLE hci_handle, uint8_t pipe);
463 extern tNFA_STATUS NFA_HciGetRegistry(tNFA_HANDLE hci_handle, uint8_t pipe,
481 extern tNFA_STATUS NFA_HciSendCommand(tNFA_HANDLE hci_handle, uint8_t pipe,
511 tNFA_STATUS NFA_HciSendEvent(tNFA_HANDLE hci_handle, uint8_t pipe,
529 extern tNFA_STATUS NFA_HciClosePipe(tNFA_HANDLE hci_handle, uint8_t pipe);
[all …]
Dnfa_hci_int.h128 tNFA_HANDLE hci_handle; member
137 tNFA_HANDLE hci_handle; member
144 tNFA_HANDLE hci_handle; member
150 tNFA_HANDLE hci_handle; member
157 tNFA_HANDLE hci_handle; member
164 tNFA_HANDLE hci_handle; member
171 tNFA_HANDLE hci_handle; member
179 tNFA_HANDLE hci_handle; member
189 tNFA_HANDLE hci_handle; member
199 tNFA_HANDLE hci_handle; member
[all …]
/system/bt/stack/btm/
Dbtm_sco.cc525 p->hci_handle = BTM_INVALID_HCI_HANDLE; in BTM_CreateSco()
585 void btm_sco_chk_pend_unpark(uint8_t hci_status, uint16_t hci_handle) { in btm_sco_chk_pend_unpark() argument
591 if ((p->state == SCO_ST_PEND_UNPARK) && (acl_handle == hci_handle)) { in btm_sco_chk_pend_unpark()
619 void btm_sco_chk_pend_rolechange(uint16_t hci_handle) { in btm_sco_chk_pend_rolechange() argument
628 p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)) in btm_sco_chk_pend_rolechange()
654 void btm_sco_disc_chk_pend_for_modechange(uint16_t hci_handle) { in btm_sco_disc_chk_pend_for_modechange() argument
659 hci_handle, p->state); in btm_sco_disc_chk_pend_for_modechange()
664 hci_handle) in btm_sco_disc_chk_pend_for_modechange()
667 BTM_TRACE_DEBUG("%s: SCO Link handle 0x%04x", __func__, p->hci_handle); in btm_sco_disc_chk_pend_for_modechange()
781 uint16_t hci_handle, tBTM_ESCO_DATA* p_esco_data) { in btm_sco_connected() argument
[all …]
Dbtm_acl.cc120 uint8_t btm_handle_to_acl_index(uint16_t hci_handle) { in btm_handle_to_acl_index() argument
125 if ((p->in_use) && (p->hci_handle == hci_handle)) { in btm_handle_to_acl_index()
192 uint16_t hci_handle, uint8_t link_role, in btm_acl_created() argument
199 __func__, bda.ToString().c_str(), hci_handle, link_role, in btm_acl_created()
204 p->hci_handle = hci_handle; in btm_acl_created()
216 p->hci_handle = hci_handle; in btm_acl_created()
242 btsnd_hcic_read_rmt_clk_offset(p->hci_handle); in btm_acl_created()
243 btsnd_hcic_rmt_ver_req(p->hci_handle); in btm_acl_created()
245 p_dev_rec = btm_find_dev_by_handle(hci_handle); in btm_acl_created()
286 btsnd_hcic_ble_read_remote_feat(p->hci_handle); in btm_acl_created()
[all …]
Dbtm_int.h82 uint16_t hci_handle, uint8_t link_role,
91 extern uint8_t btm_handle_to_acl_index(uint16_t hci_handle);
110 extern void btm_process_clk_off_comp_evt(uint16_t hci_handle,
141 extern void btm_pm_proc_mode_change(uint8_t hci_status, uint16_t hci_handle,
146 extern void btm_sco_chk_pend_unpark(uint8_t hci_status, uint16_t hci_handle);
156 uint16_t hci_handle, tBTM_ESCO_DATA* p_esco_data);
162 extern void btm_sco_removed(uint16_t hci_handle, uint8_t reason);
Dbtm_pm.cc332 btsnd_hcic_sniff_sub_rate(btm_cb.acl_db[acl_ind].hci_handle, max_lat, in BTM_SetSsrParams()
593 btsnd_hcic_sniff_sub_rate(btm_cb.acl_db[link_ind].hci_handle, p_cb->max_lat, in btm_pm_snd_md_req()
615 btsnd_hcic_exit_sniff_mode(btm_cb.acl_db[link_ind].hci_handle); in btm_pm_snd_md_req()
619 btsnd_hcic_exit_park_mode(btm_cb.acl_db[link_ind].hci_handle); in btm_pm_snd_md_req()
629 btsnd_hcic_hold_mode(btm_cb.acl_db[link_ind].hci_handle, md_res.max, in btm_pm_snd_md_req()
635 btsnd_hcic_sniff_mode(btm_cb.acl_db[link_ind].hci_handle, md_res.max, in btm_pm_snd_md_req()
641 btsnd_hcic_park_mode(btm_cb.acl_db[link_ind].hci_handle, md_res.max, in btm_pm_snd_md_req()
750 void btm_pm_proc_mode_change(uint8_t hci_status, uint16_t hci_handle, in btm_pm_proc_mode_change() argument
759 xx = btm_handle_to_acl_index(hci_handle); in btm_pm_proc_mode_change()
817 btm_sco_disc_chk_pend_for_modechange(hci_handle); in btm_pm_proc_mode_change()
Dbtm_sec.cc811 (p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE) && in BTM_PINCodeReply()
908 if (((p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) && in btm_sec_bond_by_transport()
980 p_dev_rec->sm4, p_dev_rec->hci_handle); in btm_sec_bond_by_transport()
987 if (p && p->hci_handle != BTM_SEC_INVALID_HANDLE) { in btm_sec_bond_by_transport()
1125 BTM_TRACE_DEBUG("hci_handle:0x%x sec_state:%d", p_dev_rec->hci_handle, in BTM_SecBondCancel()
1138 if (p_dev_rec->hci_handle != BTM_SEC_INVALID_HANDLE) { in BTM_SecBondCancel()
1147 p_dev_rec->hci_handle); in BTM_SecBondCancel()
1254 p_dev_rec->hci_handle == BTM_SEC_INVALID_HANDLE) || in BTM_SetEncryption()
1300 p_dev_rec->hci_handle, p_dev_rec->sec_state, p_dev_rec->sec_flags, in BTM_SetEncryption()
1346 if (conn_handle == p_dev_rec->hci_handle) return status; in btm_sec_send_hci_disconnect()
[all …]
Dbtm_int_types.h64 uint16_t hci_handle; member
357 uint16_t hci_handle; /* HCI Handle */ member
377 extern void btm_sco_chk_pend_rolechange(uint16_t hci_handle);
378 extern void btm_sco_disc_chk_pend_for_modechange(uint16_t hci_handle);
471 uint16_t hci_handle; /* Handle to connection when exists */ member
Dbtm_dev.cc75 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddDevice()
262 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in btm_sec_alloc_dev()
317 if (p_dev_rec->hci_handle == *handle || p_dev_rec->ble_hci_handle == *handle) in is_handle_equal()
Dbtm_ble.cc79 p_dev_rec->hci_handle = BTM_GetHCIConnHandle(bd_addr, BT_TRANSPORT_BR_EDR); in BTM_SecAddBleDevice()
783 btsnd_hcic_ble_set_data_length(p_acl->hci_handle, tx_pdu_length, tx_time); in BTM_SetBleDataLength()
842 uint16_t handle = p_acl->hci_handle; in BTM_BleReadPhy()
925 uint16_t handle = p_acl->hci_handle; in BTM_BleSetPhy()