Searched refs:isDeviceLocked (Results 1 – 7 of 7) sorted by relevance
56 assertTrue("Device not locked", mKm.isDeviceLocked()); in testDeviceLocked()60 assertFalse("Device locked", mKm.isDeviceLocked()); in testDeviceNotLocked()
73 public boolean isDeviceLocked() { in isDeviceLocked() method in RootOfTrust
49 if (mContext.getSystemService(KeyguardManager.class).isDeviceLocked()) { in onDismissSucceeded()
74 assertTrue(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()82 assertFalse(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()
100 () -> !getSystemService(KeyguardManager.class).isDeviceLocked()) in onCreate()
283 for (int i = 0; i < 25 && !keyguardManager.isDeviceLocked(); i++) { in performDeviceLock()463 assertTrue(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()466 assertFalse(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()975 assertTrue(keyguardManager.isDeviceLocked()); in testCanCreateAuthBoundKeyWhenScreenLocked()999 assertFalse(keyguardManager.isDeviceLocked()); in testCannotCreateAuthBoundKeyWhenDevicePinNotSet()
782 assertTrue(rootOfTrust.isDeviceLocked()); in checkRootOfTrust()