Home
last modified time | relevance | path

Searched refs:conn_handle (Results 1 – 16 of 16) sorted by relevance

/system/bt/bta/hf_client/
Dbta_hf_client_rfc.c48 if (port_handle != bta_hf_client_cb.scb.conn_handle) in bta_hf_client_port_cback()
51 port_handle, bta_hf_client_cb.scb.conn_handle); in bta_hf_client_port_cback()
76 … code, port_handle, bta_hf_client_cb.scb.conn_handle, bta_hf_client_cb.scb.serv_handle); in bta_hf_client_mgmt_cback()
79 if ((code != PORT_SUCCESS) && (port_handle != bta_hf_client_cb.scb.conn_handle)) in bta_hf_client_mgmt_cback()
87 …if ((bta_hf_client_cb.scb.conn_handle && (port_handle == bta_hf_client_cb.scb.conn_handle)) || /* … in bta_hf_client_mgmt_cback()
99 else if (port_handle == bta_hf_client_cb.scb.conn_handle) in bta_hf_client_mgmt_cback()
213 … FALSE, BTA_HF_CLIENT_MTU, bta_hf_client_cb.scb.peer_addr, &(bta_hf_client_cb.scb.conn_handle), in bta_hf_client_rfc_do_open()
216 bta_hf_client_setup_port(bta_hf_client_cb.scb.conn_handle); in bta_hf_client_rfc_do_open()
217 …APPL_TRACE_DEBUG("bta_hf_client_rfc_do_open : conn_handle = %d", bta_hf_client_cb.scb.conn_handle); in bta_hf_client_rfc_do_open()
240 if (bta_hf_client_cb.scb.conn_handle) { in bta_hf_client_rfc_do_close()
[all …]
Dbta_hf_client_act.c299 bta_hf_client_cb.scb.conn_handle = p_data->rfc.port_handle; in bta_hf_client_rfc_acp_open()
323 bta_hf_client_cb.scb.conn_handle = 0; in bta_hf_client_rfc_fail()
417 bta_hf_client_cb.scb.conn_handle = 0; in bta_hf_client_rfc_close()
509 …while (PORT_ReadData(bta_hf_client_cb.scb.conn_handle, buf, BTA_HF_CLIENT_RFC_READ_MAX, &len) == P… in bta_hf_client_rfc_data()
Dbta_hf_client_sco.c228 p_buf->layer_specific = bta_hf_client_cb.scb.conn_handle; in bta_hf_client_sco_conn_cback()
256 p_buf->layer_specific = bta_hf_client_cb.scb.conn_handle;; in bta_hf_client_sco_disc_cback()
Dbta_hf_client_int.h144 UINT16 conn_handle; /* RFCOMM handle of connected service */ member
Dbta_hf_client_at.c191 PORT_WriteData(bta_hf_client_cb.scb.conn_handle, buf, buf_len, &len); in bta_hf_client_send_at()
/system/bt/bta/ag/
Dbta_ag_rfc.c96 if (port_handle != p_scb->conn_handle) in bta_ag_port_cback()
99 port_handle, p_scb->conn_handle, handle); in bta_ag_port_cback()
133 if ((code != PORT_SUCCESS) && (port_handle != p_scb->conn_handle)) in bta_ag_mgmt_cback()
141 if (p_scb->conn_handle) /* Outgoing connection */ in bta_ag_mgmt_cback()
143 if (port_handle == p_scb->conn_handle) in bta_ag_mgmt_cback()
164 else if (port_handle == p_scb->conn_handle) in bta_ag_mgmt_cback()
374 FALSE, BTA_AG_MTU, p_scb->peer_addr, &(p_scb->conn_handle), in bta_ag_rfc_do_open()
377 bta_ag_setup_port(p_scb, p_scb->conn_handle); in bta_ag_rfc_do_open()
378 APPL_TRACE_DEBUG("bta_ag_rfc_do_open : conn_handle = %d", p_scb->conn_handle); in bta_ag_rfc_do_open()
401 if (p_scb->conn_handle) { in bta_ag_rfc_do_close()
[all …]
Dbta_ag_act.c381 p_scb->conn_handle = 0; in bta_ag_rfc_fail()
471 p_scb->conn_handle = 0; in bta_ag_rfc_close()
492 RFCOMM_RemoveServer(p_scb->conn_handle); in bta_ag_rfc_close()
612 p_scb->conn_handle = p_data->rfc.port_handle; in bta_ag_rfc_acp_open()
618 p_scb->conn_service, p_scb->conn_handle); in bta_ag_rfc_acp_open()
657 if (PORT_ReadData(p_scb->conn_handle, buf, BTA_AG_RFC_READ_MAX, &len) != PORT_SUCCESS) in bta_ag_rfc_data()
866 PORT_WriteData(p_scb->conn_handle, p_data_area, strlen(p_data_area), &len); in bta_ag_ci_rx_data()
Dbta_ag_int.h246 UINT16 conn_handle; /* RFCOMM handle of connected service */ member
Dbta_ag_cmd.c281 PORT_WriteData(p_scb->conn_handle, buf, (UINT16) (p - buf), &len); in bta_ag_send_result()
/system/bt/stack/btm/
Dbtm_ble_multi_adv.c758 UINT16 conn_handle; in btm_ble_multi_adv_vse_cback() local
769 STREAM_TO_UINT16(conn_handle, p); in btm_ble_multi_adv_vse_cback()
771 if ((idx = btm_handle_to_acl_index(conn_handle)) != MAX_L2CAP_LINKS) in btm_ble_multi_adv_vse_cback()
Dbtm_sec.c92 …STATUS btm_sec_send_hci_disconnect (tBTM_SEC_DEV_REC *p_dev_rec, UINT8 reason, UINT16 conn_handle);
1458 …_STATUS btm_sec_send_hci_disconnect (tBTM_SEC_DEV_REC *p_dev_rec, UINT8 reason, UINT16 conn_handle) in btm_sec_send_hci_disconnect() argument
1464 conn_handle, reason); in btm_sec_send_hci_disconnect()
1470 if (conn_handle == p_dev_rec->hci_handle) in btm_sec_send_hci_disconnect()
1478 if (conn_handle == p_dev_rec->ble_hci_handle) in btm_sec_send_hci_disconnect()
1489 p_dev_rec->sec_state = (conn_handle == p_dev_rec->hci_handle) ? in btm_sec_send_hci_disconnect()
1496 if (p_dev_rec->rs_disc_pending == BTM_SEC_RS_PENDING && p_dev_rec->hci_handle == conn_handle) in btm_sec_send_hci_disconnect()
1503 else if (!btsnd_hcic_disconnect (conn_handle, reason)) in btm_sec_send_hci_disconnect()
Dbtm_ble.c293 BOOLEAN BTM_IsBleConnection (UINT16 conn_handle) in BTM_IsBleConnection() argument
299 BTM_TRACE_API ("BTM_IsBleConnection: conn_handle: %d", conn_handle); in BTM_IsBleConnection()
301 xx = btm_handle_to_acl_index (conn_handle); in BTM_IsBleConnection()
/system/bt/stack/hcic/
Dhciblecmds.c750 BOOLEAN btsnd_hcic_ble_set_data_length(UINT16 conn_handle, UINT16 tx_octets, UINT16 tx_time) in btsnd_hcic_ble_set_data_length() argument
761 UINT16_TO_STREAM(pp, conn_handle); in btsnd_hcic_ble_set_data_length()
/system/bt/stack/include/
Dhcimsgs.h776 extern BOOLEAN btsnd_hcic_ble_set_data_length(UINT16 conn_handle, UINT16 tx_octets,
/system/bt/bta/dm/
Dbta_dm_int.h785 UINT16 conn_handle; member
Dbta_dm_act.c3217 && bta_dm_cb.device_list.peer_device[i].conn_handle == p_data->acl_change.handle in bta_dm_acl_change()
3232 bta_dm_cb.device_list.peer_device[i].conn_handle = p_data->acl_change.handle; in bta_dm_acl_change()