Home
last modified time | relevance | path

Searched refs:isDeviceLocked (Results 1 – 12 of 12) sorted by relevance

/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DProfileTimeoutTestHelper.java56 assertTrue("Device not locked", mKm.isDeviceLocked()); in testDeviceLocked()
60 assertFalse("Device locked", mKm.isDeviceLocked()); in testDeviceNotLocked()
/cts/tests/tests/identity/src/android/security/identity/cts/
DUserAuthTest.java112 for (int i = 0; i < 25 && !keyguardManager.isDeviceLocked(); i++) { in performDeviceLock()
127 if (!keyguardManager.isDeviceLocked()) { in performDeviceUnlock()
337 assertTrue(keyguardManager.isDeviceLocked()); in doTestUserAuth()
339 assertTrue(!keyguardManager.isDeviceLocked()); in doTestUserAuth()
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DKeyguardDismissLoggerCallback.java49 if (mContext.getSystemService(KeyguardManager.class).isDeviceLocked()) { in onDismissSucceeded()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsVerifierInCallUi.java61 if (km.isDeviceLocked()) { in onCreate()
/cts/tests/security/src/android/keystore/cts/
DRootOfTrust.java86 public boolean isDeviceLocked() { in isDeviceLocked() method in RootOfTrust
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DKeyguardLockedTests.java92 assertTrue(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()
100 assertFalse(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()
119 assertTrue(mKeyguardManager.isDeviceLocked()); in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/
DUnlockedDeviceRequiredTest.java453 if (mKeyguardManager.isDeviceLocked() == enteringLockState) { in runDeviceTest()
498 boolean lockState = mKeyguardManager.isDeviceLocked(); in waitForDeviceState()
/cts/tests/tests/sensorprivacy/src/android/sensorprivacy/cts/
DSensorPrivacyBaseTest.kt414 assertTrue("Device isn't locked", km.isDeviceLocked) in <lambda>()
434 assertFalse("Device isn't unlocked", km.isDeviceLocked) in <lambda>()
/cts/tests/tests/keystore/src/android/keystore/cts/
DCipherTest.java290 for (int i = 0; i < 25 && !keyguardManager.isDeviceLocked(); i++) { in performDeviceLock()
302 for (int i = 0; i < 25 && keyguardManager.isDeviceLocked(); i++) { in performDeviceUnlock()
305 assertFalse(keyguardManager.isDeviceLocked()); in performDeviceUnlock()
604 assertTrue(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()
607 assertFalse(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()
1135 assertTrue(keyguardManager.isDeviceLocked()); in testCanCreateAuthBoundKeyWhenScreenLocked()
1159 assertFalse(keyguardManager.isDeviceLocked()); in testCannotCreateAuthBoundKeyWhenDevicePinNotSet()
DKeyAttestationTest.java1134 assertTrue(rootOfTrust.isDeviceLocked()); in checkRootOfTrust()
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java100 () -> !getSystemService(KeyguardManager.class).isDeviceLocked()) in onCreate()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1479 wasDeviceLocked = mKm != null && mKm.isDeviceLocked();