/system/bt/bta/ag/ |
bta_ag_rfc.c | 42 void bta_ag_port_cback_1(UINT32 code, UINT16 port_handle); 43 void bta_ag_port_cback_2(UINT32 code, UINT16 port_handle); 44 void bta_ag_port_cback_3(UINT32 code, UINT16 port_handle); 46 void bta_ag_mgmt_cback_1(UINT32 code, UINT16 port_handle); 47 void bta_ag_mgmt_cback_2(UINT32 code, UINT16 port_handle); 48 void bta_ag_mgmt_cback_3(UINT32 code, UINT16 port_handle); 50 int bta_ag_data_cback_1(UINT16 port_handle, void *p_data, UINT16 len); 51 int bta_ag_data_cback_2(UINT16 port_handle, void *p_data, UINT16 len); 52 int bta_ag_data_cback_3(UINT16 port_handle, void *p_data, UINT16 len); 88 static void bta_ag_port_cback(UINT32 code, UINT16 port_handle, UINT16 handle [all...] |
bta_ag_act.c | 563 if (PORT_SUCCESS != (status=PORT_CheckConnection(p_data->rfc.port_handle, dev_addr, &lcid))) 603 APPL_TRACE_DEBUG ("bta_ag_rfc_acp_open: i = %d serv_handle = %d port_handle = %d", 604 i, p_scb->serv_handle[i], p_data->rfc.port_handle); 606 if (p_scb->serv_handle[i] == p_data->rfc.port_handle) 609 p_scb->conn_handle = p_data->rfc.port_handle;
|
bta_ag_int.h | 207 UINT16 port_handle; member in struct:__anon71614
|
/system/bt/bta/hf_client/ |
bta_hf_client_rfc.c | 43 static void bta_hf_client_port_cback(UINT32 code, UINT16 port_handle) 48 if (port_handle != bta_hf_client_cb.scb.conn_handle) 51 port_handle, bta_hf_client_cb.scb.conn_handle); 71 static void bta_hf_client_mgmt_cback(UINT32 code, UINT16 port_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)) 81 APPL_TRACE_DEBUG("bta_hf_client_mgmt_cback ignoring handle:%d", port_handle); 87 if ((bta_hf_client_cb.scb.conn_handle && (port_handle == bta_hf_client_cb.scb.conn_handle)) || /* outgoing connection */ 88 (port_handle == bta_hf_client_cb.scb.serv_handle)) /* incoming connection * [all...] |
bta_hf_client_act.c | 273 APPL_TRACE_DEBUG ("bta_hf_client_rfc_acp_open: serv_handle = %d rfc.port_handle = %d", 274 bta_hf_client_cb.scb.serv_handle, p_data->rfc.port_handle); 277 if (PORT_SUCCESS != (status=PORT_CheckConnection(p_data->rfc.port_handle, dev_addr, &lcid))) 299 bta_hf_client_cb.scb.conn_handle = p_data->rfc.port_handle;
|
bta_hf_client_int.h | 111 UINT16 port_handle; member in struct:__anon71795
|
/system/bt/stack/include/ |
port_api.h | 99 typedef int (tPORT_DATA_CALLBACK) (UINT16 port_handle, void *p_data, UINT16 len); 104 typedef int (tPORT_DATA_CO_CALLBACK) (UINT16 port_handle, UINT8* p_buf, UINT16 len, int type); 106 typedef void (tPORT_CALLBACK) (UINT32 code, UINT16 port_handle); 261 extern int PORT_SetEventCallback (UINT16 port_handle, 273 int PORT_ClearKeepHandleFlag (UINT16 port_handle); 287 extern int PORT_SetDataCallback (UINT16 port_handle, 290 extern int PORT_SetDataCOCallback (UINT16 port_handle, tPORT_DATA_CO_CALLBACK *p_port_cb); 302 extern int PORT_SetEventMask (UINT16 port_handle, UINT32 mask);
|
/system/bt/stack/rfcomm/ |
port_api.c | 328 int PORT_SetEventCallback (UINT16 port_handle, tPORT_CALLBACK *p_port_cb) 333 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) 338 p_port = &rfc_cb.port.port[port_handle - 1]; 345 RFCOMM_TRACE_API ("PORT_SetEventCallback() handle:%d", port_handle); 361 int PORT_ClearKeepHandleFlag (UINT16 port_handle) 366 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) 371 p_port = &rfc_cb.port.port[port_handle - 1]; 389 int PORT_SetDataCallback (UINT16 port_handle, tPORT_DATA_CALLBACK *p_port_cb [all...] |
/system/bt/bta/jv/ |
bta_jv_act.c | 187 tBTA_JV_RFC_CB * bta_jv_alloc_rfc_cb(UINT16 port_handle, tBTA_JV_PCB **pp_pcb) 204 p_cb->rfc_hdl[0] = port_handle; 205 APPL_TRACE_DEBUG( "bta_jv_alloc_rfc_cb port_handle:%d handle:0x%2x", 206 port_handle, p_cb->handle); 208 p_pcb = &bta_jv_cb.port_cb[port_handle - 1]; 210 p_pcb->port_handle = port_handle; 218 APPL_TRACE_ERROR( "bta_jv_alloc_rfc_cb: port_handle:%d, ctrl block exceeds " 219 "limit:%d", port_handle, BTA_JV_MAX_RFC_CONN); 233 tBTA_JV_PCB * bta_jv_rfc_port_to_pcb(UINT16 port_handle) [all...] |
bta_jv_int.h | 142 UINT16 port_handle;/* port handle */ member in struct:__anon72093 382 the port_handle, */
|
bta_jv_api.c | 919 return bta_jv_cb.port_cb[bta_jv_cb.rfc_cb[hi].rfc_hdl[si] - 1].port_handle; [all...] |