Searched refs:TestActivityLauncher (Results 1 – 11 of 11) sorted by relevance
28 public class TestActivityLauncher<T extends Activity> { class48 public TestActivityLauncher(@NonNull Context context, @NonNull Class<T> activityClass) { in TestActivityLauncher() method in TestActivityLauncher53 public TestActivityLauncher<T> addIntentFlag(int flag) { in addIntentFlag()58 public TestActivityLauncher<T> setActivityId(@Nullable String id) { in setActivityId()63 public TestActivityLauncher<T> setWindowingMode(int windowingMode) { in setWindowingMode()68 public TestActivityLauncher<T> setLaunchDisplayId(int displayId) { in setLaunchDisplayId()
19 import static android.server.wm.jetpack.utils.TestActivityLauncher.KEY_ACTIVITY_ID;
30 import static android.server.wm.jetpack.utils.TestActivityLauncher.KEY_ACTIVITY_ID;132 public <T extends Activity> TestActivityLauncher<T> launcherForNewActivity( in launcherForNewActivity()163 private <T extends Activity> TestActivityLauncher<T> launcherForActivityNewTask( in launcherForActivityNewTask()168 final TestActivityLauncher launcher = new TestActivityLauncher<>(mContext, activityClass) in launcherForActivityNewTask()
45 public ActivityTestRule<TestActivityLauncher> mTestActivityRule =47 TestActivityLauncher.class,53 TestActivityLauncher activity = mTestActivityRule.launchActivity(null); in testEnablement()64 TestActivityLauncher activity = mTestActivityRule.launchActivity(null); in testCrash()
24 public class TestActivityLauncher extends Activity { class
54 import android.server.wm.jetpack.utils.TestActivityLauncher;116 Activity primaryActivity = new TestActivityLauncher<>(mContext, in testInputDuringAnimationIsNotAllowed_untrustedEmbedding()
26 import static android.server.wm.jetpack.utils.TestActivityLauncher.KEY_ACTIVITY_ID;
28 import static android.server.wm.jetpack.utils.TestActivityLauncher.KEY_ACTIVITY_ID;
29 import static android.server.wm.jetpack.utils.TestActivityLauncher.KEY_ACTIVITY_ID;
51 import android.server.wm.jetpack.utils.TestActivityLauncher;456 final TestActivityLauncher<TestActivity> launcher = in testStartActivityOnRearDisplay_whileRearPresentationSessionStarted()