HomeSort by relevance Sort by last modified time
    Searched refs:secondActivity (Results 1 - 7 of 7) sorted by null

  /cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
ActivityLifecycleSplitScreenTests.java 81 final Activity secondActivity =
86 waitAndAssertActivityStates(state(secondActivity, ON_RESUME),
90 moveTaskToPrimarySplitScreenAndVerify(secondActivity);
99 secondActivity.finish();
101 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY));
125 final Activity secondActivity = mSecondActivityTestRule.launchActivity(
129 waitAndAssertActivityStates(state(secondActivity, ON_RESUME),
139 state(secondActivity, ON_STOP));
145 waitAndAssertActivityStates(state(secondActivity, ON_RESUME),
148 LifecycleVerifier.assertRestartAndResumeSequence(SecondActivity.class, getLifecycleLog())
    [all...]
ActivityLifecycleKeyguardTests.java 99 final Activity secondActivity = mSecondActivityTestRule.launchActivity(
103 waitAndAssertActivityStates(state(secondActivity, ON_RESUME));
113 waitAndAssertActivityStates(state(secondActivity, ON_STOP));
116 LifecycleVerifier.assertResumeToStopSequence(SecondActivity.class, getLifecycleLog());
121 state(secondActivity, ON_RESUME));
123 LifecycleVerifier.assertRestartAndResumeSequence(SecondActivity.class, getLifecycleLog());
ActivityLifecycleTests.java 85 final Activity secondActivity = mSecondActivityTestRule.launchActivity(new Intent());
86 waitAndAssertActivityStates(occludedActivityState(firstActivity, secondActivity),
87 state(secondActivity, ON_RESUME));
89 LifecycleVerifier.assertLaunchSequence(SecondActivity.class, FirstActivity.class,
90 getLifecycleLog(), isTranslucent(secondActivity));
209 final Activity secondActivity =
213 waitAndAssertActivityStates(state(secondActivity, ON_RESUME),
214 occludedActivityState(translucentActivity, secondActivity),
215 occludedActivityState(firstActivity, secondActivity));
220 secondActivity.getWindow().getWindowStyle())
    [all...]
ActivityLifecyclePipTests.java 239 final Activity secondActivity = mSecondActivityTestRule.launchActivity(
243 waitAndAssertActivityStates(state(secondActivity, ON_RESUME));
244 LifecycleVerifier.assertLaunchSequence(SecondActivity.class, getLifecycleLog());
261 final Activity secondActivity = mSecondActivityTestRule.launchActivity(
265 waitAndAssertActivityStates(state(secondActivity, ON_RESUME),
274 waitAndAssertActivityStates(state(pipActivity, ON_PAUSE), state(secondActivity, ON_RESUME));
285 LifecycleVerifier.assertSequenceMatchesOneOf(SecondActivity.class,
ActivityLifecycleTopResumedStateTests.java 313 final Activity secondActivity = mSingleTopActivityTestRule.launchActivity(
317 waitAndAssertActivityStates(state(secondActivity, ON_TOP_POSITION_GAINED),
340 final Activity secondActivity = mSingleTopActivityTestRule.launchActivity(
344 waitAndAssertActivityStates(state(secondActivity, ON_TOP_POSITION_GAINED),
354 state(secondActivity, ON_TOP_POSITION_LOST));
367 state(secondActivity, ON_TOP_POSITION_GAINED));
486 final Activity secondActivity = mSingleTopActivityTestRule.launchActivity(
490 waitAndAssertActivityStates(state(secondActivity, ON_TOP_POSITION_GAINED),
500 state(secondActivity, ON_TOP_POSITION_LOST));
508 final ActivityStack sideStack = getStackForTaskId(secondActivity.getTaskId())
    [all...]
ActivityLifecycleFreeformTests.java 100 final Intent secondIntent = new Intent(mContext, SecondActivity.class)
111 waitAndAssertActivityState(getComponentName(SecondActivity.class), STATE_RESUMED, message);
116 LifecycleVerifier.assertLaunchSequence(SecondActivity.class, getLifecycleLog());
136 final Activity secondActivity = mSecondActivityTestRule.launchActivity(new Intent());
147 waitAndAssertActivityState(getComponentName(SecondActivity.class), STATE_RESUMED, message);
152 LifecycleVerifier.assertLaunchSequence(SecondActivity.class, getLifecycleLog());
159 secondActivity.finish();
162 mAmWmState.waitForActivityRemoved(getComponentName(SecondActivity.class));
167 mAmWmState.getAmState().containsActivity(getComponentName(SecondActivity.class)));
170 getWindowName(getComponentName(SecondActivity.class))))
    [all...]
  /cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
UiAutomationTest.java 305 Activity secondActivity = null;
329 secondActivity = getInstrumentation().startActivitySync(secondIntent);
364 if (secondActivity != null) {
365 secondActivity.finish();

Completed in 608 milliseconds