Searched refs:SECOND_ACTIVITY (Results 1 – 8 of 8) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/ |
D | MultiDisplaySecurityTests.java | 35 import static android.server.wm.second.Components.SECOND_ACTIVITY; 236 assertFalse(isActivityStartAllowedOnDisplay(newDisplay.mId, SECOND_ACTIVITY)); in testCantAccessPublicVirtualDisplayNoEmbeddingPermission() 269 newDisplay.mId, SECOND_ACTIVITY)), in testCanAccessPublicVirtualDisplayActivityEmbeddingAllowed() 284 assertFalse(isActivityStartAllowedOnDisplay(newDisplay.mId, SECOND_ACTIVITY)); in testCantAccessPrivateVirtualDisplay() 327 .putExtra(EXTRA_EMBEDDING_COMPONENT_NAME, SECOND_ACTIVITY) in testCanAccessPrivateVirtualDisplayByUidPresentOnDisplayActivityEmbeddingAllowed() 396 SECOND_ACTIVITY, newDisplay, in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay() 489 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromShell() 493 waitAndAssertActivityStateOnDisplay(SECOND_ACTIVITY, STATE_RESUMED, newDisplay.mId, in testPermissionLaunchFromShell() 496 pair(newDisplay.mId, SECOND_ACTIVITY)); in testPermissionLaunchFromShell() 508 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromAppOnSecondary() [all …]
|
D | MultiDisplayActivityLaunchTests.java | 56 import static android.server.wm.second.Components.SECOND_ACTIVITY; 418 launchActivity(SECOND_ACTIVITY); in testConsequentLaunchActivityInNewProcess() 421 waitAndAssertTopResumedActivity(SECOND_ACTIVITY, DEFAULT_DISPLAY, in testConsequentLaunchActivityInNewProcess() 424 pair(DEFAULT_DISPLAY, SECOND_ACTIVITY)); in testConsequentLaunchActivityInNewProcess() 495 .setTargetActivity(SECOND_ACTIVITY) in testConsequentLaunchActivityFromVirtualDisplayToTargetDisplay() 500 waitAndAssertTopResumedActivity(SECOND_ACTIVITY, newDisplay.mId, in testConsequentLaunchActivityFromVirtualDisplayToTargetDisplay() 526 launchActivityOnDisplay(SECOND_ACTIVITY, DEFAULT_DISPLAY); in testLaunchExistingActivityReparentDisplay() 528 waitAndAssertTopResumedActivity(SECOND_ACTIVITY, DEFAULT_DISPLAY, in testLaunchExistingActivityReparentDisplay() 575 .setComponent(SECOND_ACTIVITY) in testLaunchPendingActivityOnSecondaryDisplay() 586 mWmState.waitForPendingActivityContain(SECOND_ACTIVITY); in testLaunchPendingActivityOnSecondaryDisplay() [all …]
|
/cts/tests/framework/base/windowmanager/jetpack/SecondApp/src/android/server/wm/jetpack/second/ |
D | Components.java | 24 public static final ComponentName SECOND_ACTIVITY = component("SecondActivity"); field in Components
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | StartActivityTests.java | 40 import static android.server.wm.second.Components.SECOND_ACTIVITY; 361 new Intent().setComponent(SECOND_ACTIVITY) in testStartActivitiesWithDiffUidNotInSameTask() 368 + SECOND_ACTIVITY + " has a different uid from the source caller") in testStartActivitiesWithDiffUidNotInSameTask() 391 final Intent taskOverlay = new Intent().setComponent(SECOND_ACTIVITY); in testStartActivitiesTaskOverlayStayOnTop() 411 SECOND_ACTIVITY, in testStartActivitiesTaskOverlayStayOnTop() 456 final Intent taskOverlay = new Intent().setComponent(SECOND_ACTIVITY); in verifyStartActivitiesTaskOverlayWithLaunchFlags()
|
D | ActivityMetricsLoggerTests.java | 33 import static android.server.wm.second.Components.SECOND_ACTIVITY; 359 launchAndWaitForActivity(SECOND_ACTIVITY); in testLaunchOfVisibleApp() 367 launchAndWaitForActivity(SECOND_ACTIVITY); in testLaunchOfVisibleApp() 369 LogMaker metricsLog = getMetricsLog(SECOND_ACTIVITY, APP_TRANSITION); in testLaunchOfVisibleApp() 414 launchAndWaitForActivity(SECOND_ACTIVITY); in testNoDisplayActivityLaunch() 416 final LogMaker metricsLog = waitForMetricsLog(SECOND_ACTIVITY, APP_TRANSITION); in testNoDisplayActivityLaunch() 418 assertMetricsLogs(SECOND_ACTIVITY, APP_TRANSITION, metricsLog, mPreUptimeMs, postUptimeMs); in testNoDisplayActivityLaunch()
|
/cts/tests/framework/base/windowmanager/appSecondUid/src/android/server/wm/second/ |
D | Components.java | 33 public static final ComponentName SECOND_ACTIVITY = component("SecondActivity"); field in Components
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingCrossUidTests.java | 24 import static android.server.wm.jetpack.second.Components.SECOND_ACTIVITY; 119 startActivityCrossUidInSplit_expectFail(primaryActivity, SECOND_ACTIVITY, in testCrossUidActivityEmbeddingIsNotAllowed()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 113 import static android.server.wm.second.Components.SECOND_ACTIVITY; 233 private static final String SECOND_TEST_PACKAGE = SECOND_ACTIVITY.getPackageName();
|