Home
last modified time | relevance | path

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

/system/bt/stack/l2cap/
Dl2c_link.cc109 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
119 if ((p_lcb->link_state == LST_CONNECTING) || in l2c_link_hci_conn_req()
120 (p_lcb->link_state == LST_CONNECT_HOLDING)) { in l2c_link_hci_conn_req()
128 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_req()
129 } else if (p_lcb->link_state == LST_DISCONNECTING) { in l2c_link_hci_conn_req()
133 p_lcb->link_state); in l2c_link_hci_conn_req()
162 link_state_text(p_lcb->link_state).c_str()); in l2c_link_hci_conn_comp()
163 p_lcb->link_state = LST_CONNECTING; in l2c_link_hci_conn_comp()
166 if ((p_lcb->link_state == LST_CONNECTED) && in l2c_link_hci_conn_comp()
170 } else if (p_lcb->link_state != LST_CONNECTING) { in l2c_link_hci_conn_comp()
[all …]
Dl2c_api.cc176 if ((p_ccb == NULL) || (p_lcb->link_state == LST_DISCONNECTING)) { in L2CA_Deregister()
343 if (p_lcb->link_state == LST_CONNECTED) { in L2CA_ConnectReq()
345 } else if (p_lcb->link_state == LST_DISCONNECTING) { in L2CA_ConnectReq()
471 if ((p_ccb == NULL) || (p_lcb->link_state == LST_DISCONNECTING)) continue; in L2CA_DeregisterLECoc()
558 if (p_lcb->link_state == LST_CONNECTED) { in L2CA_ConnectLECocReq()
571 else if (p_lcb->link_state == LST_DISCONNECTING) { in L2CA_ConnectLECocReq()
742 if (p_lcb->link_state != LST_CONNECTED) { in L2CA_ConnectCreditBasedReq()
744 p_lcb->link_state); in L2CA_ConnectCreditBasedReq()
953 if ((p_lcb) && (p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTED)) { in L2CA_SetIdleTimeoutByBdAddr()
964 if ((p_lcb->in_use) && (p_lcb->link_state == LST_CONNECTED)) { in L2CA_SetIdleTimeoutByBdAddr()
[all …]
Dl2c_utils.cc70 p_lcb->link_state = LST_DISCONNECTED; in l2cu_allocate_lcb()
187 if ((p_lcb->link_state == LST_CONNECTED) || in l2cu_release_lcb()
188 (p_lcb->link_state == LST_DISCONNECTING)) in l2cu_release_lcb()
1500 if ((p_lcb->link_state == LST_CONNECTED) || in l2cu_start_post_bond_timer()
1501 (p_lcb->link_state == LST_CONNECTING) || in l2cu_start_post_bond_timer()
1502 (p_lcb->link_state == LST_DISCONNECTING)) { in l2cu_start_post_bond_timer()
1507 p_lcb->link_state = LST_DISCONNECTING; in l2cu_start_post_bond_timer()
1581 if (p_lcb->link_state == LST_CONNECTED) { in l2cu_release_ccb()
1594 } else if (p_lcb->link_state == LST_CONNECTING) { in l2cu_release_ccb()
2077 p_lcb->link_state = LST_CONNECTING_WAIT_SWITCH; in l2cu_create_conn_br_edr()
[all …]
Dl2c_ble.cc192 p_lcb->link_state != LST_CONNECTED) { in l2cble_notify_le_connection()
197 p_lcb->link_state = LST_CONNECTED; in l2cble_notify_le_connection()
232 } else if (role == HCI_ROLE_CENTRAL && p_lcb->link_state != LST_CONNECTING) { in l2cble_conn_comp()
268 p_lcb->link_state = LST_CONNECTED; in l2cble_conn_comp()
1058 p_lcb->link_state = LST_CONNECTING; in l2cble_create_conn()
1201 if ((p_lcb->link_state == LST_CONNECTED) && in l2c_ble_link_adjust_allocation()
Dl2c_main.cc142 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.h428 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/main/shim/
Dacl.cc899 LOG_DUMPSYS(fd, "link_state:%s", link_state_text(lcb.link_state).c_str()); in DumpsysL2cap()