Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_sec.cc871 p_dev_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_sec_bond_by_transport()
947 p_dev_rec->sec_state); in btm_sec_bond_by_transport()
1032 if (p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) { in BTM_SecBondCancel()
1042 p_dev_rec->sec_state); in BTM_SecBondCancel()
1056 if ((p_dev_rec->sec_state == BTM_SEC_STATE_DISCONNECTING) || in BTM_SecBondCancel()
1057 (p_dev_rec->sec_state == BTM_SEC_STATE_DISCONNECTING_BOTH)) in BTM_SecBondCancel()
1174 if (p_dev_rec->p_callback || (p_dev_rec->sec_state != BTM_SEC_STATE_IDLE)) { in BTM_SetEncryption()
1197 p_dev_rec->hci_handle, p_dev_rec->sec_state, p_dev_rec->sec_flags, in BTM_SetEncryption()
1234 uint8_t old_state = p_dev_rec->sec_state; in btm_sec_send_hci_disconnect()
1245 p_dev_rec->sec_state = BTM_SEC_STATE_DISCONNECTING_BOTH; in btm_sec_send_hci_disconnect()
[all …]
Dbtm_ble.cc1464 if (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING || in btm_ble_link_sec_check()
1465 p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) { in btm_ble_link_sec_check()
1571 p_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_ble_set_encryption()
1626 if (p_rec->sec_state == BTM_SEC_STATE_ENCRYPTING) { in btm_ble_start_encrypt()
1643 if (p_rec->sec_state == BTM_SEC_STATE_IDLE) in btm_ble_start_encrypt()
1644 p_rec->sec_state = BTM_SEC_STATE_ENCRYPTING; in btm_ble_start_encrypt()
1672 enc_cback = (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING); in btm_ble_link_encrypted()
1681 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_ble_link_encrypted()
1941 p_dev_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_proc_smp_cback()
1986 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_proc_smp_cback()
[all …]
Dbtm_dev.cc209 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in BTM_SecClearSecurityFlags()
Dbtm_int_types.h503 uint8_t sec_state; /* Operating state */ member
Dbtm_devctl.cc170 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in set_sec_state_idle()
Dbtm_acl.cc2344 p_dev_rec->sec_state != BTM_SEC_STATE_DISCONNECTING) { in btm_remove_acl()
/system/bt/bta/hearing_aid/
Dhearing_aid.cc406 if (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING || in OnGattConnected()
407 p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) { in OnGattConnected()
/system/bt/bta/hh/
Dbta_hh_le.cc1085 if (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING || in bta_hh_start_security()
1086 p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) { in bta_hh_start_security()