Home
last modified time | relevance | path

Searched refs:lockScreenSession (Results 1 – 12 of 12) 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.java184 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnActivity() argument
185 lockScreenSession.sleepDevice(); in testTurnScreenOnActivity()
394 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnAttrNoLockScreen() argument
395 lockScreenSession.disableLockScreen() in testTurnScreenOnAttrNoLockScreen()
409 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnAttrWithLockScreen() argument
410 lockScreenSession.setLockCredential() in testTurnScreenOnAttrWithLockScreen()
425 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnShowOnLockAttr() argument
426 lockScreenSession.sleepDevice(); in testTurnScreenOnShowOnLockAttr()
441 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnAttrRemove() argument
442 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.java550 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testStackFocusSwitchOnStackEmptiedInSleeping()
551 validateStackFocusSwitchOnStackEmptied(virtualDisplaySession, lockScreenSession); in testStackFocusSwitchOnStackEmptiedInSleeping()
568 LockScreenSession lockScreenSession) throws Exception { in validateStackFocusSwitchOnStackEmptied() argument
579 if (lockScreenSession != null) { in validateStackFocusSwitchOnStackEmptied()
581 lockScreenSession.sleepDevice(); in validateStackFocusSwitchOnStackEmptied()
587 if (lockScreenSession != null) { in validateStackFocusSwitchOnStackEmptied()
589 lockScreenSession.wakeUpDevice().unlockDevice(); in validateStackFocusSwitchOnStackEmptied()
648 try (final LockScreenSession lockScreenSession = new LockScreenSession(); in testStackFocusSwitchOnTouchEventAfterKeyguard() argument
650 lockScreenSession.sleepDevice(); in testStackFocusSwitchOnTouchEventAfterKeyguard()
664 lockScreenSession.wakeUpDevice(); in testStackFocusSwitchOnTouchEventAfterKeyguard()
[all …]
DSplitScreenTests.java405 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testRotationWhenDockedWhileLocked()
407 lockScreenSession.sleepDevice(); in testRotationWhenDockedWhileLocked()
409 lockScreenSession.wakeUpDevice() in testRotationWhenDockedWhileLocked()
521 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDockedStackToMinimizeWhenUnlocked() argument
522 lockScreenSession.sleepDevice() in testDockedStackToMinimizeWhenUnlocked()
534 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testMinimizedStateWhenUnlockedAndUnMinimized() argument
535 lockScreenSession.sleepDevice() in testMinimizedStateWhenUnlockedAndUnMinimized()
DDisplayTests.java150 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testForceDisplayMetrics()
169 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()
151 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testKeyguardShowHideOverPip() argument
152 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()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageReportingTest.java348 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testSplitscreenSameTokenTwoMissedStop() argument
349 lockScreenSession.gotoKeyguard(); in testSplitscreenSameTokenTwoMissedStop()