Lines Matching refs:BTM_SEC_ENCRYPTED

159     if(p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED)  in btm_dev_encrypted()
1053 p_dev_rec->sec_flags &= ~(BTM_SEC_LINK_KEY_KNOWN | BTM_SEC_AUTHENTICATED | BTM_SEC_ENCRYPTED in btm_sec_bond_by_transport()
1389 (p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED)) in BTM_SetEncryption()
2170 …BTM_SEC_OUT_AUTHENTICATE | BTM_SEC_OUT_ENCRYPT)) && (p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED))) || in btm_sec_l2cap_access_req()
2180 … (BTM_SEC_IN_AUTHENTICATE | BTM_SEC_IN_ENCRYPT)) && (p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED))) || in btm_sec_l2cap_access_req()
2400 … (p_dev_rec->sec_flags & BTM_SEC_AUTHENTICATED), (p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED)); in btm_sec_l2cap_access_req()
2404 ||(0 == (p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED))) in btm_sec_l2cap_access_req()
4064 && ((p_dev_rec->sec_flags & (BTM_SEC_AUTHENTICATED | BTM_SEC_ENCRYPTED)) == in btm_sec_auth_complete()
4065 (BTM_SEC_AUTHENTICATED | BTM_SEC_ENCRYPTED))) in btm_sec_auth_complete()
4214 p_dev_rec->sec_flags |= (BTM_SEC_AUTHENTICATED | BTM_SEC_ENCRYPTED); in btm_sec_encrypt_change()
4232 p_dev_rec->sec_flags &= ~BTM_SEC_ENCRYPTED; in btm_sec_encrypt_change()
4662 BTM_SEC_ENCRYPTED | BTM_SEC_ROLE_SWITCHED) << bit_shift); in btm_sec_connected()
4665 p_dev_rec->sec_flags |= ((BTM_SEC_AUTHENTICATED | BTM_SEC_ENCRYPTED) << bit_shift); in btm_sec_connected()
4807 p_dev_rec->sec_flags &= ~(BTM_SEC_AUTHORIZED | BTM_SEC_AUTHENTICATED | BTM_SEC_ENCRYPTED in btm_sec_disconnected()
5405 if (!(p_dev_rec->sec_flags & BTM_SEC_ENCRYPTED) in btm_sec_execute_procedure()