Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayKeyguardTests.java59 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testDismissKeyguardActivity_secondaryDisplay() local
62 lockScreenSession.gotoKeyguard(); in testDismissKeyguardActivity_secondaryDisplay()
75 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testShowKeyguardDialogOnSecondaryDisplay() local
80 lockScreenSession.gotoKeyguard(); in testShowKeyguardDialogOnSecondaryDisplay()
94 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testShowKeyguardDialogSecondaryDisplayChange() local
101 lockScreenSession.gotoKeyguard(); in testShowKeyguardDialogSecondaryDisplayChange()
116 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testShowKeyguardDialogDefaultDisplayChange() local
127 lockScreenSession.gotoKeyguard(); in testShowKeyguardDialogDefaultDisplayChange()
131 lockScreenSession.wakeUpDevice().unlockDevice(); in testShowKeyguardDialogDefaultDisplayChange()
142 lockScreenSession.gotoKeyguard(); in testShowKeyguardDialogDefaultDisplayChange()
[all …]
DKeyguardLockedTests.java88 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLockAndUnlock() local
89 lockScreenSession.setLockCredential().gotoKeyguard(); in testLockAndUnlock()
97 lockScreenSession.unlockDevice().enterAndConfirmLockCredential(); in testLockAndUnlock()
109 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269() argument
110 lockScreenSession.gotoKeyguard(); in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
113 lockScreenSession.setLockCredential(); in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
114 lockScreenSession.gotoKeyguard(); in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
129 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testDismissKeyguard() local
130 lockScreenSession.setLockCredential().gotoKeyguard(); in testDismissKeyguard()
134 lockScreenSession.enterAndConfirmLockCredential(); in testDismissKeyguard()
[all …]
DKeyguardTests.java82 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testKeyguardHidesActivity() local
86 lockScreenSession.gotoKeyguard(); in testKeyguardHidesActivity()
92 mObjectTracker.close(lockScreenSession); in testKeyguardHidesActivity()
99 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testShowWhenLockedActivity() local
103 lockScreenSession.gotoKeyguard(SHOW_WHEN_LOCKED_ACTIVITY); in testShowWhenLockedActivity()
115 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testShowWhenLockedActivity_withDialog() local
119 lockScreenSession.gotoKeyguard(SHOW_WHEN_LOCKED_WITH_DIALOG_ACTIVITY); in testShowWhenLockedActivity_withDialog()
134 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testMultipleShowWhenLockedActivities() local
141 lockScreenSession.gotoKeyguard( in testMultipleShowWhenLockedActivities()
155 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testFinishMultipleShowWhenLockedActivities() local
[all …]
DMultiDisplayLockedKeyguardTests.java61 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testVirtualDisplayHidesContentWhenLocked() local
62 lockScreenSession.setLockCredential(); in testVirtualDisplayHidesContentWhenLocked()
75 lockScreenSession.gotoKeyguard(); in testVirtualDisplayHidesContentWhenLocked()
81 lockScreenSession.unlockDevice(); in testVirtualDisplayHidesContentWhenLocked()
83 lockScreenSession.enterAndConfirmLockCredential(); in testVirtualDisplayHidesContentWhenLocked()
95 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testPrivateDisplayHideContentWhenLocked() local
96 lockScreenSession.setLockCredential(); in testPrivateDisplayHideContentWhenLocked()
103 lockScreenSession.gotoKeyguard(); in testPrivateDisplayHideContentWhenLocked()
115 final LockScreenSession lockScreenSession = in testDismissKeyguard_secondaryDisplay() local
117 lockScreenSession.setLockCredential(); in testDismissKeyguard_secondaryDisplay()
[all …]
DKeyguardTransitionTests.java60 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testUnlock() local
62 lockScreenSession.gotoKeyguard().unlockDevice(); in testUnlock()
70 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testUnlockWallpaper() local
72 lockScreenSession.gotoKeyguard().unlockDevice(); in testUnlockWallpaper()
100 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNewActivityDuringOccluded() local
102 lockScreenSession.gotoKeyguard(SHOW_WHEN_LOCKED_NO_PREVIEW_ACTIVITY); in testNewActivityDuringOccluded()
111 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testOccludeManifestAttr() local
112 lockScreenSession.gotoKeyguard(); in testOccludeManifestAttr()
123 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testOccludeAttrRemove() local
124 lockScreenSession.gotoKeyguard(); in testOccludeAttrRemove()
[all …]
DActivityVisibilityTests.java201 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testTurnScreenOnActivity() local
204 lockScreenSession.setLockCredential(); in testTurnScreenOnActivity()
207 testTurnScreenOnActivity(lockScreenSession, activityClient, in testTurnScreenOnActivity()
209 testTurnScreenOnActivity(lockScreenSession, activityClient, in testTurnScreenOnActivity()
214 mObjectTracker.close(lockScreenSession); in testTurnScreenOnActivity()
216 testTurnScreenOnActivity(lockScreenSession, activityClient, in testTurnScreenOnActivity()
218 testTurnScreenOnActivity(lockScreenSession, activityClient, in testTurnScreenOnActivity()
226 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testTurnScreenOnActivity_slowLaunch() local
232 testTurnScreenOnActivity(lockScreenSession, activityClient, true /* useWindowFlags */, in testTurnScreenOnActivity_slowLaunch()
236 private void testTurnScreenOnActivity(LockScreenSession lockScreenSession, in testTurnScreenOnActivity() argument
[all …]
DMultiDisplayPolicyTests.java521 LockScreenSession lockScreenSession) { in validateStackFocusSwitchOnStackEmptied() argument
522 if (lockScreenSession != null) { in validateStackFocusSwitchOnStackEmptied()
523 lockScreenSession.setLockCredential(); in validateStackFocusSwitchOnStackEmptied()
535 if (lockScreenSession != null) { in validateStackFocusSwitchOnStackEmptied()
537 lockScreenSession.sleepDevice(); in validateStackFocusSwitchOnStackEmptied()
543 if (lockScreenSession != null) { in validateStackFocusSwitchOnStackEmptied()
545 lockScreenSession.wakeUpDevice().enterAndConfirmLockCredential(); in validateStackFocusSwitchOnStackEmptied()
601 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStackFocusSwitchOnTouchEventAfterKeyguard() local
602 lockScreenSession.sleepDevice(); in testStackFocusSwitchOnTouchEventAfterKeyguard()
616 lockScreenSession.wakeUpDevice(); in testStackFocusSwitchOnTouchEventAfterKeyguard()
[all …]
DKeyguardInputTests.java66 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testReceiveKeysOnTopOfKeyguard() local
69 lockScreenSession.gotoKeyguard(KEY_EVENT_ACTIVITY); in testReceiveKeysOnTopOfKeyguard()
DDisplayTests.java160 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testForceDisplayMetrics() local
180 lockScreenSession.sleepDevice() in testForceDisplayMetrics()
DDreamManagerServiceTests.java250 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStartActivityOnKeyguardLocked() local
251 lockScreenSession.setLockCredential(); in testStartActivityOnKeyguardLocked()
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleKeyguardTests.java52 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testSingleLaunch() argument
53 lockScreenSession.setLockCredential().gotoKeyguard(); in testSingleLaunch()
71 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testKeyguardShowHide() argument
72 lockScreenSession.setLockCredential().gotoKeyguard(); in testKeyguardShowHide()
104 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testKeyguardShowHideOverSplitScreen() argument
105 lockScreenSession.setLockCredential().gotoKeyguard(); in testKeyguardShowHideOverSplitScreen()
145 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testKeyguardShowHideOverPip() argument
146 lockScreenSession.setLockCredential().gotoKeyguard(); in testKeyguardShowHideOverPip()
DActivityStarterTests.java155 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLaunchNoHistoryActivityShowWhenLocked() local
156 lockScreenSession.sleepDevice(); in testLaunchNoHistoryActivityShowWhenLocked()
174 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNoHistoryActivityNotFinished() local
184 lockScreenSession.sleepDevice(); in testNoHistoryActivityNotFinished()
203 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNoHistoryActivityWithDifferentTask() local
216 lockScreenSession.sleepDevice(); in testNoHistoryActivityWithDifferentTask()
245 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNoHistoryActivityWithTranslucentActivity() local
259 lockScreenSession.sleepDevice(); in testNoHistoryActivityWithTranslucentActivity()
DActivityLifecycleTopResumedStateTests.java658 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTopPositionLaunchedBehindLockScreen() argument
659 lockScreenSession.setLockCredential().gotoKeyguard(); in testTopPositionLaunchedBehindLockScreen()
692 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTopPositionRemovedBehindLockScreen() argument
693 lockScreenSession.setLockCredential().gotoKeyguard(); in testTopPositionRemovedBehindLockScreen()
719 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTopPositionLaunchedOnTopOfLockScreen() argument
720 lockScreenSession.setLockCredential().gotoKeyguard(); in testTopPositionLaunchedOnTopOfLockScreen()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageReportingTest.java317 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testSplitscreenSameTokenOneMissedStop() argument
318 lockScreenSession.gotoKeyguard(); in testSplitscreenSameTokenOneMissedStop()
352 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testSplitscreenSameTokenTwoMissedStop() argument
353 lockScreenSession.gotoKeyguard(); in testSplitscreenSameTokenTwoMissedStop()