Home
last modified time | relevance | path

Searched refs:firstActivity (Results 1 – 7 of 7) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecyclePipTests.java67 final Activity firstActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testGoToPip() local
72 waitAndAssertActivityStates(state(firstActivity, ON_STOP), state(pipActivity, ON_RESUME)); in testGoToPip()
83 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testGoToPip()
92 final Activity firstActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testPipOnLaunch() local
95 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testPipOnLaunch()
103 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testPipOnLaunch()
120 final Activity firstActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testDestroyPip() local
123 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testDestroyPip()
131 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testDestroyPip()
153 final Activity firstActivity = mFirstActivityTestRule.launchActivity(new Intent() in testLaunchBelowPip() local
[all …]
DActivityLifecycleKeyguardTests.java92 final Activity firstActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testKeyguardShowHideOverSplitScreen() local
93 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testKeyguardShowHideOverSplitScreen()
96 moveTaskToPrimarySplitScreenAndVerify(firstActivity); in testKeyguardShowHideOverSplitScreen()
106 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testKeyguardShowHideOverSplitScreen()
112 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testKeyguardShowHideOverSplitScreen()
120 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), in testKeyguardShowHideOverSplitScreen()
135 final Activity firstActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testKeyguardShowHideOverPip() local
138 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testKeyguardShowHideOverPip()
146 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testKeyguardShowHideOverPip()
152 waitAndAssertActivityStates(state(firstActivity, ON_STOP)); in testKeyguardShowHideOverPip()
[all …]
DActivityLifecycleSplitScreenTests.java77 final Activity firstActivity = in testResumedWhenRecreatedFromInNonFocusedStack() local
87 state(firstActivity, ON_STOP)); in testResumedWhenRecreatedFromInNonFocusedStack()
102 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testResumedWhenRecreatedFromInNonFocusedStack()
112 final Activity firstActivity = in testOccludingMovedBetweenStacks() local
114 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testOccludingMovedBetweenStacks()
117 moveTaskToPrimarySplitScreenAndVerify(firstActivity); in testOccludingMovedBetweenStacks()
130 state(firstActivity, ON_RESUME)); in testOccludingMovedBetweenStacks()
146 state(firstActivity, ON_STOP)); in testOccludingMovedBetweenStacks()
156 final Activity firstActivity = in testTranslucentMovedBetweenStacks() local
158 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testTranslucentMovedBetweenStacks()
[all …]
DActivityLifecycleTopResumedStateTests.java119 final Activity firstActivity = in testTopPositionSwitchToActivityOnTopSlowDifferentProcess() local
121 waitAndAssertActivityStates(state(firstActivity, ON_TOP_POSITION_GAINED)); in testTopPositionSwitchToActivityOnTopSlowDifferentProcess()
127 launchActivity(new ComponentName(firstActivity, secondActivityClass)); in testTopPositionSwitchToActivityOnTopSlowDifferentProcess()
131 state(firstActivity, ON_STOP)); in testTopPositionSwitchToActivityOnTopSlowDifferentProcess()
133 transition(firstActivity.getClass(), ON_TOP_POSITION_LOST), in testTopPositionSwitchToActivityOnTopSlowDifferentProcess()
145 final Activity firstActivity = in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess() local
147 waitAndAssertActivityStates(state(firstActivity, ON_TOP_POSITION_GAINED)); in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
148 final Class<? extends Activity> firstActivityClass = firstActivity.getClass(); in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
154 launchActivity(new ComponentName(firstActivity, secondActivityClass)); in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
158 state(firstActivity, ON_STOP)); in testTopPositionSwitchToActivityOnTopTimeoutDifferentProcess()
[all …]
DActivityLifecycleTests.java81 final Activity firstActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testLaunchOnTop() local
82 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testLaunchOnTop()
86 waitAndAssertActivityStates(occludedActivityState(firstActivity, secondActivity), in testLaunchOnTop()
96 final Activity firstActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testLaunchTranslucentOnTop() local
97 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testLaunchTranslucentOnTop()
103 waitAndAssertActivityStates(state(firstActivity, ON_PAUSE), in testLaunchTranslucentOnTop()
112 final Activity firstActivity = mFirstActivityTestRule.launchActivity(new Intent()); in testLaunchDoubleTranslucentOnTop() local
113 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testLaunchDoubleTranslucentOnTop()
119 waitAndAssertActivityStates(state(firstActivity, ON_PAUSE), in testLaunchDoubleTranslucentOnTop()
153 final Activity firstActivity = mFirstActivityTestRule.launchActivity( in testTranslucentMovedIntoStack() local
[all …]
/cts/tests/tests/uiautomation/src/android/app/uiautomation/cts/
DUiAutomationTest.java304 Activity firstActivity = null; in testWindowAnimationFrameStats() local
313 firstActivity = getInstrumentation().startActivitySync(firstIntent); in testWindowAnimationFrameStats()
361 if (firstActivity != null) { in testWindowAnimationFrameStats()
362 firstActivity.finish(); in testWindowAnimationFrameStats()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DLaunchRunner.java181 Activity firstActivity = this.launchFromContext(startContext, in run() local
184 activityLog.add(firstActivity); in run()