Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_link.c109 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
119 if ((p_lcb->link_state == LST_CONNECTING) || (p_lcb->link_state == LST_CONNECT_HOLDING)) in l2c_link_hci_conn_req()
130 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
133 else if (p_lcb->link_state == LST_DISCONNECTING) in l2c_link_hci_conn_req()
141 p_lcb->link_state); in l2c_link_hci_conn_req()
181 if (p_lcb->link_state != LST_CONNECTING) in l2c_link_hci_conn_comp()
183 …L2CAP_TRACE_ERROR ("L2CAP got conn_comp in bad state: %d status: 0x%d", p_lcb->link_state, status… in l2c_link_hci_conn_comp()
197 p_lcb->link_state = LST_CONNECTED; in l2c_link_hci_conn_comp()
250 p_lcb->link_state = LST_CONNECT_HOLDING; in l2c_link_hci_conn_comp()
256 p_lcb->link_state = LST_DISCONNECTING; in l2c_link_hci_conn_comp()
[all …]
Dl2c_api.c144 || (p_lcb->link_state == LST_DISCONNECTING)) in L2CA_Deregister()
310 if (p_lcb->link_state == LST_CONNECTED) in L2CA_ErtmConnectReq()
321 else if (p_lcb->link_state == LST_DISCONNECTING) in L2CA_ErtmConnectReq()
436 if ((p_ccb == NULL) || (p_lcb->link_state == LST_DISCONNECTING)) in L2CA_DeregisterLECoc()
519 if (p_lcb->link_state == LST_CONNECTED) in L2CA_ConnectLECocReq()
534 else if (p_lcb->link_state == LST_DISCONNECTING) in L2CA_ConnectLECocReq()
971 if (p_lcb->link_state == LST_DISCONNECTING) in L2CA_Ping()
980 if (p_lcb->link_state == LST_CONNECTED) in L2CA_Ping()
1030 if (p_lcb->link_state != LST_CONNECTED) in L2CA_Echo()
1100 if ((p_lcb) && (p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTED)) in L2CA_SetIdleTimeout()
[all …]
Dl2c_utils.c70 p_lcb->link_state = LST_DISCONNECTED; in l2cu_allocate_lcb()
203 if ((p_lcb->link_state == LST_CONNECTED) || (p_lcb->link_state == LST_DISCONNECTING)) in l2cu_release_lcb()
1642 if ((p_lcb->link_state == LST_CONNECTED) || in l2cu_start_post_bond_timer()
1643 (p_lcb->link_state == LST_CONNECTING) || in l2cu_start_post_bond_timer()
1644 (p_lcb->link_state == LST_DISCONNECTING)) { in l2cu_start_post_bond_timer()
1649 p_lcb->link_state = LST_DISCONNECTING; in l2cu_start_post_bond_timer()
1744 if ((p_lcb) && p_lcb->in_use && (p_lcb->link_state == LST_CONNECTED)) in l2cu_release_ccb()
2336 p_lcb->link_state = LST_CONNECTING_WAIT_SWITCH; in l2cu_create_conn()
2351 p_lcb->link_state = LST_CONNECTING; in l2cu_create_conn()
2418 p_lcb->link_state = LST_CONNECTING; in l2cu_create_conn_after_switch()
[all …]
Dl2c_ble.c287 if (p_lcb != NULL && p_acl != NULL && p_lcb->link_state != LST_CONNECTED) in l2cble_notify_le_connection()
292 p_lcb->link_state = LST_CONNECTED; in l2cble_notify_le_connection()
350 else if (p_lcb->link_state != LST_CONNECTING) in l2cble_scanner_conn_comp()
352 L2CAP_TRACE_ERROR ("L2CAP got BLE scanner conn_comp in bad state: %d", p_lcb->link_state); in l2cble_scanner_conn_comp()
453 p_lcb->link_state = LST_CONNECTED; in l2cble_advertiser_conn_comp()
947 p_lcb->link_state = LST_CONNECTING; in l2cble_init_direct_conn()
1131 if ( (p_lcb->link_state == LST_CONNECTED) in l2c_ble_link_adjust_allocation()
Dl2c_ucd.c367 if ((p_lcb)&&(p_lcb->link_state == LST_CONNECTED)) in L2CA_UcdDiscover()
625 if (p_lcb->link_state == LST_CONNECTED) in l2c_ucd_connect()
Dl2c_main.c141 if (p_lcb && p_lcb->transport == BT_TRANSPORT_LE && p_lcb->link_state != LST_DISCONNECTING) in l2c_rcv_acl_data()
214 (p_lcb->link_state != LST_DISCONNECTING) && in l2c_rcv_acl_data()
Dl2c_int.h380 tL2C_LINK_STATE link_state; member
/system/bt/stack/btm/
Dbtm_sec.c3002 if (p_lcb && (p_lcb->link_state == LST_CONNECTED || p_lcb->link_state == LST_CONNECTING)) in btm_sec_dd_create_conn()