Searched refs:port_handle (Results 1 - 13 of 13) sorted by relevance

/external/bluetooth/bluedroid/bta/ag/
H A Dbta_ag_rfc.c42 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, UINT1 argument
122 bta_ag_mgmt_cback(UINT32 code, UINT16 port_handle, UINT16 handle) argument
196 bta_ag_data_cback(UINT16 port_handle, void *p_data, UINT16 len, UINT16 handle) argument
233 bta_ag_data_cback_1(UINT16 port_handle, void *p_data, UINT16 len) argument
237 bta_ag_data_cback_2(UINT16 port_handle, void *p_data, UINT16 len) argument
241 bta_ag_data_cback_3(UINT16 port_handle, void *p_data, UINT16 len) argument
[all...]
H A Dbta_ag_act.c557 if (PORT_SUCCESS != (status=PORT_CheckConnection(p_data->rfc.port_handle, dev_addr, &lcid)))
599 APPL_TRACE_DEBUG3 ("bta_ag_rfc_acp_open: i = %d serv_handle = %d port_handle = %d",
600 i, p_scb->serv_handle[i], p_data->rfc.port_handle);
602 if (p_scb->serv_handle[i] == p_data->rfc.port_handle)
605 p_scb->conn_handle = p_data->rfc.port_handle;
H A Dbta_ag_int.h207 UINT16 port_handle; member in struct:__anon415
/external/chromium_org/cloud_print/virtual_driver/win/port_monitor/
H A Dport_monitor.h36 BOOL WINAPI Monitor2StartDocPort(HANDLE port_handle,
49 BOOL WINAPI Monitor2EndDocPort(HANDLE port_handle);
51 BOOL WINAPI Monitor2ClosePort(HANDLE port_handle);
H A Dport_monitor_unittest.cc184 HANDLE port_handle = NULL; local
231 EXPECT_TRUE(monitor2->pfnOpenPort(monitor_handle, NULL, &port_handle));
232 EXPECT_TRUE(port_handle != NULL);
239 EXPECT_FALSE(monitor2->pfnStartDocPort(port_handle, L"", 0, 0, NULL));
240 EXPECT_FALSE(monitor2->pfnWritePort(port_handle,
245 EXPECT_FALSE(monitor2->pfnReadPort(port_handle,
250 EXPECT_FALSE(monitor2->pfnEndDocPort(port_handle));
254 EXPECT_TRUE(monitor2->pfnStartDocPort(port_handle, L"", 0, 0, NULL));
255 EXPECT_TRUE(monitor2->pfnWritePort(port_handle,
260 EXPECT_FALSE(monitor2->pfnReadPort(port_handle,
[all...]
H A Dspooler_win.h28 BOOL (WINAPI *pfnStartDocPort)(HANDLE port_handle,
41 BOOL (WINAPI *pfnEndDocPort)(HANDLE port_handle);
43 BOOL (WINAPI *pfnClosePort)(HANDLE port_handle);
H A Dport_monitor.cc396 BOOL WINAPI Monitor2StartDocPort(HANDLE port_handle, argument
402 if (port_handle == NULL) {
403 LOG(ERROR) << "port_handle should not be NULL.";
416 PortData* port_data = reinterpret_cast<PortData*>(port_handle);
444 BOOL WINAPI Monitor2WritePort(HANDLE port_handle, argument
448 PortData* port_data = reinterpret_cast<PortData*>(port_handle);
469 BOOL WINAPI Monitor2EndDocPort(HANDLE port_handle) { argument
474 PortData* port_data = reinterpret_cast<PortData*>(port_handle);
517 BOOL WINAPI Monitor2ClosePort(HANDLE port_handle) { argument
518 if (port_handle
[all...]
/external/bluetooth/bluedroid/stack/include/
H A Dport_api.h99 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);
260 RFC_API extern int PORT_SetEventCallback (UINT16 port_handle,
272 int PORT_ClearKeepHandleFlag (UINT16 port_handle);
286 RFC_API extern int PORT_SetDataCallback (UINT16 port_handle,
289 RFC_API extern int PORT_SetDataCOCallback (UINT16 port_handle, tPORT_DATA_CO_CALLBACK *p_port_cb);
301 RFC_API extern int PORT_SetEventMask (UINT16 port_handle, UINT32 mask);
H A Dobx_api.h702 OBX_API extern tOBX_STATUS OBX_GetPortHandle(tOBX_HANDLE handle, UINT16 *port_handle);
/external/bluetooth/bluedroid/bta/jv/
H A Dbta_jv_act.c186 tBTA_JV_RFC_CB * bta_jv_alloc_rfc_cb(UINT16 port_handle, tBTA_JV_PCB **pp_pcb) argument
203 p_cb->rfc_hdl[0] = port_handle;
204 APPL_TRACE_DEBUG2( "bta_jv_alloc_rfc_cb port_handle:%d handle:0x%2x",
205 port_handle, p_cb->handle);
207 p_pcb = &bta_jv_cb.port_cb[port_handle - 1];
209 p_pcb->port_handle = port_handle;
217 APPL_TRACE_ERROR2( "bta_jv_alloc_rfc_cb: port_handle:%d, ctrl block exceeds "
218 "limit:%d", port_handle, BTA_JV_MAX_RFC_CONN);
232 tBTA_JV_PCB * bta_jv_rfc_port_to_pcb(UINT16 port_handle) argument
254 bta_jv_rfc_port_to_cb(UINT16 port_handle) argument
1938 bta_jv_port_data_co_cback(UINT16 port_handle, UINT8 *buf, UINT16 len, int type) argument
1972 bta_jv_port_mgmt_cl_cback(UINT32 code, UINT16 port_handle) argument
2026 bta_jv_port_event_cl_cback(UINT32 code, UINT16 port_handle) argument
2238 bta_jv_port_mgmt_sr_cback(UINT32 code, UINT16 port_handle) argument
2310 bta_jv_port_event_sr_cback(UINT32 code, UINT16 port_handle) argument
[all...]
H A Dbta_jv_int.h209 UINT16 port_handle; /* port handle */ member in struct:__anon865
445 tBTA_JV_PCB port_cb[MAX_RFC_PORTS]; /* index of this array is the port_handle, */
H A Dbta_jv_api.c1523 return bta_jv_cb.port_cb[bta_jv_cb.rfc_cb[hi].rfc_hdl[si] - 1].port_handle;
/external/bluetooth/bluedroid/stack/rfcomm/
H A Dport_api.c291 int PORT_SetEventCallback (UINT16 port_handle, tPORT_CALLBACK *p_port_cb) argument
296 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS))
301 p_port = &rfc_cb.port.port[port_handle - 1];
308 RFCOMM_TRACE_API1 ("PORT_SetEventCallback() handle:%d", port_handle);
324 int PORT_ClearKeepHandleFlag (UINT16 port_handle) argument
329 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS))
334 p_port = &rfc_cb.port.port[port_handle - 1];
352 int PORT_SetDataCallback (UINT16 port_handle, tPORT_DATA_CALLBAC argument
388 PORT_SetDataCOCallback(UINT16 port_handle, tPORT_DATA_CO_CALLBACK *p_port_cb) argument
424 PORT_SetEventMask(UINT16 port_handle, UINT32 mask) argument
[all...]

Completed in 102 milliseconds