Searched refs:rfc_cb (Results 1 – 15 of 15) sorted by relevance
/aosp12/system/bt/stack/rfcomm/ |
H A D | rfc_l2cap_if.cc | 63 tL2CAP_APPL_INFO* p_l2c = &rfc_cb.rfc.reg_info; in rfcomm_l2cap_if_init() 270 if (rfc_cb.rfc.rx_frame.dlci == RFCOMM_MX_DLCI) { in RFCOMM_BufDataInd() 293 if ((p_mcb->is_initiator && !rfc_cb.rfc.rx_frame.cr) || in RFCOMM_BufDataInd() 294 (!p_mcb->is_initiator && rfc_cb.rfc.rx_frame.cr)) { in RFCOMM_BufDataInd() 298 rfc_send_dm(p_mcb, rfc_cb.rfc.rx_frame.dlci, rfc_cb.rfc.rx_frame.pf); in RFCOMM_BufDataInd() 304 p_port = port_find_dlci_port(rfc_cb.rfc.rx_frame.dlci); in RFCOMM_BufDataInd() 309 rfc_send_dm(p_mcb, rfc_cb.rfc.rx_frame.dlci, true); in RFCOMM_BufDataInd() 314 rfc_cb.rfc.rx_frame.dlci, in RFCOMM_BufDataInd() 317 p_mcb->port_handles[rfc_cb.rfc.rx_frame.dlci] = p_port->handle; in RFCOMM_BufDataInd() 330 if (rfc_cb.rfc.rx_frame.credit != 0) { in RFCOMM_BufDataInd() [all …]
|
H A D | rfc_utils.cc | 143 rfc_cb.port.rfc_mcb[i].state); in rfc_alloc_multiplexer_channel() 145 << rfc_cb.port.rfc_mcb[i].bd_addr; in rfc_alloc_multiplexer_channel() 148 rfc_cb.port.rfc_mcb[i].bd_addr == bd_addr) { in rfc_alloc_multiplexer_channel() 152 rfc_timer_stop(&rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel() 156 is_initiator, rfc_cb.port.rfc_mcb[i].state, &rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel() 157 return (&rfc_cb.port.rfc_mcb[i]); in rfc_alloc_multiplexer_channel() 165 p_mcb = &rfc_cb.port.rfc_mcb[j]; in rfc_alloc_multiplexer_channel() 175 is_initiator, &rfc_cb.port.rfc_mcb[j], j); in rfc_alloc_multiplexer_channel() 184 rfc_cb.rfc.last_mux = (uint8_t)j; in rfc_alloc_multiplexer_channel() 204 if (rfc_cb.port.port[i].rfc.p_mcb == p_mcb) in rfc_release_multiplexer_channel() [all …]
|
H A D | port_api.cc | 269 p_port = &rfc_cb.port.port[handle - 1]; in RFCOMM_RemoveConnection() 341 p_port = &rfc_cb.port.port[port_handle - 1]; in PORT_SetEventCallback() 509 for (tPORT& port : rfc_cb.port.port) { in PORT_IsOpening() 553 p_port = &rfc_cb.port.port[handle - 1]; in PORT_SetState() 598 p_port = &rfc_cb.port.port[handle - 1]; in PORT_GetState() 638 p_port = &rfc_cb.port.port[handle - 1]; in PORT_FlowControl_MaxCredit() 709 p_port = &rfc_cb.port.port[handle - 1]; in PORT_ReadData() 862 p_port = &rfc_cb.port.port[handle - 1]; in PORT_WriteDataCO() 1021 p_port = &rfc_cb.port.port[handle - 1]; in PORT_WriteData() 1115 rfc_cb.rfc.last_mux = MAX_BD_CONNECTIONS; in RFCOMM_Init() [all …]
|
H A D | port_utils.cc | 65 uint8_t port_index = rfc_cb.rfc.last_port_index + static_cast<uint8_t>(1); in port_allocate_port() 72 tPORT* p_port = &rfc_cb.port.port[port_index]; in port_allocate_port() 84 rfc_cb.rfc.last_port_index = port_index; in port_allocate_port() 88 __func__, port_index, p_port, rfc_cb.rfc.last_port_index, in port_allocate_port() 285 for (tRFC_MCB& mcb : rfc_cb.port.rfc_mcb) { in port_find_mcb() 329 return &rfc_cb.port.port[handle - 1]; in port_find_mcb_dlci_port() 342 for (tPORT& port : rfc_cb.port.port) { in port_find_dlci_port() 365 for (tPORT& port : rfc_cb.port.port) { in port_find_port()
|
H A D | rfc_mx_fsm.cc | 246 rfc_cb.port.port[handle - 1].dlci += 1; in rfc_mx_sm_state_wait_conn_cnf() 248 rfc_cb.port.port[handle - 1].dlci); in rfc_mx_sm_state_wait_conn_cnf() 589 rfc_cb.port.port[handle - 1].dlci += 1; in rfc_on_l2cap_error() 591 i, rfc_cb.port.port[handle - 1].dlci); in rfc_on_l2cap_error()
|
H A D | port_rfc.cc | 191 tPORT* p_port = &rfc_cb.port.port[0]; in PORT_StartCnf() 249 p_port = &rfc_cb.port.port[0]; in PORT_StartInd() 716 p_port = &rfc_cb.port.port[0]; in PORT_CloseInd() 739 p_port = &rfc_cb.port.port[0]; in Port_TimeOutCloseMux() 865 p_port = &rfc_cb.port.port[i]; in PORT_FlowInd()
|
H A D | rfc_ts_frames.cc | 231 *p_data++ = rfc_cb.rfc.rx_frame.u.pn.priority; in rfc_send_pn() 382 *p_data++ = rfc_cb.rfc.rx_frame.ea | in rfc_send_nsc() 383 (rfc_cb.rfc.rx_frame.cr << RFCOMM_SHIFT_CR) | in rfc_send_nsc() 384 rfc_cb.rfc.rx_frame.type; in rfc_send_nsc() 636 MX_FRAME* p_rx_frame = &rfc_cb.rfc.rx_frame; in rfc_process_mx_message()
|
H A D | rfc_port_fsm.cc | 854 rfc_cb.rfc.peer_rx_disabled = false; in rfc_process_fcon() 872 rfc_cb.rfc.peer_rx_disabled = true; in rfc_process_fcoff() 894 if (!rfc_cb.rfc.peer_rx_disabled) { in rfc_process_l2cap_congestion()
|
H A D | rfc_port_if.cc | 37 tRFC_CB rfc_cb; variable
|
H A D | rfc_int.h | 251 extern tRFC_CB rfc_cb;
|
/aosp12/system/bt/bta/jv/ |
H A D | bta_jv_api.cc | 446 if (hi >= BTA_JV_MAX_RFC_CONN || !bta_jv_cb.rfc_cb[hi].p_cback || in BTA_JvRfcommClose() 447 si >= BTA_JV_MAX_RFC_SR_SESSION || !bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) in BTA_JvRfcommClose() 526 bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) in BTA_JvRfcommGetPortHdl() 527 return bta_jv_cb.port_cb[bta_jv_cb.rfc_cb[hi].rfc_hdl[si] - 1].port_handle; in BTA_JvRfcommGetPortHdl() 550 if (hi >= BTA_JV_MAX_RFC_CONN || !bta_jv_cb.rfc_cb[hi].p_cback || in BTA_JvRfcommWrite() 551 si >= BTA_JV_MAX_RFC_SR_SESSION || !bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) { in BTA_JvRfcommWrite() 557 tBTA_JV_RFC_CB* p_cb = &bta_jv_cb.rfc_cb[hi]; in BTA_JvRfcommWrite()
|
H A D | bta_jv_act.cc | 93 if (bta_jv_cb.rfc_cb[i].handle) used++; in get_rfc_cb_used() 134 if (0 == bta_jv_cb.rfc_cb[i].handle) { in bta_jv_alloc_rfc_cb() 135 p_cb = &bta_jv_cb.rfc_cb[i]; in bta_jv_alloc_rfc_cb() 200 if (handle) p_cb = &bta_jv_cb.rfc_cb[handle - 1]; in bta_jv_rfc_port_to_cb() 398 if (hi < BTA_JV_MAX_RFC_CONN && bta_jv_cb.rfc_cb[hi].p_cback && in bta_jv_free_set_pm_profile_cb() 400 bta_jv_cb.rfc_cb[hi].rfc_hdl[si]) { in bta_jv_free_set_pm_profile_cb() 402 bta_jv_rfc_port_to_pcb(bta_jv_cb.rfc_cb[hi].rfc_hdl[si]); in bta_jv_free_set_pm_profile_cb() 1341 *cb = &bta_jv_cb.rfc_cb[rfc_handle - 1]; in find_rfc_pcb()
|
H A D | bta_jv_int.h | 116 tBTA_JV_RFC_CB rfc_cb[BTA_JV_MAX_RFC_CONN]; member
|
/aosp12/system/bt/internal_include/ |
H A D | bt_trace.h | 355 if (rfc_cb.trace_level >= BT_TRACE_LEVEL_ERROR) \ 360 if (rfc_cb.trace_level >= BT_TRACE_LEVEL_WARNING) \ 365 if (rfc_cb.trace_level >= BT_TRACE_LEVEL_API) \ 370 if (rfc_cb.trace_level >= BT_TRACE_LEVEL_EVENT) \ 375 if (rfc_cb.trace_level >= BT_TRACE_LEVEL_DEBUG) \
|
/aosp12/system/bt/stack/test/rfcomm/ |
H A D | stack_rfcomm_test.cc | 458 rfc_cb.trace_level = BT_TRACE_LEVEL_DEBUG; in SetUp()
|