Home
last modified time | relevance | path

Searched refs:serv_handle (Results 1 – 6 of 6) sorted by relevance

/system/bt/bta/hf_client/
Dbta_hf_client_rfc.c76 … code, port_handle, bta_hf_client_cb.scb.conn_handle, bta_hf_client_cb.scb.serv_handle); in bta_hf_client_mgmt_cback()
88 … (port_handle == bta_hf_client_cb.scb.serv_handle)) /* incoming connection */ in bta_hf_client_mgmt_cback()
146 if (bta_hf_client_cb.scb.serv_handle > 0) in bta_hf_client_start_server()
148 …APPL_TRACE_DEBUG("%s already started, handle: %d", __FUNCTION__, bta_hf_client_cb.scb.serv_handle); in bta_hf_client_start_server()
156 TRUE, BTA_HF_CLIENT_MTU, (UINT8 *) bd_addr_any, &(bta_hf_client_cb.scb.serv_handle), in bta_hf_client_start_server()
161 bta_hf_client_setup_port(bta_hf_client_cb.scb.serv_handle); in bta_hf_client_start_server()
169 APPL_TRACE_DEBUG("bta_hf_client_start_server handle: %d", bta_hf_client_cb.scb.serv_handle); in bta_hf_client_start_server()
184 APPL_TRACE_DEBUG("%s %d", __FUNCTION__, bta_hf_client_cb.scb.serv_handle); in bta_hf_client_close_server()
186 if (bta_hf_client_cb.scb.serv_handle == 0) in bta_hf_client_close_server()
192 RFCOMM_RemoveServer(bta_hf_client_cb.scb.serv_handle); in bta_hf_client_close_server()
[all …]
Dbta_hf_client_int.h141 UINT16 serv_handle; /* RFCOMM server handle */ member
Dbta_hf_client_act.c274 bta_hf_client_cb.scb.serv_handle, p_data->rfc.port_handle); in bta_hf_client_rfc_acp_open()
/system/bt/bta/ag/
Dbta_ag_rfc.c150 if (port_handle == p_scb->serv_handle[i]) in bta_ag_mgmt_cback()
292 TRUE, BTA_AG_MTU, (UINT8 *) bd_addr_any, &(p_scb->serv_handle[i]), in bta_ag_start_servers()
297 bta_ag_setup_port(p_scb, p_scb->serv_handle[i]); in bta_ag_start_servers()
328 RFCOMM_RemoveServer(p_scb->serv_handle[i]); in bta_ag_close_servers()
329 p_scb->serv_handle[i] = 0; in bta_ag_close_servers()
351 if (p_scb->serv_handle[xx] != 0) in bta_ag_is_server_closed()
Dbta_ag_act.c463 if(p_scb->serv_handle[i]) in bta_ag_rfc_close()
560 p_scb->serv_handle[0], p_scb->serv_handle[1]); in bta_ag_rfc_acp_open()
604 i, p_scb->serv_handle[i], p_data->rfc.port_handle); in bta_ag_rfc_acp_open()
606 if (p_scb->serv_handle[i] == p_data->rfc.port_handle) in bta_ag_rfc_acp_open()
Dbta_ag_int.h252 UINT16 serv_handle[BTA_AG_NUM_IDX]; /* RFCOMM server handles */ member