/packages/modules/Bluetooth/system/bta/ag/ |
D | bta_ag_rfc.cc | 42 void bta_ag_port_cback_1(uint32_t code, uint16_t port_handle); 43 void bta_ag_port_cback_2(uint32_t code, uint16_t port_handle); 44 void bta_ag_port_cback_3(uint32_t code, uint16_t port_handle); 45 void bta_ag_port_cback_4(uint32_t code, uint16_t port_handle); 46 void bta_ag_port_cback_5(uint32_t code, uint16_t port_handle); 47 void bta_ag_port_cback_6(uint32_t code, uint16_t port_handle); 48 void bta_ag_mgmt_cback_1(const tPORT_RESULT code, uint16_t port_handle); 49 void bta_ag_mgmt_cback_2(const tPORT_RESULT code, uint16_t port_handle); 50 void bta_ag_mgmt_cback_3(const tPORT_RESULT code, uint16_t port_handle); 51 void bta_ag_mgmt_cback_4(const tPORT_RESULT code, uint16_t port_handle); [all …]
|
D | bta_ag_act.cc | 566 int status = PORT_CheckConnection(data.rfc.port_handle, &dev_addr, &lcid); in bta_ag_rfc_acp_open() 616 p_scb->serv_handle[i], data.rfc.port_handle); in bta_ag_rfc_acp_open() 618 if (p_scb->serv_handle[i] == data.rfc.port_handle) { in bta_ag_rfc_acp_open() 620 p_scb->conn_handle = data.rfc.port_handle; in bta_ag_rfc_acp_open()
|
D | bta_ag_int.h | 180 uint16_t port_handle; member
|
/packages/modules/Bluetooth/system/bta/hf_client/ |
D | bta_hf_client_rfc.cc | 54 uint16_t port_handle) { in bta_hf_client_port_cback() argument 57 bta_hf_client_find_cb_by_rfc_handle(port_handle); in bta_hf_client_port_cback() 59 log::error("cb not found for handle {}", port_handle); in bta_hf_client_port_cback() 81 uint16_t port_handle) { in bta_hf_client_mgmt_cback() argument 83 bta_hf_client_find_cb_by_rfc_handle(port_handle); in bta_hf_client_mgmt_cback() 85 log::verbose("code = {}, port_handle = {} serv = {}", code, port_handle, in bta_hf_client_mgmt_cback() 90 port_handle != client_cb->conn_handle) { in bta_hf_client_mgmt_cback() 91 log::verbose("bta_hf_client_mgmt_cback ignoring handle:{}", port_handle); in bta_hf_client_mgmt_cback() 99 if (client_cb && port_handle == client_cb->conn_handle) { /* out conn */ in bta_hf_client_mgmt_cback() 101 } else if (port_handle == bta_hf_client_cb_arr.serv_handle) { in bta_hf_client_mgmt_cback() [all …]
|
D | bta_hf_client_int.h | 131 uint16_t port_handle; member
|
/packages/modules/Bluetooth/system/bta/jv/ |
D | bta_jv_act.cc | 216 tBTA_JV_RFC_CB* bta_jv_alloc_rfc_cb(uint16_t port_handle, in bta_jv_alloc_rfc_cb() argument 230 p_cb->rfc_hdl[0] = port_handle; in bta_jv_alloc_rfc_cb() 231 log::verbose("port_handle={}, handle=0x{:x}", port_handle, p_cb->handle); in bta_jv_alloc_rfc_cb() 233 p_pcb = &bta_jv_cb.port_cb[port_handle - 1]; in bta_jv_alloc_rfc_cb() 235 p_pcb->port_handle = port_handle; in bta_jv_alloc_rfc_cb() 242 log::error("port_handle={} ctrl block exceeds limit:{}", port_handle, in bta_jv_alloc_rfc_cb() 258 tBTA_JV_PCB* bta_jv_rfc_port_to_pcb(uint16_t port_handle) { in bta_jv_rfc_port_to_pcb() argument 261 if ((port_handle > 0) && (port_handle <= MAX_RFC_PORTS) && in bta_jv_rfc_port_to_pcb() 262 bta_jv_cb.port_cb[port_handle - 1].handle) { in bta_jv_rfc_port_to_pcb() 263 p_pcb = &bta_jv_cb.port_cb[port_handle - 1]; in bta_jv_rfc_port_to_pcb() [all …]
|
D | bta_jv_int.h | 93 uint16_t port_handle; /* port handle */ member
|
D | bta_jv_api.cc | 533 return bta_jv_cb.port_cb[bta_jv_cb.rfc_cb[hi].rfc_hdl[si] - 1].port_handle; in BTA_JvRfcommGetPortHdl()
|
/packages/modules/Bluetooth/system/stack/include/ |
D | port_api.h | 80 typedef int(tPORT_DATA_CALLBACK)(uint16_t port_handle, void* p_data, 86 typedef int(tPORT_DATA_CO_CALLBACK)(uint16_t port_handle, uint8_t* p_buf, 89 typedef void(tPORT_CALLBACK)(uint32_t code, uint16_t port_handle); 191 uint16_t port_handle); 294 [[nodiscard]] int PORT_SetEventMaskAndCallback(uint16_t port_handle, 308 [[nodiscard]] int PORT_ClearKeepHandleFlag(uint16_t port_handle); 310 [[nodiscard]] int PORT_SetDataCOCallback(uint16_t port_handle,
|
/packages/modules/Bluetooth/system/stack/test/rfcomm/ |
D | stack_rfcomm_test.cc | 110 void port_mgmt_cback_0(const tPORT_RESULT code, uint16_t port_handle) { in port_mgmt_cback_0() argument 111 rfcomm_callback->PortManagementCallback(code, port_handle, 0); in port_mgmt_cback_0() 114 void port_mgmt_cback_1(const tPORT_RESULT code, uint16_t port_handle) { in port_mgmt_cback_1() argument 115 rfcomm_callback->PortManagementCallback(code, port_handle, 1); in port_mgmt_cback_1() 118 void port_event_cback_0(uint32_t code, uint16_t port_handle) { in port_event_cback_0() argument 119 rfcomm_callback->PortEventCallback(code, port_handle, 0); in port_event_cback_0() 122 void port_event_cback_1(uint32_t code, uint16_t port_handle) { in port_event_cback_1() argument 123 rfcomm_callback->PortEventCallback(code, port_handle, 1); in port_event_cback_1() 188 void ConnectServerPort(const RawAddress& peer_addr, uint16_t port_handle, in ConnectServerPort() argument 227 PortManagementCallback(PORT_SUCCESS, port_handle, port_callback_index)); in ConnectServerPort() [all …]
|
D | stack_rfcomm_test_utils.h | 29 virtual void PortManagementCallback(uint32_t code, uint16_t port_handle, 31 virtual void PortEventCallback(uint32_t code, uint16_t port_handle, 38 MOCK_METHOD3(PortManagementCallback, void(uint32_t code, uint16_t port_handle, 40 MOCK_METHOD3(PortEventCallback, void(uint32_t code, uint16_t port_handle,
|