Searched refs:isDeviceSecure (Results 1 – 13 of 13) sorted by relevance
76 assertThat(mDefaultDeviceKeyguardManager.isDeviceSecure()).isFalse(); in deviceIsNotSecure()79 assertThat(mVirtualDeviceKeyguardManager.isDeviceSecure()).isFalse(); in deviceIsNotSecure()91 assertThat(mDefaultDeviceKeyguardManager.isDeviceSecure()).isTrue(); in deviceIsSecureAndLocked()94 assertThat(mVirtualDeviceKeyguardManager.isDeviceSecure()).isFalse(); in deviceIsSecureAndLocked()110 assertThat(mDefaultDeviceKeyguardManager.isDeviceSecure()).isTrue(); in deviceIsSecureNotLocked()113 assertThat(mVirtualDeviceKeyguardManager.isDeviceSecure()).isFalse(); in deviceIsSecureNotLocked()
31 public static boolean isDeviceSecure(Context context) { in isDeviceSecure() method in ScreenLockHelper33 return km.isDeviceSecure(); in isDeviceSecure()
46 ScreenLockHelper.isDeviceSecure(this.getContext())); in testScreenUnlocked()
371 if (km.isDeviceSecure() == mExpectSecure) { in test()432 if (!km.isDeviceSecure()) { in test()
286 if (km.isDeviceSecure() == mExpectSecure) { in test()347 if (!km.isDeviceSecure()) { in test()
259 if (!km.isDeviceSecure()) { in test()385 if (km.isDeviceSecure() == mExpectSecure) { in test()
99 assertTrue(mKeyguardManager.isDeviceSecure()); in testLockAndUnlock()127 assertTrue(mKeyguardManager.isDeviceSecure()); in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
776 if (!mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()788 if (mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()794 if (mKeyguardManager.isDeviceSecure()) { in handleSetLockForEncryption()
598 if (!mKeyguardManager.isDeviceSecure()) { in verifyTestRequirements()
308 kgm.isDeviceSecure(), deviceConfig.hasSecureScreenLock); in checkDeviceConfig()
137 assertThat(sLocalKeyguardManager.isDeviceSecure()).isFalse(); in resetPasswordWithToken_noPassword_deviceIsNotSecure()149 assertThat(sLocalKeyguardManager.isDeviceSecure()).isTrue(); in resetPasswordWithToken_password_deviceIsSecure()
678 .getSystemService(KeyguardManager.class).isDeviceSecure(); in hasLockCredential()
6204 method public boolean isDeviceSecure();