HomeSort by relevance Sort by last modified time
    Searched refs:port_handle (Results 1 - 12 of 12) sorted by null

  /system/bt/bta/ag/
bta_ag_rfc.cc 43 void bta_ag_port_cback_1(uint32_t code, uint16_t port_handle);
44 void bta_ag_port_cback_2(uint32_t code, uint16_t port_handle);
45 void bta_ag_port_cback_3(uint32_t code, uint16_t port_handle);
46 void bta_ag_port_cback_4(uint32_t code, uint16_t port_handle);
47 void bta_ag_port_cback_5(uint32_t code, uint16_t port_handle);
48 void bta_ag_port_cback_6(uint32_t code, uint16_t port_handle);
49 void bta_ag_mgmt_cback_1(uint32_t code, uint16_t port_handle);
50 void bta_ag_mgmt_cback_2(uint32_t code, uint16_t port_handle);
51 void bta_ag_mgmt_cback_3(uint32_t code, uint16_t port_handle);
52 void bta_ag_mgmt_cback_4(uint32_t code, uint16_t port_handle);
    [all...]
bta_ag_act.cc 528 int status = PORT_CheckConnection(data.rfc.port_handle, dev_addr, &lcid);
573 "bta_ag_rfc_acp_open: i = %d serv_handle = %d port_handle = %d", i,
574 p_scb->serv_handle[i], data.rfc.port_handle);
576 if (p_scb->serv_handle[i] == data.rfc.port_handle) {
578 p_scb->conn_handle = data.rfc.port_handle;
bta_ag_int.h 150 uint16_t port_handle; member in struct:__anon1224
  /system/bt/bta/hf_client/
bta_hf_client_rfc.cc 48 uint16_t port_handle) {
51 bta_hf_client_find_cb_by_rfc_handle(port_handle);
53 APPL_TRACE_ERROR("%s: cb not found for handle %d", __func__, port_handle);
74 static void bta_hf_client_mgmt_cback(uint32_t code, uint16_t port_handle) {
76 bta_hf_client_find_cb_by_rfc_handle(port_handle);
78 APPL_TRACE_DEBUG("%s: code = %d, port_handle = %d serv = %d", __func__, code,
79 port_handle, bta_hf_client_cb_arr.serv_handle);
83 port_handle != client_cb->conn_handle) {
85 port_handle);
93 if (client_cb && port_handle == client_cb->conn_handle) { /* out conn *
    [all...]
bta_hf_client_int.h 122 uint16_t port_handle; member in struct:__anon1355
  /system/bt/stack/test/rfcomm/
stack_rfcomm_test_utils.h 31 virtual void PortManagementCallback(uint32_t code, uint16_t port_handle,
33 virtual void PortEventCallback(uint32_t code, uint16_t port_handle,
40 MOCK_METHOD3(PortManagementCallback, void(uint32_t code, uint16_t port_handle,
42 MOCK_METHOD3(PortEventCallback, void(uint32_t code, uint16_t port_handle,
stack_rfcomm_test.cc 108 void port_mgmt_cback_0(uint32_t code, uint16_t port_handle) {
109 rfcomm_callback->PortManagementCallback(code, port_handle, 0);
112 void port_mgmt_cback_1(uint32_t code, uint16_t port_handle) {
113 rfcomm_callback->PortManagementCallback(code, port_handle, 1);
116 void port_event_cback_0(uint32_t code, uint16_t port_handle) {
117 rfcomm_callback->PortEventCallback(code, port_handle, 0);
120 void port_event_cback_1(uint32_t code, uint16_t port_handle) {
121 rfcomm_callback->PortEventCallback(code, port_handle, 1);
185 void ConnectServerPort(const RawAddress& peer_addr, uint16_t port_handle,
224 PortManagementCallback(PORT_SUCCESS, port_handle, port_callback_index))
    [all...]
  /system/bt/stack/include/
port_api.h 96 typedef int(tPORT_DATA_CALLBACK)(uint16_t port_handle, void* p_data,
102 typedef int(tPORT_DATA_CO_CALLBACK)(uint16_t port_handle, uint8_t* p_buf,
105 typedef void(tPORT_CALLBACK)(uint32_t code, uint16_t port_handle);
255 extern int PORT_SetEventCallback(uint16_t port_handle,
268 int PORT_ClearKeepHandleFlag(uint16_t port_handle);
282 extern int PORT_SetDataCallback(uint16_t port_handle,
285 extern int PORT_SetDataCOCallback(uint16_t port_handle,
298 extern int PORT_SetEventMask(uint16_t port_handle, uint32_t mask);
  /system/bt/stack/rfcomm/
port_api.cc 332 int PORT_SetEventCallback(uint16_t port_handle, tPORT_CALLBACK* p_port_cb) {
336 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) {
340 p_port = &rfc_cb.port.port[port_handle - 1];
346 RFCOMM_TRACE_API("PORT_SetEventCallback() handle:%d", port_handle);
362 int PORT_ClearKeepHandleFlag(uint16_t port_handle) {
366 if ((port_handle == 0) || (port_handle > MAX_RFC_PORTS)) {
370 p_port = &rfc_cb.port.port[port_handle - 1];
388 int PORT_SetDataCallback(uint16_t port_handle, tPORT_DATA_CALLBACK* p_port_cb)
    [all...]
  /system/bt/bta/jv/
bta_jv_act.cc 170 tBTA_JV_RFC_CB* bta_jv_alloc_rfc_cb(uint16_t port_handle,
184 p_cb->rfc_hdl[0] = port_handle;
185 VLOG(2) << __func__ << "port_handle=" << +port_handle
188 p_pcb = &bta_jv_cb.port_cb[port_handle - 1];
190 p_pcb->port_handle = port_handle;
197 LOG(ERROR) << __func__ << "port_handle=" << port_handle
198 << " ctrl block exceeds limit:" << port_handle, local
247 << ": jv handle not found port_handle:" << port_handle; local
1261 VLOG(2) << __func__ << ": code=" << code << ", port_handle=" << port_handle; local
1305 VLOG(2) << __func__ << ": port_handle=" << port_handle; local
1456 VLOG(2) << __func__ << ": code=" << code << ", port_handle=" << port_handle; local
    [all...]
bta_jv_int.h 90 uint16_t port_handle; /* port handle */ member in struct:__anon1645
120 the port_handle, */
bta_jv_api.cc 647 return bta_jv_cb.port_cb[bta_jv_cb.rfc_cb[hi].rfc_hdl[si] - 1].port_handle;

Completed in 353 milliseconds