Home
last modified time | relevance | path

Searched refs:isDeviceLocked (Results 1 – 9 of 9) 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()
325 assertTrue(keyguardManager.isDeviceLocked()); in doTestUserAuth()
327 assertTrue(!keyguardManager.isDeviceLocked()); in doTestUserAuth()
/cts/tests/security/src/android/keystore/cts/
DRootOfTrust.java73 public boolean isDeviceLocked() { in isDeviceLocked() method in RootOfTrust
/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/framework/base/windowmanager/src/android/server/wm/
DKeyguardLockedTests.java74 assertTrue(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()
82 assertFalse(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()
/cts/tests/tests/keystore/src/android/keystore/cts/
DCipherTest.java283 for (int i = 0; i < 25 && !keyguardManager.isDeviceLocked(); i++) { in performDeviceLock()
294 for (int i = 0; i < 25 && keyguardManager.isDeviceLocked(); i++) { in performDeviceUnlock()
297 assertFalse(keyguardManager.isDeviceLocked()); in performDeviceUnlock()
522 assertTrue(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()
525 assertFalse(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()
1034 assertTrue(keyguardManager.isDeviceLocked()); in testCanCreateAuthBoundKeyWhenScreenLocked()
1058 assertFalse(keyguardManager.isDeviceLocked()); in testCannotCreateAuthBoundKeyWhenDevicePinNotSet()
DKeyAttestationTest.java988 assertTrue(rootOfTrust.isDeviceLocked()); in checkRootOfTrust()
/cts/hostsidetests/theme/app/src/android/theme/app/
DThemeDeviceActivity.java100 () -> !getSystemService(KeyguardManager.class).isDeviceLocked()) in onCreate()