Searched refs:isKeyguardLocked (Results 1 – 8 of 8) sorted by relevance
56 if (!kM.isKeyguardLocked()) { in onWindowFocusChanged()
65 assertTrue(mKeyguardManager.isKeyguardLocked()); in testLockAndUnlock()75 assertFalse(mKeyguardManager.isKeyguardLocked()); in testLockAndUnlock()
90 assertTrue(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity()93 assertFalse(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity()
101 retryPressKeyCode(KEYCODE_MENU, () -> kgm != null && !kgm.isKeyguardLocked(), in pressUnlockButton()
130 if (!mKeyguard.isKeyguardLocked()) { in run()
763 if (kmgr.isKeyguardLocked()) { in testInteractiveEvents()804 if (kmgr.isKeyguardLocked()) { in testInteractiveEvents()
127 private boolean isKeyguardLocked() { in isKeyguardLocked() method in ActivityManagerProcessStateTest130 return keyguardManager.isKeyguardLocked(); in isKeyguardLocked()867 final String expectedActivityState = (isScreenInteractive() && !isKeyguardLocked()) in testBackgroundCheckActivityService()