Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_link.cc100 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
110 if ((p_lcb->link_state == LST_CONNECTING) || in l2c_link_hci_conn_req()
111 (p_lcb->link_state == LST_CONNECT_HOLDING)) { in l2c_link_hci_conn_req()
121 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
123 } else if (p_lcb->link_state == LST_DISCONNECTING) { in l2c_link_hci_conn_req()
129 p_lcb->link_state); in l2c_link_hci_conn_req()
170 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_comp()
173 if (p_lcb->link_state != LST_CONNECTING) { in l2c_link_hci_conn_comp()
175 p_lcb->link_state, status); in l2c_link_hci_conn_comp()
187 p_lcb->link_state = LST_CONNECTED; in l2c_link_hci_conn_comp()
[all …]
Dl2c_api.cc139 if ((p_ccb == NULL) || (p_lcb->link_state == LST_DISCONNECTING)) { in L2CA_Deregister()
366 if (p_lcb->link_state == LST_CONNECTED) { in L2CA_ErtmConnectReq()
368 } else if (p_lcb->link_state == LST_DISCONNECTING) { in L2CA_ErtmConnectReq()
481 if ((p_ccb == NULL) || (p_lcb->link_state == LST_DISCONNECTING)) continue; in L2CA_DeregisterLECoc()
560 if (p_lcb->link_state == LST_CONNECTED) { in L2CA_ConnectLECocReq()
573 else if (p_lcb->link_state == LST_DISCONNECTING) { in L2CA_ConnectLECocReq()
998 if (p_lcb->link_state == LST_DISCONNECTING) { in L2CA_Ping()
1006 if (p_lcb->link_state == LST_CONNECTED) { in L2CA_Ping()
1051 if (p_lcb->link_state != LST_CONNECTED) { in L2CA_Echo()
1113 if ((p_lcb) && (p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTED)) in L2CA_SetIdleTimeout()
[all …]
Dl2c_ble.cc63 if (p_lcb != NULL && p_lcb->link_state == LST_CONNECTING) { in L2CA_CancelBleConnectReq()
238 if (p_lcb != NULL && p_acl != NULL && p_lcb->link_state != LST_CONNECTED) { in l2cble_notify_le_connection()
242 p_lcb->link_state = LST_CONNECTED; in l2cble_notify_le_connection()
291 } else if (role == HCI_ROLE_MASTER && p_lcb->link_state != LST_CONNECTING) { in l2cble_conn_comp()
293 << +p_lcb->link_state; in l2cble_conn_comp()
329 p_lcb->link_state = LST_CONNECTED; in l2cble_conn_comp()
767 p_lcb->link_state = LST_CONNECTING; in l2cble_create_conn()
905 if ((p_lcb->link_state == LST_CONNECTED) && in l2c_ble_link_adjust_allocation()
Dl2c_utils.cc82 p_lcb->link_state = LST_DISCONNECTED; in l2cu_allocate_lcb()
184 if ((p_lcb->link_state == LST_CONNECTED) || in l2cu_release_lcb()
185 (p_lcb->link_state == LST_DISCONNECTING)) in l2cu_release_lcb()
1534 if ((p_lcb->link_state == LST_CONNECTED) || in l2cu_start_post_bond_timer()
1535 (p_lcb->link_state == LST_CONNECTING) || in l2cu_start_post_bond_timer()
1536 (p_lcb->link_state == LST_DISCONNECTING)) { in l2cu_start_post_bond_timer()
1541 p_lcb->link_state = LST_DISCONNECTING; in l2cu_start_post_bond_timer()
1623 if (p_lcb->link_state == LST_CONNECTED) { in l2cu_release_ccb()
1636 } else if (p_lcb->link_state == LST_CONNECTING) { in l2cu_release_ccb()
2165 p_lcb->link_state = LST_CONNECTING_WAIT_SWITCH; in l2cu_create_conn_br_edr()
[all …]
Dl2c_main.cc141 p_lcb->link_state != LST_DISCONNECTING) { in l2c_rcv_acl_data()
194 if (!p_lcb || p_lcb->link_state == LST_DISCONNECTING || in l2c_rcv_acl_data()
Dl2c_int.h387 tL2C_LINK_STATE link_state; member
/system/nfc/src/nfc/llcp/
Dllcp_link.cc218 llcp_cb.lcb.link_state = LLCP_LINK_STATE_ACTIVATION_FAILED; in llcp_link_activate()
251 llcp_cb.lcb.link_state = LLCP_LINK_STATE_ACTIVATION_FAILED; in llcp_link_activate()
302 llcp_cb.lcb.link_state = LLCP_LINK_STATE_ACTIVATED; in llcp_link_activate()
333 llcp_cb.lcb.link_state = LLCP_LINK_STATE_DEACTIVATED; in llcp_deactivate_cleanup()
354 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) { in llcp_link_process_link_timeout()
376 } else if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_DEACTIVATING) { in llcp_link_process_link_timeout()
457 llcp_cb.lcb.link_state = LLCP_LINK_STATE_DEACTIVATING; in llcp_link_deactivate()
881 llcp_cb.lcb.link_state == LLCP_LINK_STATE_DEACTIVATING)) { in llcp_link_check_send_data()
912 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) { in llcp_link_check_send_data()
932 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_DEACTIVATING) { in llcp_link_check_send_data()
[all …]
Dllcp_api.cc307 << StringPrintf("link_state = %d", llcp_cb.lcb.link_state); in LLCP_ActivateLink()
309 if ((llcp_cb.lcb.link_state == LLCP_LINK_STATE_DEACTIVATED) && in LLCP_ActivateLink()
332 << StringPrintf("link_state = %d", llcp_cb.lcb.link_state); in LLCP_DeactivateLink()
334 if (llcp_cb.lcb.link_state != LLCP_LINK_STATE_DEACTIVATED) { in LLCP_DeactivateLink()
606 if ((llcp_cb.lcb.link_state != LLCP_LINK_STATE_ACTIVATED) || in LLCP_IsLogicalLinkCongested()
652 } else if (llcp_cb.lcb.link_state != LLCP_LINK_STATE_ACTIVATED) { in LLCP_SendUI()
1373 "WKS:0x%04x", (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteWKS()
1377 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteWKS()
1395 "LSC:0x%x", (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteLSC()
1399 if (llcp_cb.lcb.link_state == LLCP_LINK_STATE_ACTIVATED) in LLCP_GetRemoteLSC()
[all …]
/system/nfc/src/nfc/include/
Dllcp_int.h58 tLLCP_LINK_STATE link_state; /* llcp link state */ member
/system/bt/stack/btm/
Dbtm_sec.cc2787 if (p_lcb && (p_lcb->link_state == LST_CONNECTED || in btm_sec_dd_create_conn()
2788 p_lcb->link_state == LST_CONNECTING)) { in btm_sec_dd_create_conn()