Home
last modified time | relevance | path

Searched refs:chnl_state (Results 1 – 8 of 8) sorted by relevance

/system/bt/stack/l2cap/
Dl2c_csm.cc97 if (p_ccb->chnl_state == CST_OPEN && !p_ccb->p_lcb->is_transport_ble()) { in l2c_csm_indicate_connection_open()
119 channel_state_text(p_ccb->chnl_state).c_str(), p_ccb->chnl_state, in l2c_csm_execute()
122 switch (p_ccb->chnl_state) { in l2c_csm_execute()
160 LOG_ERROR("Unhandled state %d, event %d", p_ccb->chnl_state, event); in l2c_csm_execute()
202 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
206 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
225 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
237 p_ccb->chnl_state = CST_ORIG_W4_SEC_COMP; in l2c_csm_closed()
243 p_ccb->chnl_state = CST_W4_L2CAP_CONNECT_RSP; in l2c_csm_closed()
274 p_ccb->chnl_state = CST_TERM_W4_SEC_COMP; in l2c_csm_closed()
[all …]
Dl2c_api.cc181 ((p_ccb->chnl_state == CST_W4_L2CAP_DISCONNECT_RSP) || in L2CA_Deregister()
182 (p_ccb->chnl_state == CST_W4_L2CA_DISCONNECT_RSP))) { in L2CA_Deregister()
473 if (p_ccb->in_use && (p_ccb->chnl_state == CST_W4_L2CAP_DISCONNECT_RSP || in L2CA_DeregisterLECoc()
474 p_ccb->chnl_state == CST_W4_L2CA_DISCONNECT_RSP)) in L2CA_DeregisterLECoc()
777 p_ccb->chnl_state = CST_W4_L2CAP_CONNECT_RSP; in L2CA_ConnectCreditBasedReq()
Dl2c_fcr.cc393 if ((!p_ccb->in_use) || (p_ccb->chnl_state != CST_OPEN)) return; in l2c_fcr_send_S_frame()
607 if ((!p_ccb->in_use) || (p_ccb->chnl_state != CST_OPEN)) return; in l2c_fcr_proc_pdu()
617 if (p_ccb->in_use && (p_ccb->chnl_state == CST_OPEN)) { in l2c_fcr_proc_pdu()
808 p_ccb->local_cid, p_ccb->chnl_state, p_ccb->fcrb.wait_ack, in l2c_fcr_proc_ack_tout()
811 if ((p_ccb->chnl_state == CST_OPEN) && (!p_ccb->fcrb.wait_ack) && in l2c_fcr_proc_ack_tout()
1126 if ((num_to_ack != 0) && p_ccb->in_use && (p_ccb->chnl_state == CST_OPEN)) { in process_i_frame()
Dl2c_link.cc558 if ((p_ccb->chnl_state == CST_ORIG_W4_SEC_COMP) || in l2c_info_resp_timer_timeout()
559 (p_ccb->chnl_state == CST_TERM_W4_SEC_COMP)) { in l2c_info_resp_timer_timeout()
1421 if (p_ccb->chnl_state != CST_OPEN) continue; in l2cu_get_next_channel_in_rr()
Dl2c_main.cc237 if ((p_ccb->chnl_state == CST_OPEN) || (p_ccb->chnl_state == CST_CONFIG)) in l2c_rcv_acl_data()
Dl2c_utils.cc1456 p_ccb->chnl_state = CST_CLOSED; in l2cu_allocate_ccb()
2192 ((p_ccb->chnl_state == CST_W4_L2CAP_DISCONNECT_RSP) || in l2cu_lcb_disconnecting()
2193 (p_ccb->chnl_state == CST_W4_L2CA_DISCONNECT_RSP))) { in l2cu_lcb_disconnecting()
2434 if (p_lcb->link_state == LST_CONNECTED) p_ccb->chnl_state = CST_OPEN; in l2cu_initialize_fixed_ccb()
2549 p_lcb->p_fixed_ccbs[xx]->chnl_state = CST_OPEN; in l2cu_process_fixed_chnl_resp()
Dl2c_int.h289 tL2C_CHNL_STATE chnl_state; /* Channel state */ member
Dl2c_ble.cc204 if (p_ccb->chnl_state == CST_CLOSED) in l2cble_notify_le_connection()