Searched refs:rfc_cb (Results 1 – 15 of 15) sorted by relevance
/system/bt/stack/rfcomm/ |
D | rfc_l2cap_if.cc | 63 tL2CAP_APPL_INFO* p_l2c = &rfc_cb.rfc.reg_info; in rfcomm_l2cap_if_init() 173 rfc_cb.port.port[handle - 1].dlci += 1; in RFCOMM_ConnectCnf() 175 i, rfc_cb.port.port[handle - 1].dlci); in RFCOMM_ConnectCnf() 293 uint8_t event = rfc_parse_data(p_mcb, &rfc_cb.rfc.rx_frame, p_buf); in RFCOMM_BufDataInd() 303 if (rfc_cb.rfc.rx_frame.dlci == RFCOMM_MX_DLCI) { in RFCOMM_BufDataInd() 319 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, rfc_cb.rfc.rx_frame.dlci); in RFCOMM_BufDataInd() 326 if ((p_mcb->is_initiator && !rfc_cb.rfc.rx_frame.cr) || in RFCOMM_BufDataInd() 327 (!p_mcb->is_initiator && rfc_cb.rfc.rx_frame.cr)) { in RFCOMM_BufDataInd() 331 rfc_send_dm(p_mcb, rfc_cb.rfc.rx_frame.dlci, rfc_cb.rfc.rx_frame.pf); in RFCOMM_BufDataInd() 337 p_port = port_find_dlci_port(rfc_cb.rfc.rx_frame.dlci); in RFCOMM_BufDataInd() [all …]
|
D | rfc_utils.cc | 144 rfc_cb.port.rfc_mcb[i].state); in rfc_alloc_multiplexer_channel() 146 << rfc_cb.port.rfc_mcb[i].bd_addr; in rfc_alloc_multiplexer_channel() 148 if ((rfc_cb.port.rfc_mcb[i].state != RFC_MX_STATE_IDLE) && in rfc_alloc_multiplexer_channel() 149 rfc_cb.port.rfc_mcb[i].bd_addr == bd_addr) { in rfc_alloc_multiplexer_channel() 152 if (rfc_cb.port.rfc_mcb[i].state == RFC_MX_STATE_CONNECTED) in rfc_alloc_multiplexer_channel() 153 rfc_timer_stop(&rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel() 157 is_initiator, rfc_cb.port.rfc_mcb[i].state, &rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel() 158 return (&rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel() 163 for (i = 0, j = rfc_cb.rfc.last_mux + 1; i < MAX_BD_CONNECTIONS; i++, j++) { in rfc_alloc_multiplexer_channel() 166 p_mcb = &rfc_cb.port.rfc_mcb[j]; in rfc_alloc_multiplexer_channel() [all …]
|
D | port_api.cc | 262 p_port = &rfc_cb.port.port[handle - 1]; in RFCOMM_RemoveConnection() 291 tPORT* p_port = &rfc_cb.port.port[handle - 1]; in RFCOMM_RemoveServer() 334 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetEventCallback() 364 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_ClearKeepHandleFlag() 393 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetDataCallback() 428 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetDataCOCallback() 460 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetEventMask() 489 tPORT* p_port = &rfc_cb.port.port[handle - 1]; in PORT_CheckConnection() 525 for (auto& multiplexer_cb : rfc_cb.port.rfc_mcb) { in PORT_IsOpening() 536 for (tPORT& port : rfc_cb.port.port) { in PORT_IsOpening() [all …]
|
D | port_utils.cc | 64 uint8_t port_index = rfc_cb.rfc.last_port_index + static_cast<uint8_t>(1); in port_allocate_port() 71 tPORT* p_port = &rfc_cb.port.port[port_index]; in port_allocate_port() 83 rfc_cb.rfc.last_port_index = port_index; in port_allocate_port() 87 __func__, port_index, p_port, rfc_cb.rfc.last_port_index, in port_allocate_port() 283 for (tRFC_MCB& mcb : rfc_cb.port.rfc_mcb) { in port_find_mcb() 327 return &rfc_cb.port.port[handle - 1]; in port_find_mcb_dlci_port() 340 for (tPORT& port : rfc_cb.port.port) { in port_find_dlci_port() 363 for (tPORT& port : rfc_cb.port.port) { in port_find_port()
|
D | port_rfc.cc | 192 tPORT* p_port = &rfc_cb.port.port[0]; in PORT_StartCnf() 250 p_port = &rfc_cb.port.port[0]; in PORT_StartInd() 717 p_port = &rfc_cb.port.port[0]; in PORT_CloseInd() 740 p_port = &rfc_cb.port.port[0]; in Port_TimeOutCloseMux() 866 p_port = &rfc_cb.port.port[i]; in PORT_FlowInd()
|
D | rfc_ts_frames.cc | 230 *p_data++ = rfc_cb.rfc.rx_frame.u.pn.priority; in rfc_send_pn() 381 *p_data++ = rfc_cb.rfc.rx_frame.ea | in rfc_send_nsc() 382 (rfc_cb.rfc.rx_frame.cr << RFCOMM_SHIFT_CR) | in rfc_send_nsc() 383 rfc_cb.rfc.rx_frame.type; in rfc_send_nsc() 635 MX_FRAME* p_rx_frame = &rfc_cb.rfc.rx_frame; in rfc_process_mx_message()
|
D | rfc_mx_fsm.cc | 245 rfc_cb.port.port[handle - 1].dlci += 1; in rfc_mx_sm_state_wait_conn_cnf() 247 rfc_cb.port.port[handle - 1].dlci); in rfc_mx_sm_state_wait_conn_cnf()
|
D | rfc_port_if.cc | 37 tRFC_CB rfc_cb; variable
|
D | rfc_port_fsm.cc | 844 rfc_cb.rfc.peer_rx_disabled = false; in rfc_process_fcon() 862 rfc_cb.rfc.peer_rx_disabled = true; in rfc_process_fcoff() 884 if (!rfc_cb.rfc.peer_rx_disabled) { in rfc_process_l2cap_congestion()
|
D | rfc_int.h | 239 extern tRFC_CB rfc_cb;
|
/system/bt/bta/jv/ |
D | bta_jv_api.cc | 566 if (hi >= BTA_JV_MAX_RFC_CONN || !bta_jv_cb.rfc_cb[hi].p_cback || in BTA_JvRfcommClose() 567 si >= BTA_JV_MAX_RFC_SR_SESSION || !bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) in BTA_JvRfcommClose() 646 bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) in BTA_JvRfcommGetPortHdl() 647 return bta_jv_cb.port_cb[bta_jv_cb.rfc_cb[hi].rfc_hdl[si] - 1].port_handle; in BTA_JvRfcommGetPortHdl() 670 if (hi >= BTA_JV_MAX_RFC_CONN || !bta_jv_cb.rfc_cb[hi].p_cback || in BTA_JvRfcommWrite() 671 si >= BTA_JV_MAX_RFC_SR_SESSION || !bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) { in BTA_JvRfcommWrite() 677 tBTA_JV_RFC_CB* p_cb = &bta_jv_cb.rfc_cb[hi]; in BTA_JvRfcommWrite()
|
D | bta_jv_int.h | 118 tBTA_JV_RFC_CB rfc_cb[BTA_JV_MAX_RFC_CONN]; member
|
D | bta_jv_act.cc | 135 if (bta_jv_cb.rfc_cb[i].handle) used++; in get_rfc_cb_used() 176 if (0 == bta_jv_cb.rfc_cb[i].handle) { in bta_jv_alloc_rfc_cb() 177 p_cb = &bta_jv_cb.rfc_cb[i]; in bta_jv_alloc_rfc_cb() 242 if (handle) p_cb = &bta_jv_cb.rfc_cb[handle - 1]; in bta_jv_rfc_port_to_cb() 438 if (hi < BTA_JV_MAX_RFC_CONN && bta_jv_cb.rfc_cb[hi].p_cback && in bta_jv_free_set_pm_profile_cb() 440 bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) { in bta_jv_free_set_pm_profile_cb() 442 bta_jv_rfc_port_to_pcb(bta_jv_cb.rfc_cb[hi].rfc_hdl[si]); in bta_jv_free_set_pm_profile_cb() 1408 *cb = &bta_jv_cb.rfc_cb[rfc_handle - 1]; in find_rfc_pcb()
|
/system/bt/internal_include/ |
D | bt_trace.h | 310 if (rfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \ 315 if (rfc_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \ 320 if (rfc_cb.trace_level >= BT_TRACE_LEVEL_API) \ 325 if (rfc_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \ 330 if (rfc_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \
|
/system/bt/stack/test/rfcomm/ |
D | stack_rfcomm_test.cc | 460 rfc_cb.trace_level = BT_TRACE_LEVEL_DEBUG; in SetUp()
|