Home
last modified time | relevance | path

Searched refs:sec_state (Results 1 – 5 of 5) sorted by relevance

/system/bt/stack/btm/
Dsecurity_device_record.h312 uint8_t sec_state; /* Operating state */ member
314 return sec_state == BTM_SEC_STATE_IDLE; in is_security_state_idle()
317 return sec_state == BTM_SEC_STATE_AUTHENTICATING; in is_security_state_authenticating()
320 return sec_state == BTM_SEC_STATE_ENCRYPTING; in is_security_state_encrypting()
323 return sec_state == BTM_SEC_STATE_GETTING_NAME; in is_security_state_getting_name()
326 return sec_state == BTM_SEC_STATE_AUTHORIZING; in is_security_state_authorizing()
329 return sec_state == BTM_SEC_STATE_SWITCHING_ROLE; in is_security_state_switching_role()
332 return sec_state == BTM_SEC_STATE_DISCONNECTING; in is_security_state_disconnecting()
335 return sec_state == BTM_SEC_STATE_DELAY_FOR_ENC; in is_security_state_wait_for_encryption()
338 return sec_state == BTM_SEC_STATE_DISCONNECTING_BLE; in is_security_state_ble_disconnecting()
[all …]
Dbtm_sec.cc794 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()
[all …]
Dbtm_ble.cc1303 if (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING || in btm_ble_link_sec_check()
1304 p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) { in btm_ble_link_sec_check()
1410 p_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_ble_set_encryption()
1465 if (p_rec->sec_state == BTM_SEC_STATE_ENCRYPTING) { in btm_ble_start_encrypt()
1482 if (p_rec->sec_state == BTM_SEC_STATE_IDLE) in btm_ble_start_encrypt()
1483 p_rec->sec_state = BTM_SEC_STATE_ENCRYPTING; in btm_ble_start_encrypt()
1511 enc_cback = (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING); in btm_ble_link_encrypted()
1520 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_ble_link_encrypted()
1767 p_dev_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_proc_smp_cback()
1813 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_proc_smp_cback()
[all …]
Dbtm_dev.cc180 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in BTM_SecClearSecurityFlags()
Dbtm_devctl.cc165 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in set_sec_state_idle()