Searched refs:isDeviceLocked (Results 1 – 5 of 5) sorted by relevance
55 assertTrue("Device not locked", mKm.isDeviceLocked()); in testDeviceLocked()59 assertFalse("Device locked", mKm.isDeviceLocked()); in testDeviceNotLocked()
44 if (mContext.getSystemService(KeyguardManager.class).isDeviceLocked()) { in onDismissSucceeded()
73 public boolean isDeviceLocked() { in isDeviceLocked() method in RootOfTrust
66 assertTrue(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()74 assertFalse(mKeyguardManager.isDeviceLocked()); in testLockAndUnlock()
448 assertTrue(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()451 assertFalse(keyguardManager.isDeviceLocked()); in testKeyguardLockAndUnlock()952 assertTrue(keyguardManager.isDeviceLocked()); in testCanCreateAuthBoundKeyWhenScreenLocked()972 assertFalse(keyguardManager.isDeviceLocked()); in testCannotCreateAuthBoundKeyWhenDevicePinNotSet()