Home
last modified time | relevance | path

Searched refs:FOREGROUND_ACTIVITY (Results 1 – 5 of 5) sorted by relevance

/cts/tests/framework/base/windowmanager/backgroundactivity/src/android/server/wm/
DActivitySecurityModelTest.java45 .activity(APP_B.FOREGROUND_ACTIVITY) in testTopLaunchesActivity_launchAllowed()
48 APP_B.FOREGROUND_ACTIVITY, in testTopLaunchesActivity_launchAllowed()
49 APP_A.FOREGROUND_ACTIVITY); in testTopLaunchesActivity_launchAllowed()
55 .activity(APP_A.FOREGROUND_ACTIVITY) in testTopLaunchesActivity_launchAllowed()
58 APP_A.FOREGROUND_ACTIVITY, in testTopLaunchesActivity_launchAllowed()
59 APP_B.FOREGROUND_ACTIVITY, in testTopLaunchesActivity_launchAllowed()
60 APP_A.FOREGROUND_ACTIVITY); in testTopLaunchesActivity_launchAllowed()
76 .activity(APP_B.FOREGROUND_ACTIVITY) in testActivitySandwich_launchBlocked()
79 APP_B.FOREGROUND_ACTIVITY, in testActivitySandwich_launchBlocked()
80 APP_A.FOREGROUND_ACTIVITY); in testActivitySandwich_launchBlocked()
[all …]
DBackgroundActivityLaunchTest.java188 startActivity(APP_A_33.FOREGROUND_ACTIVITY); in testBackgroundActivity_withinGracePeriodAndSdk33_isNotBlocked()
191 mWmState.waitAndAssertActivityRemoved(APP_A_33.FOREGROUND_ACTIVITY); in testBackgroundActivity_withinGracePeriodAndSdk33_isNotBlocked()
200 startActivity(APP_A.FOREGROUND_ACTIVITY); in testBackgroundActivity_withinASMGracePeriod_isBlocked()
203 mWmState.waitAndAssertActivityRemoved(APP_A.FOREGROUND_ACTIVITY); in testBackgroundActivity_withinASMGracePeriod_isBlocked()
214 startActivity(APP_A.FOREGROUND_ACTIVITY); in testBackgroundActivity_withinBalAfterAsmGracePeriod_isBlocked()
217 mWmState.waitAndAssertActivityRemoved(APP_A.FOREGROUND_ACTIVITY); in testBackgroundActivity_withinBalAfterAsmGracePeriod_isBlocked()
237 startActivity(APP_A.FOREGROUND_ACTIVITY); in testBackgroundActivityBlockedWhenForegroundActivityNotTop()
238 mContext.sendBroadcast(getLaunchActivitiesBroadcast(APP_A, APP_B.FOREGROUND_ACTIVITY)); in testBackgroundActivityBlockedWhenForegroundActivityNotTop()
239 mWmState.waitForValidState(APP_B.FOREGROUND_ACTIVITY); in testBackgroundActivityBlockedWhenForegroundActivityNotTop()
241 assertTaskStackHasComponents(APP_A.FOREGROUND_ACTIVITY, in testBackgroundActivityBlockedWhenForegroundActivityNotTop()
[all …]
DActivitySecurityModelEmbeddingTest.java40 .activity(APP_B.FOREGROUND_ACTIVITY) in setUp()
43 APP_B.FOREGROUND_ACTIVITY in setUp()
54 .activity(APP_A.FOREGROUND_ACTIVITY) in testEmbeddingLaunchesActivity_launchAllowed()
63 APP_A.FOREGROUND_ACTIVITY, in testEmbeddingLaunchesActivity_launchAllowed()
64 APP_B.FOREGROUND_ACTIVITY in testEmbeddingLaunchesActivity_launchAllowed()
76 .activity(APP_A.FOREGROUND_ACTIVITY) in testEmbeddedLaunchesActivity_launchAllowedOnlyOnTop()
83 APP_A.FOREGROUND_ACTIVITY, in testEmbeddedLaunchesActivity_launchAllowedOnlyOnTop()
84 APP_B.FOREGROUND_ACTIVITY in testEmbeddedLaunchesActivity_launchAllowedOnlyOnTop()
96 APP_A.FOREGROUND_ACTIVITY, in testEmbeddedLaunchesActivity_launchAllowedOnlyOnTop()
97 APP_B.FOREGROUND_ACTIVITY in testEmbeddedLaunchesActivity_launchAllowedOnlyOnTop()
DBackgroundActivityTestBase.java141 assertNull(mWmState.getTaskByActivity(app.FOREGROUND_ACTIVITY)); in setUp()
266 intent.setComponent(app.FOREGROUND_ACTIVITY); in setupTaskWithForegroundActivity()
270 mWmState.waitForValidState(app.FOREGROUND_ACTIVITY); in setupTaskWithForegroundActivity()
/cts/tests/framework/base/windowmanager/backgroundactivity/TestApp/src/android/server/wm/backgroundactivity/appa/
DComponents.java106 public final ComponentName FOREGROUND_ACTIVITY; field in Components
142 FOREGROUND_ACTIVITY = in Components()