OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:firstActivity
(Results
1 - 7
of
7
) sorted by null
/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
ActivityLifecyclePipTests.java
67
final Activity
firstActivity
= mFirstActivityTestRule.launchActivity(new Intent());
72
waitAndAssertActivityStates(state(
firstActivity
, ON_STOP), state(pipActivity, ON_RESUME));
83
waitAndAssertActivityStates(state(
firstActivity
, ON_RESUME), state(pipActivity, ON_PAUSE));
84
LifecycleVerifier.assertRestartAndResumeSequence(
FirstActivity
.class, getLifecycleLog());
92
final Activity
firstActivity
= mFirstActivityTestRule.launchActivity(new Intent());
95
waitAndAssertActivityStates(state(
firstActivity
, ON_RESUME));
103
waitAndAssertActivityStates(state(
firstActivity
, ON_RESUME), state(pipActivity, ON_PAUSE));
109
LifecycleVerifier.assertSequenceMatchesOneOf(
FirstActivity
.class,
120
final Activity
firstActivity
= mFirstActivityTestRule.launchActivity(new Intent());
123
waitAndAssertActivityStates(state(
firstActivity
, ON_RESUME))
[
all
...]
ActivityLifecycleKeyguardTests.java
59
LifecycleVerifier.assertLaunchAndStopSequence(
FirstActivity
.class, getLifecycleLog());
77
LifecycleVerifier.assertLaunchAndStopSequence(
FirstActivity
.class, getLifecycleLog());
83
LifecycleVerifier.assertRestartAndResumeSequence(
FirstActivity
.class, getLifecycleLog());
92
final Activity
firstActivity
= mFirstActivityTestRule.launchActivity(new Intent());
93
waitAndAssertActivityStates(state(
firstActivity
, ON_RESUME));
96
moveTaskToPrimarySplitScreenAndVerify(
firstActivity
);
106
waitAndAssertActivityStates(state(
firstActivity
, ON_RESUME));
112
waitAndAssertActivityStates(state(
firstActivity
, ON_STOP));
115
LifecycleVerifier.assertResumeToStopSequence(
FirstActivity
.class, getLifecycleLog());
120
waitAndAssertActivityStates(state(
firstActivity
, ON_RESUME)
[
all
...]
ActivityLifecycleSplitScreenTests.java
77
final Activity
firstActivity
=
87
state(
firstActivity
, ON_STOP));
102
waitAndAssertActivityStates(state(
firstActivity
, ON_RESUME));
106
LifecycleVerifier.assertRecreateAndResumeSequence(
FirstActivity
.class, getLifecycleLog());
112
final Activity
firstActivity
=
114
waitAndAssertActivityStates(state(
firstActivity
, ON_RESUME));
117
moveTaskToPrimarySplitScreenAndVerify(
firstActivity
);
119
final ComponentName firstActivityName = getComponentName(
FirstActivity
.class);
130
state(
firstActivity
, ON_RESUME));
131
LifecycleVerifier.assertSequence(
FirstActivity
.class, getLifecycleLog()
[
all
...]
ActivityLifecycleTopResumedStateTests.java
119
final Activity
firstActivity
=
121
waitAndAssertActivityStates(state(
firstActivity
, ON_TOP_POSITION_GAINED));
127
launchActivity(new ComponentName(
firstActivity
, secondActivityClass));
131
state(
firstActivity
, ON_STOP));
133
transition(
firstActivity
.getClass(), ON_TOP_POSITION_LOST),
145
final Activity
firstActivity
=
147
waitAndAssertActivityStates(state(
firstActivity
, ON_TOP_POSITION_GAINED));
148
final Class<? extends Activity> firstActivityClass =
firstActivity
.getClass();
154
launchActivity(new ComponentName(
firstActivity
, secondActivityClass));
158
state(
firstActivity
, ON_STOP))
[
all
...]
ActivityLifecycleTests.java
76
LifecycleVerifier.assertLaunchSequence(
FirstActivity
.class, getLifecycleLog());
81
final Activity
firstActivity
= mFirstActivityTestRule.launchActivity(new Intent());
82
waitAndAssertActivityStates(state(
firstActivity
, ON_RESUME));
86
waitAndAssertActivityStates(occludedActivityState(
firstActivity
, secondActivity),
89
LifecycleVerifier.assertLaunchSequence(SecondActivity.class,
FirstActivity
.class,
96
final Activity
firstActivity
= mFirstActivityTestRule.launchActivity(new Intent());
97
waitAndAssertActivityStates(state(
firstActivity
, ON_RESUME));
103
waitAndAssertActivityStates(state(
firstActivity
, ON_PAUSE),
106
LifecycleVerifier.assertLaunchSequence(TranslucentActivity.class,
FirstActivity
.class,
112
final Activity
firstActivity
= mFirstActivityTestRule.launchActivity(new Intent())
[
all
...]
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
UiAutomationTest.java
304
Activity
firstActivity
= null;
313
firstActivity
= getInstrumentation().startActivitySync(firstIntent);
361
if (
firstActivity
!= null) {
362
firstActivity
.finish();
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
LaunchRunner.java
181
Activity
firstActivity
= this.launchFromContext(startContext,
184
activityLog.add(
firstActivity
);
Completed in 110 milliseconds