/packages/modules/Bluetooth/system/stack/rfcomm/ |
D | rfc_port_fsm.cc | 86 if (p_port->rfc.state != RFC_STATE_OPENED) { in rfc_port_sm_execute() 88 p_port->handle, p_port->rfc.state, event); in rfc_port_sm_execute() 90 switch (p_port->rfc.state) { in rfc_port_sm_execute() 132 p_port->rfc.state = RFC_STATE_ORIG_WAIT_SEC_CHECK; in rfc_port_sm_state_closed() 133 btm_sec_mx_access_request(p_port->rfc.p_mcb->bd_addr, true, in rfc_port_sm_state_closed() 151 rfc_timer_stop(p_port->rfc.p_mcb); in rfc_port_sm_state_closed() 154 p_port->rfc.state = RFC_STATE_TERM_WAIT_SEC_CHECK; in rfc_port_sm_state_closed() 155 btm_sec_mx_access_request(p_port->rfc.p_mcb->bd_addr, false, in rfc_port_sm_state_closed() 170 rfc_send_dm(p_port->rfc.p_mcb, p_port->dlci, false); in rfc_port_sm_state_closed() 174 rfc_send_dm(p_port->rfc.p_mcb, p_port->dlci, false); in rfc_port_sm_state_closed() [all …]
|
D | rfc_l2cap_if.cc | 65 tL2CAP_APPL_INFO* p_l2c = &rfc_cb.rfc.reg_info; in rfcomm_l2cap_if_init() 77 if (!L2CA_Register(BT_PSM_RFCOMM, rfc_cb.rfc.reg_info, in rfcomm_l2cap_if_init() 273 tRFC_EVENT event = rfc_parse_data(p_mcb, &rfc_cb.rfc.rx_frame, p_buf); in RFCOMM_BufDataInd() 283 if (rfc_cb.rfc.rx_frame.dlci == RFCOMM_MX_DLCI) { in RFCOMM_BufDataInd() 299 tPORT* p_port = port_find_mcb_dlci_port(p_mcb, rfc_cb.rfc.rx_frame.dlci); in RFCOMM_BufDataInd() 300 if (p_port == nullptr || !p_port->rfc.p_mcb) { in RFCOMM_BufDataInd() 305 if ((p_mcb->is_initiator && !rfc_cb.rfc.rx_frame.cr) || in RFCOMM_BufDataInd() 306 (!p_mcb->is_initiator && rfc_cb.rfc.rx_frame.cr)) { in RFCOMM_BufDataInd() 309 rfc_send_dm(p_mcb, rfc_cb.rfc.rx_frame.dlci, rfc_cb.rfc.rx_frame.pf); in RFCOMM_BufDataInd() 315 p_port = port_find_dlci_port(rfc_cb.rfc.rx_frame.dlci); in RFCOMM_BufDataInd() [all …]
|
D | port_utils.cc | 69 uint8_t port_index = rfc_cb.rfc.last_port_index + static_cast<uint8_t>(1); in port_allocate_port() 85 p_port->rfc.port_timer = alarm_new("rfcomm_port.port_timer"); in port_allocate_port() 88 rfc_cb.rfc.last_port_index = port_index; in port_allocate_port() 91 port_index, fmt::ptr(p_port), rfc_cb.rfc.last_port_index, bd_addr); in port_allocate_port() 205 p_port->rfc.state, p_port->keep_port_handle); in port_release_port() 222 alarm_cancel(p_port->rfc.port_timer); in port_release_port() 226 if (p_port->rfc.state == RFC_STATE_CLOSED) { in port_release_port() 227 if (p_port->rfc.p_mcb) { in port_release_port() 228 p_port->rfc.p_mcb->port_handles[p_port->dlci] = 0; in port_release_port() 231 rfc_check_mcb_active(p_port->rfc.p_mcb); in port_release_port() [all …]
|
D | rfc_utils.cc | 159 for (i = 0, j = rfc_cb.rfc.last_mux + 1; i < MAX_BD_CONNECTIONS; i++, j++) { in rfc_alloc_multiplexer_channel() 181 rfc_cb.rfc.last_mux = (uint8_t)j; in rfc_alloc_multiplexer_channel() 201 if (rfc_cb.port.port[i].rfc.p_mcb == p_mcb) in rfc_release_multiplexer_channel() 202 rfc_cb.port.port[i].rfc.p_mcb = NULL; in rfc_release_multiplexer_channel() 253 alarm_set_on_mloop(p_port->rfc.port_timer, interval_ms, in rfc_port_timer_start() 267 alarm_cancel(p_port->rfc.port_timer); in rfc_port_timer_stop() 329 ((p_port->rfc.state != RFC_STATE_ORIG_WAIT_SEC_CHECK) && in rfc_sec_check_complete() 330 (p_port->rfc.state != RFC_STATE_TERM_WAIT_SEC_CHECK))) in rfc_sec_check_complete() 348 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in rfc_port_closed() 350 p_port->rfc.state = RFC_STATE_CLOSED; in rfc_port_closed() [all …]
|
D | port_api.cc | 150 static_cast<int>(p_port->rfc.state), in RFCOMM_CreateConnectionWithSecurity() 151 p_port->rfc.p_mcb ? p_port->rfc.p_mcb->state : 0, bd_addr, scn, in RFCOMM_CreateConnectionWithSecurity() 318 (p_port->rfc.p_mcb) ? (p_port->rfc.p_mcb->bd_addr) : (RawAddress::kEmpty); in RFCOMM_RemoveConnection() 358 (p_port->rfc.p_mcb) ? (p_port->rfc.p_mcb->bd_addr) : (RawAddress::kEmpty); in RFCOMM_RemoveServer() 466 handle, p_port->in_use, p_port->state, fmt::ptr(p_port->rfc.p_mcb), in PORT_CheckConnection() 467 p_port->rfc.p_mcb ? p_port->rfc.p_mcb->peer_ready : -1, in PORT_CheckConnection() 468 p_port->rfc.state); in PORT_CheckConnection() 474 if (!p_port->rfc.p_mcb || !p_port->rfc.p_mcb->peer_ready || in PORT_CheckConnection() 475 (p_port->rfc.state != RFC_STATE_OPENED)) { in PORT_CheckConnection() 479 *bd_addr = p_port->rfc.p_mcb->bd_addr; in PORT_CheckConnection() [all …]
|
D | port_rfc.cc | 78 p_port->rfc.p_mcb = p_mcb; in port_open_continue() 121 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in port_start_control() 137 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in port_start_par_neg() 154 tRFC_MCB* p_mcb = p_port->rfc.p_mcb; in port_start_close() 177 if ((p_mcb == NULL) || (p_port->rfc.state == RFC_STATE_CLOSED)) { in port_start_close() 210 if (p_port->rfc.p_mcb == p_mcb) { in PORT_StartCnf() 263 if ((p_port->rfc.p_mcb == NULL) || (p_port->rfc.p_mcb == p_mcb)) { in PORT_StartInd() 311 p_port->rfc.p_mcb = p_mcb; in PORT_ParNegInd() 508 RFCOMM_PortParameterNegotiationRequest(p_port->rfc.p_mcb, p_port->dlci, in PORT_DlcEstablishCnf() 511 RFCOMM_ControlReq(p_port->rfc.p_mcb, p_port->dlci, &p_port->local_ctrl); in PORT_DlcEstablishCnf() [all …]
|
D | rfc_port_if.cc | 165 p_port->rfc.expected_rsp |= RFC_RSP_PN; in RFCOMM_ParameterNegotiationRequest() 214 p_port->rfc.expected_rsp |= RFC_RSP_RPN_REPLY; in RFCOMM_PortParameterNegotiationRequest() 216 p_port->rfc.expected_rsp |= RFC_RSP_RPN; in RFCOMM_PortParameterNegotiationRequest() 254 (p_port->rfc.state != RFC_STATE_OPENED)) in RFCOMM_ControlReq() 259 p_port->rfc.expected_rsp |= RFC_RSP_MSC; in RFCOMM_ControlReq() 282 (p_port->rfc.state != RFC_STATE_OPENED)) in RFCOMM_FlowReq() 287 p_port->rfc.expected_rsp |= RFC_RSP_MSC; in RFCOMM_FlowReq() 309 (p_port->rfc.state != RFC_STATE_OPENED)) in RFCOMM_LineStatusReq() 312 p_port->rfc.expected_rsp |= RFC_RSP_RLS; in RFCOMM_LineStatusReq()
|
D | rfc_ts_frames.cc | 240 *p_data++ = rfc_cb.rfc.rx_frame.u.pn.priority; in rfc_send_pn() 391 *p_data++ = rfc_cb.rfc.rx_frame.ea | in rfc_send_nsc() 392 (rfc_cb.rfc.rx_frame.cr << RFCOMM_SHIFT_CR) | in rfc_send_nsc() 393 rfc_cb.rfc.rx_frame.type; in rfc_send_nsc() 643 MX_FRAME* p_rx_frame = &rfc_cb.rfc.rx_frame; in rfc_process_mx_message()
|
D | port_int.h | 194 tRFC_PORT rfc; /* RFCOMM port control block */
|
D | rfc_int.h | 169 tRFCOMM_CB rfc; member
|
/packages/modules/Bluetooth/system/osi/src/ |
D | stack_power_telemetry.cc | 188 } l2c, rfc; member 225 if ((rfc.rx.bytes_ != 0) || (rfc.tx.bytes_ != 0)) { in LogDataTransfer() 229 .bytes = rfc.rx.bytes_, in LogDataTransfer() 233 .bytes = rfc.tx.bytes_, in LogDataTransfer() 236 rfc = {}; in LogDataTransfer() 605 pimpl_->rfc.tx.bytes_ += num_bytes; in LogTxBytes() 640 pimpl_->rfc.rx.bytes_ += num_bytes; in LogRxBytes()
|
/packages/modules/Bluetooth/system/osi/test/ |
D | stack_power_telemetry_test.cc | 267 ASSERT_EQ(10, (int)power_telemetry::GetInstance().pimpl_->rfc.tx.bytes_); in TEST_F() 277 ASSERT_EQ(10, (int)power_telemetry::GetInstance().pimpl_->rfc.rx.bytes_); in TEST_F() 305 ASSERT_EQ(0, (int)power_telemetry::GetInstance().pimpl_->rfc.rx.bytes_); in TEST_F() 308 ASSERT_EQ(0, (int)power_telemetry::GetInstance().pimpl_->rfc.tx.bytes_); in TEST_F()
|
/packages/modules/Bluetooth/system/bta/ag/ |
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_rfc.cc | 157 data.rfc.port_handle = port_handle; in bta_ag_mgmt_cback()
|
D | bta_ag_int.h | 191 tBTA_AG_RFC rfc; member
|
/packages/modules/Bluetooth/system/bta/hf_client/ |
D | bta_hf_client_int.h | 149 tBTA_HF_CLIENT_RFC rfc; member
|
/packages/modules/Bluetooth/system/gd/rust/linux/docs/ |
D | glossary.md | 96 common aliases: RFCOMM, rfc[^1]
|
D | style_guide.md | 22 be shortened to `rfc`)
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
D | navigation_state.proto | 629 // [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
|