Searched refs:isKeyguardLocked (Results 1 – 7 of 7) sorted by relevance
59 if (!mkeyguardManager.isKeyguardLocked()) { in onWindowFocusChanged()
111 assertTrue(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity()114 assertFalse(mKeyguardManager.isKeyguardLocked()); in testKeyguardHidesActivity()293 assertTrue(mKeyguardManager.isKeyguardLocked()); in testInheritShowWhenLockedRemove()344 assertTrue(mKeyguardManager.isKeyguardLocked()); in testNoInheritShowWhenLocked()
73 assertTrue(mKeyguardManager.isKeyguardLocked()); in testLockAndUnlock()83 assertFalse(mKeyguardManager.isKeyguardLocked()); in testLockAndUnlock()
102 retryPressKeyCode(KEYCODE_MENU, () -> kgm != null && !kgm.isKeyguardLocked(), in pressUnlockButton()
104 retryPressKeyCode(KEYCODE_MENU, () -> kgm != null && !kgm.isKeyguardLocked(), in pressUnlockButton()
835 if (kmgr.isKeyguardLocked()) { in testInteractiveEvents()876 if (kmgr.isKeyguardLocked()) { in testInteractiveEvents()1036 if (kmgr.isKeyguardLocked()) { in testTaskRootEventField()1070 if (kmgr.isKeyguardLocked()) { in testUsageSourceAttribution()1157 if (kmgr.isKeyguardLocked()) { in testSuddenDestroy()
187 return isScreenInteractive() && !isKeyguardLocked(); in turnScreenOn()208 private boolean isKeyguardLocked() { in isKeyguardLocked() method in ActivityManagerProcessStateTest211 return keyguardManager.isKeyguardLocked(); in isKeyguardLocked()937 final String expectedActivityState = (isScreenInteractive() && !isKeyguardLocked()) in testBackgroundCheckActivityService()