Home
last modified time | relevance | path

Searched refs:isDeviceSecure (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/
DVirtualDeviceKeyguardTest.java76 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()
/cts/common/device-side/preconditions/src/com/android/compatibility/common/preconditions/
DScreenLockHelper.java31 public static boolean isDeviceSecure(Context context) { in isDeviceSecure() method in ScreenLockHelper
33 return km.isDeviceSecure(); in isDeviceSecure()
/cts/tools/cts-preconditions/src/com/android/preconditions/cts/
DPreconditionsTest.java46 ScreenLockHelper.isDeviceSecure(this.getContext())); in testScreenUnlocked()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationDismissVerifierActivity.java371 if (km.isDeviceSecure() == mExpectSecure) { in test()
432 if (!km.isDeviceSecure()) { in test()
DNotificationPrivacyVerifierActivity.java286 if (km.isDeviceSecure() == mExpectSecure) { in test()
347 if (!km.isDeviceSecure()) { in test()
DNotificationFullScreenIntentVerifierActivity.java259 if (!km.isDeviceSecure()) { in test()
385 if (km.isDeviceSecure() == mExpectSecure) { in test()
/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/
DKeyguardLockedTests.java99 assertTrue(mKeyguardManager.isDeviceSecure()); in testLockAndUnlock()
127 assertTrue(mKeyguardManager.isDeviceSecure()); in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodFlowTestActivity.java776 if (!mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()
788 if (mKeyguardManager.isDeviceSecure()) { in handleDiskEncryptionStatus()
794 if (mKeyguardManager.isDeviceSecure()) { in handleSetLockForEncryption()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DUnlockedDeviceRequiredKeysTest.java598 if (!mKeyguardManager.isDeviceSecure()) { in verifyTestRequirements()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityManagerGetConfigTests.java308 kgm.isDeviceSecure(), deviceConfig.hasSecureScreenLock); in checkDeviceConfig()
/cts/tests/devicepolicy/src/android/devicepolicy/cts/
DResetPasswordWithTokenTest.java137 assertThat(sLocalKeyguardManager.isDeviceSecure()).isFalse(); in resetPasswordWithToken_noPassword_deviceIsNotSecure()
149 assertThat(sLocalKeyguardManager.isDeviceSecure()).isTrue(); in resetPasswordWithToken_password_deviceIsSecure()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUserReference.java678 .getSystemService(KeyguardManager.class).isDeviceSecure(); in hasLockCredential()
/cts/common/device-side/bedstead/remoteframeworkclasses/java/apis/
Dcurrent.txt6204 method public boolean isDeviceSecure();