Home
last modified time | relevance | path

Searched refs:ON_RESUME (Results 1 – 18 of 18) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTests.java31 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME;
74 waitAndAssertActivityStates(state(activity, ON_RESUME)); in testSingleLaunch()
82 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testLaunchOnTop()
87 state(secondActivity, ON_RESUME)); in testLaunchOnTop()
97 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testLaunchTranslucentOnTop()
104 state(translucentActivity, ON_RESUME)); in testLaunchTranslucentOnTop()
113 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testLaunchDoubleTranslucentOnTop()
120 state(translucentActivity, ON_RESUME)); in testLaunchDoubleTranslucentOnTop()
130 state(secondTranslucentActivity, ON_RESUME)); in testLaunchDoubleTranslucentOnTop()
139 waitAndAssertActivityStates(state(translucentActivity, ON_RESUME)); in testLaunchDoubleTranslucentOnTop()
[all …]
DActivityLifecycleSplitScreenTests.java30 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME;
86 waitAndAssertActivityStates(state(secondActivity, ON_RESUME), in testResumedWhenRecreatedFromInNonFocusedStack()
102 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testResumedWhenRecreatedFromInNonFocusedStack()
114 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testOccludingMovedBetweenStacks()
129 waitAndAssertActivityStates(state(secondActivity, ON_RESUME), in testOccludingMovedBetweenStacks()
130 state(firstActivity, ON_RESUME)); in testOccludingMovedBetweenStacks()
132 Arrays.asList(ON_RESUME), "launchToSide"); in testOccludingMovedBetweenStacks()
138 waitAndAssertActivityStates(state(thirdActivity, ON_RESUME), in testOccludingMovedBetweenStacks()
145 waitAndAssertActivityStates(state(secondActivity, ON_RESUME), in testOccludingMovedBetweenStacks()
158 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testTranslucentMovedBetweenStacks()
[all …]
DActivityLifecyclePipTests.java27 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME;
72 waitAndAssertActivityStates(state(firstActivity, ON_STOP), state(pipActivity, ON_RESUME)); in testGoToPip()
83 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testGoToPip()
95 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testPipOnLaunch()
103 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testPipOnLaunch()
106 Arrays.asList(ON_PAUSE, ON_RESUME); in testPipOnLaunch()
108 Arrays.asList(ON_PAUSE, ON_STOP, ON_RESTART, ON_START, ON_RESUME); in testPipOnLaunch()
113 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), in testPipOnLaunch()
123 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testDestroyPip()
131 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testDestroyPip()
[all …]
DActivityLifecycleKeyguardTests.java24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME;
70 waitAndAssertActivityStates(state(activity, ON_RESUME)); in testKeyguardShowHide()
82 waitAndAssertActivityStates(state(activity, ON_RESUME)); in testKeyguardShowHide()
93 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testKeyguardShowHideOverSplitScreen()
103 waitAndAssertActivityStates(state(secondActivity, ON_RESUME)); in testKeyguardShowHideOverSplitScreen()
106 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testKeyguardShowHideOverSplitScreen()
120 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), in testKeyguardShowHideOverSplitScreen()
121 state(secondActivity, ON_RESUME)); in testKeyguardShowHideOverSplitScreen()
138 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testKeyguardShowHideOverPip()
146 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testKeyguardShowHideOverPip()
[all …]
DLifecycleVerifier.java26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME;
70 ? Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in getLaunchSequence()
72 : Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME); in getLaunchSequence()
109 expectedTransitions.add(transition(launchingActivity, ON_RESUME)); in assertLaunchSequence()
140 expectedTransitions.add(ON_RESUME); in assertLaunchAndStopSequence()
156 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE); in assertLaunchAndPauseSequence()
180 Arrays.asList(ON_RESTART, ON_START, ON_RESUME); in assertRestartAndResumeSequence()
192 Arrays.asList(ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME); in assertRecreateAndResumeSequence()
204 PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY); in assertLaunchAndDestroySequence()
254 Arrays.asList(ON_RESTART, ON_START, ON_RESUME)); in assertStopToResumeSequence()
[all …]
DActivityLifecycleTopResumedStateTests.java31 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME;
205 PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionSwitchOnDoubleLaunch()
218 transition(LaunchForResultActivity.class, ON_RESUME), in testTopPositionSwitchOnDoubleLaunch()
226 transition(ResultActivity.class, ON_RESUME), in testTopPositionSwitchOnDoubleLaunch()
247 PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
249 ON_ACTIVITY_RESULT, ON_RESUME, ON_TOP_POSITION_GAINED); in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
254 PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
265 transition(LaunchForResultActivity.class, ON_RESUME), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
273 transition(ResultActivity.class, ON_RESUME), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
278 transition(LaunchForResultActivity.class, ON_RESUME), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
[all …]
DActivityLifecycleFreeformTests.java28 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME;
233 Arrays.asList(ON_RESUME), "finishTranslucentOnTop"); in testLaunchTranslucentInFreeform()
DActivityLifecycleClientTestBase.java29 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME;
241 mLifecycleLogClient.onActivityCallback(ON_RESUME); in onResume()
DActivityStarterTests.java30 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_RESUME;
80 waitAndAssertActivityStates(state(initialActivity, ON_RESUME)); in testClearTopNewTaskResetTask()
DLifecycleLog.java44 ON_RESUME, enumConstant
/cts/tests/tests/os/src/android/os/cts/
DLaunchpadActivity.java121 public static final String ON_RESUME = "onResume"; field in LaunchpadActivity
181 ON_START, ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
185 ON_START, ON_RESUME, DO_LOCAL_SCREEN, ON_PAUSE, in onCreate()
186 ON_RESTART, ON_START, ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
189 ON_START, ON_RESUME, DO_LOCAL_SCREEN, ON_PAUSE, in onCreate()
190 ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
194 ON_START, ON_RESUME, DO_LOCAL_DIALOG, ON_PAUSE, in onCreate()
195 ON_RESTART, ON_START, ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
198 ON_START, ON_RESUME, DO_LOCAL_DIALOG, ON_PAUSE, in onCreate()
199 ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
[all …]
/cts/tests/app/app/src/android/app/stubs/
DLaunchpadActivity.java127 public static final String ON_RESUME = "onResume"; field in LaunchpadActivity
187 ON_START, ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
191 ON_START, ON_RESUME, DO_LOCAL_SCREEN, ON_PAUSE, in onCreate()
192 ON_RESTART, ON_START, ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
195 ON_START, ON_RESUME, DO_LOCAL_SCREEN, ON_PAUSE, in onCreate()
196 ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
200 ON_START, ON_RESUME, DO_LOCAL_DIALOG, ON_PAUSE, in onCreate()
201 ON_RESTART, ON_START, ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
204 ON_START, ON_RESUME, DO_LOCAL_DIALOG, ON_PAUSE, in onCreate()
205 ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
[all …]
DActivityCallbacksTestActivity.java39 ON_RESUME, enumConstant
107 collectEvent(Source.ACTIVITY_CALLBACK, Event.ON_RESUME); in ActivityCallbacksTestActivity()
202 collectEvent(Source.ACTIVITY_CALLBACK_CREATE_ONLY, Event.ON_RESUME); in ActivityCallbacksTestActivity()
/cts/tests/app/src/android/app/cts/
DActivityCallbacksTest.java34 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_RESUME;
138 a.collectEvent(Source.APPLICATION_ACTIVITY_CALLBACK, ON_RESUME); in testActivityCallbackOrder()
220 addNestedEvents(expectedEvents, ON_PRE_RESUME, ON_RESUME, ON_POST_RESUME); in testActivityCallbackOrder()
238 if (event == ON_CREATE || event == ON_START || event == ON_RESUME) { in addNestedEvents()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DMultiDisplayClientTests.java21 import static android.server.wm.CommandSession.ActivityCallback.ON_RESUME;
140 getCallbackCount(activityName, ON_RESUME) == 1, "waitForResume"); in waitAndAssertResume()
141 assertEquals("Must be resumed once", 1, getCallbackCount(activityName, ON_RESUME)); in waitAndAssertResume()
DPinnedStackTests.java1007 assertEquals("onResume", 0, lifecycleCounts.getCount(ActivityCallback.ON_RESUME)); in testNoResumeAfterTaskOverlayFinishes()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java823 onCallback(ActivityCallback.ON_RESUME);
926 ON_RESUME,
DActivityManagerTestBase.java1481 countSpec(ActivityCallback.ON_RESUME, CountSpec.EQUALS, resumeCount),