• Home
  • Raw
  • Download

Lines Matching refs:sec_state

794       p_dev_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING;  in btm_sec_bond_by_transport()
861 p_dev_rec->sec_state); in btm_sec_bond_by_transport()
942 if (p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) { in BTM_SecBondCancel()
952 p_dev_rec->sec_state); in BTM_SecBondCancel()
966 if ((p_dev_rec->sec_state == BTM_SEC_STATE_DISCONNECTING) || in BTM_SecBondCancel()
967 (p_dev_rec->sec_state == BTM_SEC_STATE_DISCONNECTING_BOTH)) in BTM_SecBondCancel()
1084 if (p_dev_rec->p_callback || (p_dev_rec->sec_state != BTM_SEC_STATE_IDLE)) { in BTM_SetEncryption()
1107 p_dev_rec->hci_handle, p_dev_rec->sec_state, p_dev_rec->sec_flags, in BTM_SetEncryption()
1140 return p_dev_rec && (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING || in BTM_SecIsSecurityPending()
1141 p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING); in BTM_SecIsSecurityPending()
1151 static_cast<tSECURITY_STATE>(p_dev_rec->sec_state); in btm_sec_send_hci_disconnect()
1162 p_dev_rec->sec_state = BTM_SEC_STATE_DISCONNECTING_BOTH; in btm_sec_send_hci_disconnect()
1171 p_dev_rec->sec_state = BTM_SEC_STATE_DISCONNECTING_BOTH; in btm_sec_send_hci_disconnect()
1179 p_dev_rec->sec_state = (conn_handle == p_dev_rec->hci_handle) in btm_sec_send_hci_disconnect()
1645 p_dev_rec->sec_state = BTM_SEC_STATE_DELAY_FOR_ENC; in btm_sec_l2cap_access_req_by_requirement()
1830 if (p_dev_rec->sec_state != BTM_SEC_STATE_IDLE) { in btm_sec_mx_access_request()
2132 if ((p_dev_rec->sec_state != BTM_SEC_STATE_AUTHORIZING) && in btm_sec_abort_access_req()
2133 (p_dev_rec->sec_state != BTM_SEC_STATE_AUTHENTICATING)) in btm_sec_abort_access_req()
2136 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_sec_abort_access_req()
2175 if (p_dev_rec->sec_state == BTM_SEC_STATE_GETTING_NAME) { in is_state_getting_name()
2229 p_dev_rec->sec_state, p_dev_rec); in btm_sec_rmt_name_request_complete()
2237 old_sec_state = p_dev_rec->sec_state; in btm_sec_rmt_name_request_complete()
2250 if (p_dev_rec->sec_state == BTM_SEC_STATE_GETTING_NAME) in btm_sec_rmt_name_request_complete()
2251 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_sec_rmt_name_request_complete()
2854 btm_pair_state_descr(btm_cb.pairing_state), status, p_dev_rec->sec_state); in btm_simple_pair_complete()
2869 if (p_dev_rec->sec_state != BTM_SEC_STATE_AUTHENTICATING) { in btm_simple_pair_complete()
2988 p_dev_rec->sec_state); in btm_sec_auth_collision()
2990 if (p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING || in btm_sec_auth_collision()
2991 p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING) in btm_sec_auth_collision()
2992 p_dev_rec->sec_state = 0; in btm_sec_auth_collision()
3037 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_sec_auth_retry()
3055 << "dev->sec_state:" << p_dev_rec->sec_state in btm_sec_auth_complete()
3090 if (p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) { in btm_sec_auth_complete()
3091 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_sec_auth_complete()
3216 status, (p_dev_rec) ? p_dev_rec->sec_state : 0, encr_enable); in btm_sec_encrypt_change()
3323 if (p_dev_rec->sec_state != BTM_SEC_STATE_ENCRYPTING) { in btm_sec_encrypt_change()
3324 if (BTM_SEC_STATE_DELAY_FOR_ENC == p_dev_rec->sec_state) { in btm_sec_encrypt_change()
3325 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_sec_encrypt_change()
3334 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_sec_encrypt_change()
3784 if (p_dev_rec->sec_state == BTM_SEC_STATE_DISCONNECTING_BOTH) { in btm_sec_disconnected()
3787 p_dev_rec->sec_state = (transport == BT_TRANSPORT_LE) in btm_sec_disconnected()
3792 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_sec_disconnected()
4259 security_state_text(static_cast<tSECURITY_STATE>(p_dev_rec->sec_state)) in btm_sec_execute_procedure()
4261 p_dev_rec->sec_state); in btm_sec_execute_procedure()
4263 if (p_dev_rec->sec_state != BTM_SEC_STATE_IDLE) { in btm_sec_execute_procedure()
4342 p_dev_rec->sec_state = BTM_SEC_STATE_ENCRYPTING; in btm_sec_execute_procedure()
4378 p_dev_rec->sec_state = BTM_SEC_STATE_GETTING_NAME; in btm_sec_start_get_name()
4394 p_dev_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_sec_start_authentication()
4493 if (p_dev_rec->sec_state == *state) return false; in is_sec_state_equal()