Home
last modified time | relevance | path

Searched refs:lockScreenSession (Results 1 – 11 of 11) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DKeyguardLockedTests.java70 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testLockAndUnlock() argument
71 lockScreenSession.setLockCredential() in testLockAndUnlock()
78 lockScreenSession.unlockDevice() in testLockAndUnlock()
92 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269() argument
93 lockScreenSession.gotoKeyguard(); in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
96 lockScreenSession.setLockCredential(); in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
106 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDismissKeyguard() argument
107 lockScreenSession.setLockCredential() in testDismissKeyguard()
111 lockScreenSession.enterAndConfirmLockCredential(); in testDismissKeyguard()
120 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDismissKeyguard_whileOccluded() argument
[all …]
DKeyguardTests.java104 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testKeyguardHidesActivity() argument
108 lockScreenSession.gotoKeyguard(); in testKeyguardHidesActivity()
120 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testShowWhenLockedActivity() argument
124 lockScreenSession.gotoKeyguard(SHOW_WHEN_LOCKED_ACTIVITY); in testShowWhenLockedActivity()
137 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testShowWhenLockedActivity_withDialog() argument
141 lockScreenSession.gotoKeyguard(SHOW_WHEN_LOCKED_WITH_DIALOG_ACTIVITY); in testShowWhenLockedActivity_withDialog()
155 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testMultipleShowWhenLockedActivities() argument
162 lockScreenSession.gotoKeyguard( in testMultipleShowWhenLockedActivities()
176 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTranslucentShowWhenLockedActivity() argument
180 lockScreenSession.gotoKeyguard(SHOW_WHEN_LOCKED_TRANSLUCENT_ACTIVITY); in testTranslucentShowWhenLockedActivity()
[all …]
DKeyguardTransitionTests.java59 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testUnlock() argument
61 lockScreenSession.gotoKeyguard() in testUnlock()
71 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testUnlockWallpaper() argument
73 lockScreenSession.gotoKeyguard() in testUnlockWallpaper()
83 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testOcclude() argument
84 lockScreenSession.gotoKeyguard(); in testOcclude()
94 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testUnocclude() argument
95 lockScreenSession.gotoKeyguard(); in testUnocclude()
107 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testNewActivityDuringOccluded() argument
109 lockScreenSession.gotoKeyguard(SHOW_WHEN_LOCKED_ACTIVITY); in testNewActivityDuringOccluded()
[all …]
DMultiDisplayLockedKeyguardTests.java61 try (final LockScreenSession lockScreenSession = new LockScreenSession(); in testVirtualDisplayHidesContentWhenLocked() argument
63 lockScreenSession.setLockCredential(); in testVirtualDisplayHidesContentWhenLocked()
75 lockScreenSession.gotoKeyguard(); in testVirtualDisplayHidesContentWhenLocked()
81 lockScreenSession.unlockDevice(); in testVirtualDisplayHidesContentWhenLocked()
83 lockScreenSession.enterAndConfirmLockCredential(); in testVirtualDisplayHidesContentWhenLocked()
97 try (final LockScreenSession lockScreenSession = new LockScreenSession(); in testPrivateDisplayHideContentWhenLocked() argument
99 lockScreenSession.setLockCredential(); in testPrivateDisplayHideContentWhenLocked()
105 lockScreenSession.gotoKeyguard(); in testPrivateDisplayHideContentWhenLocked()
118 try (final LockScreenSession lockScreenSession = in testDismissKeyguard_secondaryDisplay() argument
121 lockScreenSession.setLockCredential(); in testDismissKeyguard_secondaryDisplay()
[all …]
DActivityVisibilityTests.java182 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnActivity() argument
183 lockScreenSession.sleepDevice(); in testTurnScreenOnActivity()
390 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnAttrNoLockScreen() argument
391 lockScreenSession.disableLockScreen() in testTurnScreenOnAttrNoLockScreen()
405 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnAttrWithLockScreen() argument
406 lockScreenSession.setLockCredential() in testTurnScreenOnAttrWithLockScreen()
419 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnShowOnLockAttr() argument
420 lockScreenSession.sleepDevice(); in testTurnScreenOnShowOnLockAttr()
433 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnAttrRemove() argument
434 lockScreenSession.sleepDevice(); in testTurnScreenOnAttrRemove()
[all …]
DMultiDisplayKeyguardTests.java59 try (final LockScreenSession lockScreenSession = new LockScreenSession(); in testDismissKeyguardActivity_secondaryDisplay() argument
63 lockScreenSession.gotoKeyguard(); in testDismissKeyguardActivity_secondaryDisplay()
78 try (final LockScreenSession lockScreenSession = new LockScreenSession(); in testShowKeyguardDialogOnSecondaryDisplay() argument
82 lockScreenSession.gotoKeyguard(); in testShowKeyguardDialogOnSecondaryDisplay()
103 try (final LockScreenSession lockScreenSession = new LockScreenSession(); in testNoKeyguardDialogOnPrivateDisplay() argument
110 lockScreenSession.gotoKeyguard(); in testNoKeyguardDialogOnPrivateDisplay()
DMultiDisplayPolicyTests.java548 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testStackFocusSwitchOnStackEmptiedInSleeping()
549 validateStackFocusSwitchOnStackEmptied(virtualDisplaySession, lockScreenSession); in testStackFocusSwitchOnStackEmptiedInSleeping()
566 LockScreenSession lockScreenSession) throws Exception { in validateStackFocusSwitchOnStackEmptied() argument
577 if (lockScreenSession != null) { in validateStackFocusSwitchOnStackEmptied()
579 lockScreenSession.sleepDevice(); in validateStackFocusSwitchOnStackEmptied()
585 if (lockScreenSession != null) { in validateStackFocusSwitchOnStackEmptied()
587 lockScreenSession.wakeUpDevice().unlockDevice(); in validateStackFocusSwitchOnStackEmptied()
645 try (final LockScreenSession lockScreenSession = new LockScreenSession(); in testStackFocusSwitchOnTouchEventAfterKeyguard() argument
647 lockScreenSession.sleepDevice(); in testStackFocusSwitchOnTouchEventAfterKeyguard()
661 lockScreenSession.wakeUpDevice(); in testStackFocusSwitchOnTouchEventAfterKeyguard()
[all …]
DSplitScreenTests.java405 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testRotationWhenDockedWhileLocked()
407 lockScreenSession.sleepDevice(); in testRotationWhenDockedWhileLocked()
409 lockScreenSession.wakeUpDevice() in testRotationWhenDockedWhileLocked()
517 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDockedStackToMinimizeWhenUnlocked() argument
518 lockScreenSession.sleepDevice() in testDockedStackToMinimizeWhenUnlocked()
530 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testMinimizedStateWhenUnlockedAndUnMinimized() argument
531 lockScreenSession.sleepDevice() in testMinimizedStateWhenUnlockedAndUnMinimized()
DDisplayTests.java149 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testForceDisplayMetrics()
168 lockScreenSession.sleepDevice() in testForceDisplayMetrics()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleKeyguardTests.java53 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testSingleLaunch() argument
54 lockScreenSession.setLockCredential().gotoKeyguard(); in testSingleLaunch()
73 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testKeyguardShowHide() argument
74 lockScreenSession.setLockCredential().gotoKeyguard(); in testKeyguardShowHide()
110 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testKeyguardShowHideOverSplitScreen() argument
111 lockScreenSession.setLockCredential().gotoKeyguard(); in testKeyguardShowHideOverSplitScreen()
150 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testKeyguardShowHideOverPip() argument
151 lockScreenSession.setLockCredential().gotoKeyguard(); in testKeyguardShowHideOverPip()
DActivityLifecycleTopResumedStateTests.java670 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTopPositionLaunchedBehindLockScreen() argument
671 lockScreenSession.setLockCredential().gotoKeyguard(); in testTopPositionLaunchedBehindLockScreen()
696 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTopPositionRemovedBehindLockScreen() argument
697 lockScreenSession.setLockCredential().gotoKeyguard(); in testTopPositionRemovedBehindLockScreen()
717 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTopPositionLaunchedOnTopOfLockScreen() argument
718 lockScreenSession.setLockCredential().gotoKeyguard(); in testTopPositionLaunchedOnTopOfLockScreen()