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; 243 assertFalse(isActivityStartAllowedOnDisplay(newDisplay.mId, SECOND_ACTIVITY)); in testCantAccessPublicVirtualDisplayNoEmbeddingPermission() 276 newDisplay.mId, SECOND_ACTIVITY)), in testCanAccessPublicVirtualDisplayActivityEmbeddingAllowed() 291 assertFalse(isActivityStartAllowedOnDisplay(newDisplay.mId, SECOND_ACTIVITY)); in testCantAccessPrivateVirtualDisplay() 334 .putExtra(EXTRA_EMBEDDING_COMPONENT_NAME, SECOND_ACTIVITY) in testCanAccessPrivateVirtualDisplayByUidPresentOnDisplayActivityEmbeddingAllowed() 401 SECOND_ACTIVITY, newDisplay, in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay() 488 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromShell() 492 waitAndAssertActivityStateOnDisplay(SECOND_ACTIVITY, STATE_RESUMED, newDisplay.mId, in testPermissionLaunchFromShell() 495 pair(newDisplay.mId, SECOND_ACTIVITY)); in testPermissionLaunchFromShell() 507 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromAppOnSecondary() [all …]
|
D | ActivityMetricsLoggerTests.java | 33 import static android.server.wm.second.Components.SECOND_ACTIVITY; 295 launchAndWaitForActivity(SECOND_ACTIVITY); in testAppRelaunchSetsWaitResultDelayData() 300 assertActivityLifecycle(SECOND_ACTIVITY, true /* relaunched */); in testAppRelaunchSetsWaitResultDelayData() 335 launchAndWaitForActivity(SECOND_ACTIVITY); in testLaunchOfVisibleApp() 343 launchAndWaitForActivity(SECOND_ACTIVITY); in testLaunchOfVisibleApp() 345 LogMaker metricsLog = getMetricsLog(SECOND_ACTIVITY, APP_TRANSITION); in testLaunchOfVisibleApp() 390 launchAndWaitForActivity(SECOND_ACTIVITY); in testNoDisplayActivityLaunch() 392 final LogMaker metricsLog = waitForMetricsLog(SECOND_ACTIVITY, APP_TRANSITION); in testNoDisplayActivityLaunch() 394 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; 205 private static final String SECOND_TEST_PACKAGE = SECOND_ACTIVITY.getPackageName();
|