Searched refs:SECOND_ACTIVITY (Results 1 – 5 of 5) sorted by relevance
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | MultiDisplaySecurityTests.java | 34 import static android.server.wm.second.Components.SECOND_ACTIVITY; 260 final Intent intent = new Intent(Intent.ACTION_VIEW).setComponent(SECOND_ACTIVITY); in testCantAccessPublicVirtualDisplayNoEmbeddingPermission() 303 .setComponent(SECOND_ACTIVITY); in testCanAccessPublicVirtualDisplayActivityEmbeddingAllowed() 324 final Intent intent = new Intent(Intent.ACTION_VIEW).setComponent(SECOND_ACTIVITY); in testCantAccessPrivateVirtualDisplay() 373 .putExtra(EXTRA_EMBEDDING_COMPONENT_NAME, SECOND_ACTIVITY) in testCanAccessPrivateVirtualDisplayByUidPresentOnDisplayActivityEmbeddingAllowed() 442 SECOND_ACTIVITY, newDisplay, in testDisplayHasAccess_UIDCanPresentOnPrivateDisplay() 540 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromShell() 544 waitAndAssertTopResumedActivity(SECOND_ACTIVITY, newDisplay.mId, in testPermissionLaunchFromShell() 549 put(newDisplay.mId, SECOND_ACTIVITY); in testPermissionLaunchFromShell() 564 final String startCmd = "am start -n " + getActivityName(SECOND_ACTIVITY) in testPermissionLaunchFromAppOnSecondary() [all …]
|
D | ActivityMetricsLoggerTests.java | 29 import static android.server.wm.second.Components.SECOND_ACTIVITY; 325 .setTargetActivity(SECOND_ACTIVITY) in testLaunchOfVisibleApp() 341 .setTargetActivity(SECOND_ACTIVITY) in testLaunchOfVisibleApp() 344 LogMaker metricsLog = getMetricsLog(SECOND_ACTIVITY, APP_TRANSITION); in testLaunchOfVisibleApp() 381 .setTargetActivity(SECOND_ACTIVITY) in testNoDisplayActivityLaunch() 384 final LogMaker metricsLog = getMetricsLog(SECOND_ACTIVITY, APP_TRANSITION); in testNoDisplayActivityLaunch() 386 assertMetricsLogs(SECOND_ACTIVITY, APP_TRANSITION, metricsLog, mPreUptimeMs, postUptimeMs); in testNoDisplayActivityLaunch()
|
D | MultiDisplayActivityLaunchTests.java | 39 import static android.server.wm.second.Components.SECOND_ACTIVITY; 440 .setTargetActivity(SECOND_ACTIVITY) in testConsequentLaunchActivityFromVirtualDisplayToTargetDisplay() 445 waitAndAssertTopResumedActivity(SECOND_ACTIVITY, newDisplay.mId, in testConsequentLaunchActivityFromVirtualDisplayToTargetDisplay() 501 .setComponent(SECOND_ACTIVITY) in testLaunchPendingActivityOnSecondaryDisplay() 513 mAmWmState.waitForPendingActivityContain(SECOND_ACTIVITY); in testLaunchPendingActivityOnSecondaryDisplay() 515 mAmWmState.assumePendingActivityContain(SECOND_ACTIVITY); in testLaunchPendingActivityOnSecondaryDisplay() 522 mAmWmState.waitForValidState(SECOND_ACTIVITY); in testLaunchPendingActivityOnSecondaryDisplay() 525 mAmWmState.assertVisibility(SECOND_ACTIVITY, true); in testLaunchPendingActivityOnSecondaryDisplay() 527 newDisplay.mId, mAmWmState.getAmState().getDisplayByActivity(SECOND_ACTIVITY)); in testLaunchPendingActivityOnSecondaryDisplay()
|
/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 | 90 import static android.server.wm.second.Components.SECOND_ACTIVITY; 187 private static final String SECOND_TEST_PACKAGE = SECOND_ACTIVITY.getPackageName();
|