Searched refs:SECOND_ACTIVITY (Results 1 – 6 of 6) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplayActivityLaunchTests.java | 54 import static android.server.wm.second.Components.SECOND_ACTIVITY; 411 launchActivity(SECOND_ACTIVITY); in testConsequentLaunchActivityInNewProcess() 414 waitAndAssertTopResumedActivity(SECOND_ACTIVITY, DEFAULT_DISPLAY, in testConsequentLaunchActivityInNewProcess() 417 pair(DEFAULT_DISPLAY, SECOND_ACTIVITY)); in testConsequentLaunchActivityInNewProcess() 488 .setTargetActivity(SECOND_ACTIVITY) in testConsequentLaunchActivityFromVirtualDisplayToTargetDisplay() 493 waitAndAssertTopResumedActivity(SECOND_ACTIVITY, newDisplay.mId, in testConsequentLaunchActivityFromVirtualDisplayToTargetDisplay() 519 launchActivityOnDisplay(SECOND_ACTIVITY, DEFAULT_DISPLAY); in testLaunchExistingActivityReparentDisplay() 521 waitAndAssertTopResumedActivity(SECOND_ACTIVITY, DEFAULT_DISPLAY, in testLaunchExistingActivityReparentDisplay() 568 .setComponent(SECOND_ACTIVITY) in testLaunchPendingActivityOnSecondaryDisplay() 579 mWmState.waitForPendingActivityContain(SECOND_ACTIVITY); in testLaunchPendingActivityOnSecondaryDisplay() [all …]
|
D | MultiDisplaySecurityTests.java | 36 import static android.server.wm.second.Components.SECOND_ACTIVITY; 244 assertFalse(isActivityStartAllowedOnDisplay(newDisplay.mId, SECOND_ACTIVITY)); in testCantAccessPublicVirtualDisplayNoEmbeddingPermission() 277 newDisplay.mId, SECOND_ACTIVITY)), in testCanAccessPublicVirtualDisplayActivityEmbeddingAllowed() 292 assertFalse(isActivityStartAllowedOnDisplay(newDisplay.mId, SECOND_ACTIVITY)); in testCantAccessPrivateVirtualDisplay() 335 .putExtra(EXTRA_EMBEDDING_COMPONENT_NAME, SECOND_ACTIVITY) in testCanAccessPrivateVirtualDisplayByUidPresentOnDisplayActivityEmbeddingAllowed() 402 SECOND_ACTIVITY, newDisplay, in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay() 490 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromShell() 494 waitAndAssertActivityStateOnDisplay(SECOND_ACTIVITY, STATE_RESUMED, newDisplay.mId, in testPermissionLaunchFromShell() 497 pair(newDisplay.mId, SECOND_ACTIVITY)); in testPermissionLaunchFromShell() 509 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromAppOnSecondary() [all …]
|
D | ActivityMetricsLoggerTests.java | 32 import static android.server.wm.second.Components.SECOND_ACTIVITY; 294 launchAndWaitForActivity(SECOND_ACTIVITY); in testAppRelaunchSetsWaitResultDelayData() 299 assertActivityLifecycle(SECOND_ACTIVITY, true /* relaunched */); in testAppRelaunchSetsWaitResultDelayData() 334 launchAndWaitForActivity(SECOND_ACTIVITY); in testLaunchOfVisibleApp() 342 launchAndWaitForActivity(SECOND_ACTIVITY); in testLaunchOfVisibleApp() 344 LogMaker metricsLog = getMetricsLog(SECOND_ACTIVITY, APP_TRANSITION); in testLaunchOfVisibleApp() 389 launchAndWaitForActivity(SECOND_ACTIVITY); in testNoDisplayActivityLaunch() 391 final LogMaker metricsLog = waitForMetricsLog(SECOND_ACTIVITY, APP_TRANSITION); in testNoDisplayActivityLaunch() 393 assertMetricsLogs(SECOND_ACTIVITY, APP_TRANSITION, metricsLog, mPreUptimeMs, postUptimeMs); in testNoDisplayActivityLaunch()
|
D | StartActivityTests.java | 37 import static android.server.wm.second.Components.SECOND_ACTIVITY; 315 new Intent().setComponent(SECOND_ACTIVITY) in testStartActivitiesWithDiffUidNotInSameTask() 322 + SECOND_ACTIVITY + " has a different uid from the source caller") in testStartActivitiesWithDiffUidNotInSameTask() 345 final Intent taskOverlay = new Intent().setComponent(SECOND_ACTIVITY); in testStartActivitiesTaskOverlayStayOnTop() 364 SECOND_ACTIVITY, in testStartActivitiesTaskOverlayStayOnTop()
|
/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/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 97 import static android.server.wm.second.Components.SECOND_ACTIVITY; 203 private static final String SECOND_TEST_PACKAGE = SECOND_ACTIVITY.getPackageName();
|