Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_link.cc101 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
111 if ((p_lcb->link_state == LST_CONNECTING) || in l2c_link_hci_conn_req()
112 (p_lcb->link_state == LST_CONNECT_HOLDING)) { in l2c_link_hci_conn_req()
122 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
124 } else if (p_lcb->link_state == LST_DISCONNECTING) { in l2c_link_hci_conn_req()
130 p_lcb->link_state); in l2c_link_hci_conn_req()
171 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_comp()
174 if ((p_lcb->link_state == LST_CONNECTED) && in l2c_link_hci_conn_comp()
179 } else if (p_lcb->link_state != LST_CONNECTING) { in l2c_link_hci_conn_comp()
181 p_lcb->link_state, status); in l2c_link_hci_conn_comp()
[all …]
Dl2c_api.cc151 if ((p_ccb == NULL) || (p_lcb->link_state == LST_DISCONNECTING)) { in L2CA_Deregister()
398 if (p_lcb->link_state == LST_CONNECTED) { in L2CA_ErtmConnectReq()
400 } else if (p_lcb->link_state == LST_DISCONNECTING) { in L2CA_ErtmConnectReq()
521 if ((p_ccb == NULL) || (p_lcb->link_state == LST_DISCONNECTING)) continue; in L2CA_DeregisterLECoc()
604 if (p_lcb->link_state == LST_CONNECTED) { in L2CA_ConnectLECocReq()
617 else if (p_lcb->link_state == LST_DISCONNECTING) { in L2CA_ConnectLECocReq()
1049 if ((p_lcb) && (p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTED)) in L2CA_SetIdleTimeout()
1088 if ((p_lcb) && (p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTED)) { in L2CA_SetIdleTimeoutByBdAddr()
1099 if ((p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTED)) { in L2CA_SetIdleTimeoutByBdAddr()
1287 if ((p_lcb) && (p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTED)) { in L2CA_SetFlushTimeout()
[all …]
Dl2c_ble.cc64 if (p_lcb != NULL && p_lcb->link_state == LST_CONNECTING) { in L2CA_CancelBleConnectReq()
244 if (p_lcb != NULL && p_acl != NULL && p_lcb->link_state != LST_CONNECTED) { in l2cble_notify_le_connection()
248 p_lcb->link_state = LST_CONNECTED; in l2cble_notify_le_connection()
294 } else if (role == HCI_ROLE_MASTER && p_lcb->link_state != LST_CONNECTING) { in l2cble_conn_comp()
296 << +p_lcb->link_state; in l2cble_conn_comp()
332 p_lcb->link_state = LST_CONNECTED; in l2cble_conn_comp()
770 p_lcb->link_state = LST_CONNECTING; in l2cble_create_conn()
908 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()
1536 if ((p_lcb->link_state == LST_CONNECTED) || in l2cu_start_post_bond_timer()
1537 (p_lcb->link_state == LST_CONNECTING) || in l2cu_start_post_bond_timer()
1538 (p_lcb->link_state == LST_DISCONNECTING)) { in l2cu_start_post_bond_timer()
1543 p_lcb->link_state = LST_DISCONNECTING; in l2cu_start_post_bond_timer()
1625 if (p_lcb->link_state == LST_CONNECTED) { in l2cu_release_ccb()
1638 } 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.cc145 p_lcb->link_state != LST_DISCONNECTING) { in l2c_rcv_acl_data()
198 if (!p_lcb || p_lcb->link_state == LST_DISCONNECTING || in l2c_rcv_acl_data()
Dl2c_int.h386 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.cc2529 if (p_lcb && (p_lcb->link_state == LST_CONNECTED || in btm_sec_dd_create_conn()
2530 p_lcb->link_state == LST_CONNECTING)) { in btm_sec_dd_create_conn()