/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayKeyguardTests.java | 59 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 …]
|
D | KeyguardLockedTests.java | 88 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 …]
|
D | MultiDisplayLockedKeyguardTests.java | 61 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 …]
|
D | KeyguardTests.java | 82 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 …]
|
D | KeyguardTransitionTests.java | 66 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testUnlock() local 68 lockScreenSession.gotoKeyguard().unlockDevice(); in testUnlock() 80 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testUnlockWallpaper() local 82 lockScreenSession.gotoKeyguard().unlockDevice(); in testUnlockWallpaper() 110 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNewActivityDuringOccluded() local 112 lockScreenSession.gotoKeyguard(SHOW_WHEN_LOCKED_NO_PREVIEW_ACTIVITY); in testNewActivityDuringOccluded() 121 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testOccludeManifestAttr() local 122 lockScreenSession.gotoKeyguard(); in testOccludeManifestAttr() 133 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testOccludeAttrRemove() local 134 lockScreenSession.gotoKeyguard(); in testOccludeAttrRemove() [all …]
|
D | ActivityVisibilityTests.java | 201 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() 222 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testTurnScreenOnActivity_slowLaunch() local 228 testTurnScreenOnActivity(lockScreenSession, activityClient, true /* useWindowFlags */, in testTurnScreenOnActivity_slowLaunch() 232 private void testTurnScreenOnActivity(LockScreenSession lockScreenSession, in testTurnScreenOnActivity() argument 234 testTurnScreenOnActivity(lockScreenSession, activitySessionClient, useWindowFlags, in testTurnScreenOnActivity() 238 private void testTurnScreenOnActivity(LockScreenSession lockScreenSession, in testTurnScreenOnActivity() argument [all …]
|
D | SplitActivityLifecycleTest.java | 501 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLaunchEmbeddedActivityWithShowWhenLocked() local 506 lockScreenSession.sleepDevice(); in testLaunchEmbeddedActivityWithShowWhenLocked() 507 lockScreenSession.wakeUpDevice(); in testLaunchEmbeddedActivityWithShowWhenLocked() 521 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLaunchEmbeddedActivitiesWithoutShowWhenLocked() local 525 lockScreenSession.sleepDevice(); in testLaunchEmbeddedActivitiesWithoutShowWhenLocked() 526 lockScreenSession.wakeUpDevice(); in testLaunchEmbeddedActivitiesWithoutShowWhenLocked() 541 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLaunchEmbeddedActivitiesWithShowWhenLocked() local 546 lockScreenSession.sleepDevice(); in testLaunchEmbeddedActivitiesWithShowWhenLocked() 547 lockScreenSession.wakeUpDevice(); in testLaunchEmbeddedActivitiesWithShowWhenLocked()
|
D | MultiDisplayPolicyTests.java | 521 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 …]
|
D | KeyguardInputTests.java | 66 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testReceiveKeysOnTopOfKeyguard() local 69 lockScreenSession.gotoKeyguard(KEY_EVENT_ACTIVITY); in testReceiveKeysOnTopOfKeyguard()
|
D | DisplayTests.java | 159 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testForceDisplayMetrics() local 179 lockScreenSession.sleepDevice() in testForceDisplayMetrics()
|
D | DreamManagerServiceTests.java | 250 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStartActivityOnKeyguardLocked() local 251 lockScreenSession.setLockCredential(); in testStartActivityOnKeyguardLocked()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityLifecycleKeyguardTests.java | 52 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()
|
D | ActivityStarterTests.java | 158 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLaunchNoHistoryActivityShowWhenLocked() local 159 lockScreenSession.sleepDevice(); in testLaunchNoHistoryActivityShowWhenLocked() 177 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNoHistoryActivityNotFinished() local 187 lockScreenSession.sleepDevice(); in testNoHistoryActivityNotFinished() 206 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNoHistoryActivityWithDifferentTask() local 219 lockScreenSession.sleepDevice(); in testNoHistoryActivityWithDifferentTask() 248 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNoHistoryActivityWithTranslucentActivity() local 262 lockScreenSession.sleepDevice(); in testNoHistoryActivityWithTranslucentActivity()
|
D | ActivityLifecycleTopResumedStateTests.java | 653 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTopPositionLaunchedBehindLockScreen() argument 654 lockScreenSession.setLockCredential().gotoKeyguard(); in testTopPositionLaunchedBehindLockScreen() 687 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTopPositionRemovedBehindLockScreen() argument 688 lockScreenSession.setLockCredential().gotoKeyguard(); in testTopPositionRemovedBehindLockScreen() 714 try (final LockScreenSession lockScreenSession = new LockScreenSession()) { in testTopPositionLaunchedOnTopOfLockScreen() argument 715 lockScreenSession.setLockCredential().gotoKeyguard(); in testTopPositionLaunchedOnTopOfLockScreen()
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | UsageReportingTest.java | 317 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()
|