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

/system/bt/bta/hf_client/
H A Dbta_hf_client_rfc.c48 if (port_handle != bta_hf_client_cb.scb.conn_handle)
50 APPL_TRACE_DEBUG("bta_hf_client_port_cback ignoring handle:%d conn_handle = %d",
51 port_handle, bta_hf_client_cb.scb.conn_handle);
75 APPL_TRACE_DEBUG("bta_hf_client_mgmt_cback : code = %d, port_handle = %d, conn_handle = %d, serv_handle = %d",
76 code, port_handle, bta_hf_client_cb.scb.conn_handle, bta_hf_client_cb.scb.serv_handle);
79 if ((code != PORT_SUCCESS) && (port_handle != bta_hf_client_cb.scb.conn_handle))
87 if ((bta_hf_client_cb.scb.conn_handle && (port_handle == bta_hf_client_cb.scb.conn_handle)) || /* outgoing connection */
99 else if (port_handle == bta_hf_client_cb.scb.conn_handle)
213 FALSE, BTA_HF_CLIENT_MTU, bta_hf_client_cb.scb.peer_addr, &(bta_hf_client_cb.scb.conn_handle),
[all...]
H A Dbta_hf_client_act.c299 bta_hf_client_cb.scb.conn_handle = p_data->rfc.port_handle;
323 bta_hf_client_cb.scb.conn_handle = 0;
417 bta_hf_client_cb.scb.conn_handle = 0;
509 while (PORT_ReadData(bta_hf_client_cb.scb.conn_handle, buf, BTA_HF_CLIENT_RFC_READ_MAX, &len) == PORT_SUCCESS)
H A Dbta_hf_client_sco.c228 p_buf->layer_specific = bta_hf_client_cb.scb.conn_handle;
256 p_buf->layer_specific = bta_hf_client_cb.scb.conn_handle;;
H A Dbta_hf_client_int.h144 UINT16 conn_handle; /* RFCOMM handle of connected service */ member in struct:__anon206
H A Dbta_hf_client_at.c191 PORT_WriteData(bta_hf_client_cb.scb.conn_handle, buf, buf_len, &len);
/system/bt/bta/ag/
H A Dbta_ag_rfc.c96 if (port_handle != p_scb->conn_handle)
98 APPL_TRACE_DEBUG("ag_port_cback ignoring handle:%d conn_handle = %d other handle = %d",
99 port_handle, p_scb->conn_handle, handle);
133 if ((code != PORT_SUCCESS) && (port_handle != p_scb->conn_handle))
141 if (p_scb->conn_handle) /* Outgoing connection */
143 if (port_handle == p_scb->conn_handle)
164 else if (port_handle == p_scb->conn_handle)
374 FALSE, BTA_AG_MTU, p_scb->peer_addr, &(p_scb->conn_handle),
377 bta_ag_setup_port(p_scb, p_scb->conn_handle);
378 APPL_TRACE_DEBUG("bta_ag_rfc_do_open : conn_handle
[all...]
H A Dbta_ag_act.c381 p_scb->conn_handle = 0;
471 p_scb->conn_handle = 0;
492 RFCOMM_RemoveServer(p_scb->conn_handle);
612 p_scb->conn_handle = p_data->rfc.port_handle;
617 APPL_TRACE_DEBUG ("bta_ag_rfc_acp_open: conn_service = %d conn_handle = %d",
618 p_scb->conn_service, p_scb->conn_handle);
657 if (PORT_ReadData(p_scb->conn_handle, buf, BTA_AG_RFC_READ_MAX, &len) != PORT_SUCCESS)
866 PORT_WriteData(p_scb->conn_handle, p_data_area, strlen(p_data_area), &len);
H A Dbta_ag_int.h256 UINT16 conn_handle; /* RFCOMM handle of connected service */ member in struct:__anon27
H A Dbta_ag_cmd.c402 PORT_WriteData(p_scb->conn_handle, buf, (UINT16) (p - buf), &len);
466 PORT_WriteData(p_scb->conn_handle, buf, (UINT16) (p - buf), &len);
/system/bt/stack/btm/
H A Dbtm_ble_multi_adv.c758 UINT16 conn_handle; local
769 STREAM_TO_UINT16(conn_handle, p);
771 if ((idx = btm_handle_to_acl_index(conn_handle)) != MAX_L2CAP_LINKS)
H A Dbtm_sec.c92 static tBTM_STATUS btm_sec_send_hci_disconnect (tBTM_SEC_DEV_REC *p_dev_rec, UINT8 reason, UINT16 conn_handle);
1458 static tBTM_STATUS btm_sec_send_hci_disconnect (tBTM_SEC_DEV_REC *p_dev_rec, UINT8 reason, UINT16 conn_handle) argument
1464 conn_handle, reason);
1470 if (conn_handle == p_dev_rec->hci_handle)
1478 if (conn_handle == p_dev_rec->ble_hci_handle)
1489 p_dev_rec->sec_state = (conn_handle == p_dev_rec->hci_handle) ?
1496 if (p_dev_rec->rs_disc_pending == BTM_SEC_RS_PENDING && p_dev_rec->hci_handle == conn_handle)
1503 else if (!btsnd_hcic_disconnect (conn_handle, reason))
H A Dbtm_ble.c293 BOOLEAN BTM_IsBleConnection (UINT16 conn_handle) argument
299 BTM_TRACE_API ("BTM_IsBleConnection: conn_handle: %d", conn_handle);
301 xx = btm_handle_to_acl_index (conn_handle);
/system/bt/stack/hcic/
H A Dhciblecmds.c750 BOOLEAN btsnd_hcic_ble_set_data_length(UINT16 conn_handle, UINT16 tx_octets, UINT16 tx_time) argument
761 UINT16_TO_STREAM(pp, conn_handle);
/system/bt/stack/include/
H A Dhcimsgs.h776 extern BOOLEAN btsnd_hcic_ble_set_data_length(UINT16 conn_handle, UINT16 tx_octets,
/system/bt/bta/dm/
H A Dbta_dm_int.h785 UINT16 conn_handle; member in struct:__anon132
H A Dbta_dm_act.c3216 && bta_dm_cb.device_list.peer_device[i].conn_handle == p_data->acl_change.handle
3231 bta_dm_cb.device_list.peer_device[i].conn_handle = p_data->acl_change.handle;

Completed in 743 milliseconds