Home
last modified time | relevance | path

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

/cts/tests/framework/base/activitymanager/src/android/server/am/
DKeyguardLockedTests.java62 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testLockAndUnlock() argument
63 lockScreenSession.setLockCredential() in testLockAndUnlock()
70 lockScreenSession.unlockDevice() in testLockAndUnlock()
81 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDismissKeyguard() argument
82 lockScreenSession.setLockCredential() in testDismissKeyguard()
86 lockScreenSession.enterAndConfirmLockCredential(); in testDismissKeyguard()
95 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDismissKeyguard_whileOccluded() argument
96 lockScreenSession.setLockCredential() in testDismissKeyguard_whileOccluded()
103 lockScreenSession.enterAndConfirmLockCredential(); in testDismissKeyguard_whileOccluded()
115 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDismissKeyguard_fromShowWhenLocked_notAllowed() argument
[all …]
DKeyguardTests.java83 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testKeyguardHidesActivity() argument
87 lockScreenSession.gotoKeyguard(); in testKeyguardHidesActivity()
98 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testShowWhenLockedActivity() argument
102 lockScreenSession.gotoKeyguard(); in testShowWhenLockedActivity()
115 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testShowWhenLockedActivity_withDialog() argument
119 lockScreenSession.gotoKeyguard(); in testShowWhenLockedActivity_withDialog()
133 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testMultipleShowWhenLockedActivities() argument
140 lockScreenSession.gotoKeyguard(); in testMultipleShowWhenLockedActivities()
153 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTranslucentShowWhenLockedActivity() argument
157 lockScreenSession.gotoKeyguard(); in testTranslucentShowWhenLockedActivity()
[all …]
DKeyguardTransitionTests.java55 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testUnlock() argument
57 lockScreenSession.gotoKeyguard() in testUnlock()
67 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testUnlockWallpaper() argument
69 lockScreenSession.gotoKeyguard() in testUnlockWallpaper()
79 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testOcclude() argument
80 lockScreenSession.gotoKeyguard(); in testOcclude()
90 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testUnocclude() argument
91 lockScreenSession.gotoKeyguard(); in testUnocclude()
103 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testNewActivityDuringOccluded() argument
105 lockScreenSession.gotoKeyguard(); in testNewActivityDuringOccluded()
[all …]
DActivityManagerDisplayLockedKeyguardTests.java56 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testVirtualDisplayHidesContentWhenLocked()
57 lockScreenSession.setLockCredential(); in testVirtualDisplayHidesContentWhenLocked()
68 lockScreenSession.gotoKeyguard(); in testVirtualDisplayHidesContentWhenLocked()
73 lockScreenSession.unlockDevice() in testVirtualDisplayHidesContentWhenLocked()
87 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDismissKeyguard_secondaryDisplay()
88 lockScreenSession.setLockCredential(); in testDismissKeyguard_secondaryDisplay()
91 lockScreenSession.gotoKeyguard(); in testDismissKeyguard_secondaryDisplay()
94 lockScreenSession.enterAndConfirmLockCredential(); in testDismissKeyguard_secondaryDisplay()
104 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDismissKeyguard_whileOccluded_secondaryDisplay()
105 lockScreenSession.setLockCredential(); in testDismissKeyguard_whileOccluded_secondaryDisplay()
[all …]
DActivityManagerActivityVisibilityTests.java184 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnActivity() argument
185 lockScreenSession.sleepDevice(); in testTurnScreenOnActivity()
372 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnAttrNoLockScreen() argument
373 lockScreenSession.disableLockScreen() in testTurnScreenOnAttrNoLockScreen()
389 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnAttrWithLockScreen() argument
390 lockScreenSession.setLockCredential() in testTurnScreenOnAttrWithLockScreen()
403 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnShowOnLockAttr() argument
404 lockScreenSession.sleepDevice(); in testTurnScreenOnShowOnLockAttr()
416 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTurnScreenOnAttrRemove() argument
417 lockScreenSession.sleepDevice(); in testTurnScreenOnAttrRemove()
[all …]
DActivityManagerDisplayKeyguardTests.java51 try (final LockScreenSession lockScreenSession = new LockScreenSession(); in testDismissKeyguardActivity_secondaryDisplay() argument
55 lockScreenSession.gotoKeyguard(); in testDismissKeyguardActivity_secondaryDisplay()
DActivityManagerDisplayTests.java122 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testForceDisplayMetrics()
141 lockScreenSession.sleepDevice() in testForceDisplayMetrics()
DActivityManagerSplitScreenTests.java409 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testRotationWhenDockedWhileLocked()
411 lockScreenSession.sleepDevice(); in testRotationWhenDockedWhileLocked()
413 lockScreenSession.wakeUpDevice() in testRotationWhenDockedWhileLocked()
518 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDockedStackToMinimizeWhenUnlocked() argument
519 lockScreenSession.sleepDevice() in testDockedStackToMinimizeWhenUnlocked()
531 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testMinimizedStateWhenUnlockedAndUnMinimized() argument
532 lockScreenSession.sleepDevice() in testMinimizedStateWhenUnlockedAndUnMinimized()
DActivityManagerMultiDisplayTests.java811 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testStackFocusSwitchOnStackEmptied()
823 lockScreenSession.sleepDevice(); in testStackFocusSwitchOnStackEmptied()
829 lockScreenSession.wakeUpDevice() in testStackFocusSwitchOnStackEmptied()
1668 try (final LockScreenSession lockScreenSession = new LockScreenSession(); in testStackFocusSwitchOnTouchEventAfterKeyguard() argument
1670 lockScreenSession.sleepDevice(); in testStackFocusSwitchOnTouchEventAfterKeyguard()
1688 lockScreenSession.wakeUpDevice(); in testStackFocusSwitchOnTouchEventAfterKeyguard()
1736 final LockScreenSession lockScreenSession = new LockScreenSession()) { in testSecondaryDisplayShowWhenLocked()
1737 lockScreenSession.setLockCredential(); in testSecondaryDisplayShowWhenLocked()
1745 lockScreenSession.gotoKeyguard(); in testSecondaryDisplayShowWhenLocked()
/cts/tests/framework/base/activitymanager/src/android/server/am/lifecycle/
DActivityLifecycleKeyguardTests.java25 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testSingleLaunch() argument
26 lockScreenSession.setLockCredential().gotoKeyguard(); in testSingleLaunch()