Home
last modified time | relevance | path

Searched refs:LockScreenSession (Results 1 – 25 of 25) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/keyguard/
DKeyguardTests.java66 import android.server.wm.LockScreenSession;
99 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testKeyguardHidesActivity()
114 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testShowWhenLockedActivity()
129 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLaunchShowWhenLockedActivity_whileDismissingKeyguard_unlocksAndShows()
152 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testShowWhenLockedActivity_withDialog()
170 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testMultipleShowWhenLockedActivities()
201 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testMultipleShowWhenLockedActivities_remainOccludedDuringTransition()
244 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testFinishMultipleShowWhenLockedActivities()
277 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testTranslucentShowWhenLockedActivity()
296 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testTranslucentDoesntRevealBehind()
[all …]
DKeyguardTransitionTests.java39 import android.server.wm.LockScreenSession;
68 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testUnlock()
82 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testUnlockWallpaper()
121 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNewActivityDuringOccluded()
132 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNewDismissKeyguardIfInsecureActivityDuringOccluded()
144 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testOccludeManifestAttr()
156 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testOccludeAttrRemove()
180 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNewActivityDuringOccludedWithAttr()
DKeyguardLockedTests.java54 import android.server.wm.LockScreenSession;
94 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLockAndUnlock()
115 try (LockScreenSession lockScreenSession = in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
116 new LockScreenSession(mInstrumentation, mWmState)) { in testDisableKeyguard_thenSettingCredential_reenablesKeyguard_b119322269()
136 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testDismissKeyguard()
149 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testDismissKeyguard_whileOccluded()
170 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testDismissKeyguard_fromShowWhenLocked_notAllowed()
187 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testDismissKeyguardIfInsecure_notAllowed()
201 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testDismissKeyguardActivity_method()
223 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testDismissKeyguardActivity_method_cancelled()
[all …]
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleKeyguardTests.java34 import android.server.wm.LockScreenSession;
64 try (LockScreenSession lockScreenSession = in testSingleLaunch()
65 new LockScreenSession(mInstrumentation, mWmState)) { in testSingleLaunch()
84 try (LockScreenSession lockScreenSession = in testKeyguardShowHide()
85 new LockScreenSession(mInstrumentation, mWmState)) { in testKeyguardShowHide()
116 try (LockScreenSession lockScreenSession = in testKeyguardShowHideOverSplitScreen()
117 new LockScreenSession(mInstrumentation, mWmState)) { in testKeyguardShowHideOverSplitScreen()
158 try (LockScreenSession lockScreenSession = in testKeyguardShowHideOverPip()
159 new LockScreenSession(mInstrumentation, mWmState)) { in testKeyguardShowHideOverPip()
DActivityStarterTests.java53 import android.server.wm.LockScreenSession;
158 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLaunchNoHistoryActivityShowWhenLocked()
177 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNoHistoryActivityNotFinished()
206 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNoHistoryActivityWithDifferentTask()
248 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNoHistoryActivityWithTranslucentActivity()
DActivityLifecycleTopResumedStateTests.java69 import android.server.wm.LockScreenSession;
693 try (LockScreenSession lockScreenSession = in testTopPositionLaunchedBehindLockScreen()
694 new LockScreenSession(mInstrumentation, mWmState)) { in testTopPositionLaunchedBehindLockScreen()
726 try (LockScreenSession lockScreenSession = in testTopPositionRemovedBehindLockScreen()
727 new LockScreenSession(mInstrumentation, mWmState)) { in testTopPositionRemovedBehindLockScreen()
754 try (LockScreenSession lockScreenSession = in testTopPositionLaunchedOnTopOfLockScreen()
755 new LockScreenSession(mInstrumentation, mWmState)) { in testTopPositionLaunchedOnTopOfLockScreen()
/cts/tests/tests/virtualdevice/core/src/android/virtualdevice/cts/core/
DVirtualDeviceKeyguardTest.java32 import android.server.wm.LockScreenSession;
73 try (LockScreenSession session = new LockScreenSession(sInstrumentation, mWmState)) { in deviceIsNotSecure()
88 try (LockScreenSession session = new LockScreenSession(sInstrumentation, mWmState)) { in deviceIsSecureAndLocked()
103 try (LockScreenSession session = new LockScreenSession(sInstrumentation, mWmState)) { in deviceIsSecureNotLocked()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayKeyguardTests.java27 import android.server.wm.LockScreenSession;
60 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testDismissKeyguardActivity_secondaryDisplay()
76 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testShowKeyguardDialogOnSecondaryDisplay()
95 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testShowKeyguardDialogSecondaryDisplayChange()
117 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testShowKeyguardDialogDefaultDisplayChange()
153 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testNoKeyguardDialogOnPrivateDisplay()
168 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testUnlockScreen_secondDisplayChanged_dismissesKeyguardOnUnlock()
197 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testUnlockScreen_decoredSystemDisplayChanged_dismissesKeyguardOnUnlock()
DMultiDisplayLockedKeyguardTests.java29 import android.server.wm.LockScreenSession;
60 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testVirtualDisplayHidesContentWhenLocked()
94 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testPrivateDisplayHideContentWhenLocked()
114 final LockScreenSession lockScreenSession = in testDismissKeyguard_secondaryDisplay()
137 final LockScreenSession lockScreenSession = in testDismissKeyguard_whileOccluded_secondaryDisplay()
DMultiDisplayPolicyTests.java58 import android.server.wm.LockScreenSession;
535 LockScreenSession lockScreenSession) { in validateStackFocusSwitchOnStackEmptied()
617 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStackFocusSwitchOnTouchEventAfterKeyguard()
661 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testSecondaryDisplayShowWhenLocked()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DLockScreenSession.java52 public class LockScreenSession implements AutoCloseable { class
75 public LockScreenSession(Instrumentation instrumentation, WindowManagerStateHelper wmState) { in LockScreenSession() method in LockScreenSession
131 public LockScreenSession setLockCredential() { in setLockCredential()
147 public LockScreenSession enterAndConfirmLockCredential() { in enterAndConfirmLockCredential()
166 public LockScreenSession disableLockScreen() { in disableLockScreen()
184 public LockScreenSession sleepDevice() { in sleepDevice()
210 public LockScreenSession wakeUpDevice() { in wakeUpDevice()
218 public LockScreenSession unlockDevice() { in unlockDevice()
230 public LockScreenSession gotoKeyguard(ComponentName... showWhenLockedActivities) { in gotoKeyguard()
DActivityManagerTestBase.java1547 protected LockScreenSession createManagedLockScreenSession() { in createManagedLockScreenSession()
1548 return mObjectTracker.manage(new LockScreenSession(mInstrumentation, mWmState)); in createManagedLockScreenSession()
1552 protected LockScreenSession createManagedLockScreenSessionAndClearActivitiesOnClose() { in createManagedLockScreenSessionAndClearActivitiesOnClose()
1553 return mObjectTracker.manage(new LockScreenSession(mInstrumentation, mWmState) { in createManagedLockScreenSessionAndClearActivitiesOnClose()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DActivityVisibilityTests.java67 import android.server.wm.LockScreenSession;
208 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testTurnScreenOnActivity()
254 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testTurnScreenOnActivity_slowLaunch()
264 private void testTurnScreenOnActivity(LockScreenSession lockScreenSession, in testTurnScreenOnActivity()
270 private void testTurnScreenOnActivity(LockScreenSession lockScreenSession, in testTurnScreenOnActivity()
290 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testFreeformWindowToTurnScreenOn()
299 private void testFreeformWindowTurnScreenOnActivity(LockScreenSession lockScreenSession, in testFreeformWindowTurnScreenOnActivity()
316 LockScreenSession lockScreenSession, ActivitySessionClient activitySessionClient, in sleepDeviceAndLaunchTurnScreenOnActivity()
637 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testTurnScreenOnAttrNoLockScreen()
660 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testTurnScreenOnAttrNoLockScreen_SplitScreen()
[all …]
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/app/
DKeyguardManagerHelperTest.java25 import android.server.wm.LockScreenSession;
50 try (LockScreenSession lockScreenSession = createManagedLockScreenSession()) { in testIsKeyguardLocked()
/cts/tests/framework/base/windowmanager/src/android/server/wm/input/
DKeyguardInputTests.java30 import android.server.wm.LockScreenSession;
67 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testReceiveKeysOnTopOfKeyguard()
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/area/
DExtensionRearDisplayPresentationKeyguardTest.java41 import android.server.wm.LockScreenSession;
148 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStartRearDisplayPresentation_whenKeyguardLocked()
179 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStartRearDisplayPresentation_afterKeyguardLocked()
224 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStartRearDisplayPresentation_thenKeyguardLocked()
272 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStartRearDisplayPresentation_thenKeyguardLocked_activityFinishes()
325 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStartRearDisplayPresentation_persistsAfterDismissingKeyguard()
379 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStartRearDisplayPresentation_afterKeyguardLocked_thenScreenOff()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DUsageReportingTest.java28 import android.server.wm.LockScreenSession;
318 try (LockScreenSession lockScreenSession = in testSplitscreenSameTokenOneMissedStop()
319 new LockScreenSession(mInstrumentation, mWmState)) { in testSplitscreenSameTokenOneMissedStop()
354 try (LockScreenSession lockScreenSession = in testSplitscreenSameTokenTwoMissedStop()
355 new LockScreenSession(mInstrumentation, mWmState)) { in testSplitscreenSameTokenTwoMissedStop()
/cts/tests/framework/base/windowmanager/src/android/server/wm/display/
DDisplayTests.java34 import android.server.wm.LockScreenSession;
168 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testForceDisplayMetrics()
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DDreamManagerServiceTests.java41 import android.server.wm.LockScreenSession;
253 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStartActivityOnKeyguardLocked()
274 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testStartActivityDismissesDreamOnKeyguardLocked()
/cts/tests/tests/identity/src/android/security/identity/cts/
DUserAuthTest.java37 import android.server.wm.LockScreenSession;
59 private LockScreenSession mLockCredential;
62 mLockCredential = new LockScreenSession(mInstrumentation, mWmState); in DeviceLockSession()
/cts/tests/tests/dreams/src/android/service/dreams/cts/
DDreamServiceTest.java46 import android.server.wm.LockScreenSession;
265 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testKeyHandling_SecureKeyguardConfirmKeyPromptsBouncer()
325 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testKeyHandling_InteractiveDreamDoesNotConsumeConfirmPromptsBouncer()
/cts/tests/framework/base/windowmanager/src/android/server/wm/taskfragment/
DSplitActivityLifecycleTest.java43 import android.server.wm.LockScreenSession;
453 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLaunchEmbeddedActivityWithShowWhenLocked()
473 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLaunchEmbeddedActivitiesWithoutShowWhenLocked()
493 final LockScreenSession lockScreenSession = createManagedLockScreenSession(); in testLaunchEmbeddedActivitiesWithShowWhenLocked()
/cts/tests/app/WallpaperTest/src/android/app/cts/wallpapers/
DWallpaperManagerTest.java76 import android.server.wm.LockScreenSession;
1320 try (LockScreenSession lockScreenSession = in testSystemAndLockWallpaperVisibility_onHomeScreen()
1321 new LockScreenSession(mInstrumentation, sWindowManagerStateHelper)) { in testSystemAndLockWallpaperVisibility_onHomeScreen()
1360 try (LockScreenSession lockScreenSession = in testSystemAndLockWallpaperVisibility_onLockScreen()
1361 new LockScreenSession(mInstrumentation, sWindowManagerStateHelper)) { in testSystemAndLockWallpaperVisibility_onLockScreen()
1396 try (LockScreenSession lockScreenSession = in testSharedWallpaperVisibilityBehindActivity_onLockScreen()
1397 new LockScreenSession(mInstrumentation, sWindowManagerStateHelper)) { in testSharedWallpaperVisibilityBehindActivity_onLockScreen()
1435 try (LockScreenSession lockScreenSession = in testIndependentWallpaperVisibilityBehindActivity_onLockScreen()
1436 new LockScreenSession(mInstrumentation, sWindowManagerStateHelper)) { in testIndependentWallpaperVisibilityBehindActivity_onLockScreen()
/cts/tests/tests/virtualdevice/applaunch/src/android/virtualdevice/cts/applaunch/
DStreamedAppClipboardTest.java54 import android.server.wm.LockScreenSession;
447 private class SecureLockScreenSession extends LockScreenSession {
/cts/tests/tests/keystore/src/android/keystore/cts/
DCipherTest.java48 import android.server.wm.LockScreenSession;
319 private LockScreenSession mLockCredential;
323 mLockCredential = new LockScreenSession(mInstrumentation, mWmState); in DeviceLockSession()