Searched refs:sec_state (Results 1 – 6 of 6) sorted by relevance
/external/bluetooth/bluedroid/stack/btm/ |
D | btm_sec.c | 1111 … res, (p_dev_rec) ? p_dev_rec->sec_state : 0, trusted_mask[0], trusted_mask[1]); in BTM_DeviceAuthorized() 1131 if (p_dev_rec->sec_state != BTM_SEC_STATE_AUTHORIZING) in BTM_DeviceAuthorized() 1134 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in BTM_DeviceAuthorized() 1231 p_dev_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_sec_bond_by_transport() 1312 btm_pair_state_descr (btm_cb.pairing_state), p_dev_rec->sm4, p_dev_rec->sec_state); in btm_sec_bond_by_transport() 1410 if (p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) in BTM_SecBondCancel() 1422 BTM_TRACE_DEBUG ("hci_handle:0x%x sec_state:%d", p_dev_rec->hci_handle, p_dev_rec->sec_state ); in BTM_SecBondCancel() 1439 if (p_dev_rec->sec_state == BTM_SEC_STATE_DISCONNECTING) in BTM_SecBondCancel() 1618 p_dev_rec->hci_handle, p_dev_rec->sec_state, p_dev_rec->sec_flags, in BTM_SetEncryption() 1647 UINT8 old_state = p_dev_rec->sec_state; in btm_sec_send_hci_disconnect() [all …]
|
D | btm_ble.c | 1063 if (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING || in btm_ble_link_sec_check() 1064 p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) in btm_ble_link_sec_check() 1164 if(p_rec->sec_state == BTM_SEC_STATE_ENCRYPTING) { in btm_ble_set_encryption() 1172 p_rec->sec_state = BTM_SEC_STATE_ENCRYPTING; in btm_ble_set_encryption() 1186 p_rec->sec_state = BTM_SEC_STATE_AUTHENTICATING; in btm_ble_set_encryption() 1253 if (p_rec->sec_state == BTM_SEC_STATE_ENCRYPTING) in btm_ble_start_encrypt() 1278 if (p_rec->sec_state == BTM_SEC_STATE_IDLE) in btm_ble_start_encrypt() 1279 p_rec->sec_state = BTM_SEC_STATE_ENCRYPTING; in btm_ble_start_encrypt() 1307 enc_cback = (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING); in btm_ble_link_encrypted() 1316 p_dev_rec->sec_state = BTM_SEC_STATE_IDLE; in btm_ble_link_encrypted() [all …]
|
D | btm_int.h | 578 UINT8 sec_state; /* Operating state */ member
|
D | btm_devctl.c | 646 btm_cb.sec_dev_rec[devinx].sec_state = BTM_SEC_STATE_IDLE; in btm_reset_complete()
|
D | btm_acl.c | 3236 p_dev_rec->sec_state!= BTM_SEC_STATE_DISCONNECTING) in btm_remove_acl()
|
/external/bluetooth/bluedroid/bta/hh/ |
D | bta_hh_le.c | 1390 if (p_dev_rec->sec_state == BTM_SEC_STATE_ENCRYPTING || in bta_hh_start_security() 1391 p_dev_rec->sec_state == BTM_SEC_STATE_AUTHENTICATING) in bta_hh_start_security()
|