Home
last modified time | relevance | path

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

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecycleTests.java49 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
166 waitAndAssertActivityStates(state(translucentActivity, ON_RESUME)); in testLaunchDoubleTranslucentOnTop()
170 Collections.singletonList(ON_RESUME), "launch"); in testLaunchDoubleTranslucentOnTop()
206 waitAndAssertActivityStates(state(translucentActivity, ON_RESUME), in testTranslucentMovedIntoStack()
224 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), in testDestroyTopTranslucent()
231 Arrays.asList(ON_RESUME), "resumeAfterTopDestroyed"); in testDestroyTopTranslucent()
261 waitAndAssertActivityStates(state(translucentActivity, ON_RESUME)); in testDestroyOnTopOfTranslucent()
264 waitAndAssertActivityStates(state(translucentActivity, ON_RESUME), in testDestroyOnTopOfTranslucent()
285 waitAndAssertActivityStates(state(translucentActivity, ON_RESUME)); in testDestroyDoubleTranslucentOnTop()
290 Collections.singletonList(ON_RESUME), "destroy"); in testDestroyDoubleTranslucentOnTop()
[all …]
DActivityLifecyclePipTests.java25 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
79 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testGoToPip()
100 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testPipOnLaunch()
103 Arrays.asList(ON_PAUSE, ON_RESUME); in testPipOnLaunch()
105 Arrays.asList(ON_PAUSE, ON_STOP, ON_RESTART, ON_START, ON_RESUME); in testPipOnLaunch()
109 Arrays.asList(ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), "launchAndEnterPip"); in testPipOnLaunch()
127 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testDestroyPip()
204 waitAndAssertActivityStates(state(regularActivity, ON_RESUME)); in testDestroyBelowPip()
285 waitAndAssertActivityStates(state(secondActivity, ON_RESUME)); in testPipAboveSplitScreen()
287 Arrays.asList(ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), in testPipAboveSplitScreen()
[all …]
DActivityLifecycleKeyguardTests.java21 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
96 waitAndAssertActivityCurrentState(activity.getClass(), ON_RESUME); in testKeyguardShowHide() local
98 waitAndAssertActivityStates(state(activity, ON_RESUME)); in testKeyguardShowHide()
127 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), in testKeyguardShowHideOverSplitScreen()
128 state(secondaryActivity, ON_RESUME)); in testKeyguardShowHideOverSplitScreen()
154 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testKeyguardShowHideOverPip()
171 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), in testKeyguardShowHideOverPip()
175 Arrays.asList(ON_RESTART, ON_START, ON_RESUME, ON_PAUSE), "keyguardGone"); in testKeyguardShowHideOverPip()
DActivityTests.java25 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
63 waitAndAssertActivityStates(state(activity, ON_RESUME)); in testReleaseActivityInstance_visible()
179 waitAndAssertActivityStates(state(rootActivity, ON_RESUME)); in testFinishAfterTransition()
185 state(rootActivity, ON_RESUME)); in testFinishAfterTransition()
196 waitAndAssertActivityStates(state(activity, ON_RESUME)); in testFinishAfterTransition_noTransition_rootOfTask()
213 waitAndAssertActivityStates(state(topActivity, ON_RESUME), state(rootActivity, ON_STOP)); in testFinishAfterTransition_noTransition()
231 waitAndAssertActivityStates(state(thirdActivity, ON_RESUME), state(secondActivity, ON_STOP), in testFinishAffinity()
255 waitAndAssertActivityStates(state(differentAffinityActivity, ON_RESUME), in testFinishAffinity_differentAffinity()
262 Arrays.asList(ON_RESTART, ON_START, ON_RESUME), "finishAffinity"); in testFinishAffinity_differentAffinity()
281 waitAndAssertActivityStates(state(secondActivity, ON_RESUME), in testFinishAffinity_multiTask()
[all …]
DActivityLifecycleLegacySplitScreenTests.java29 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
106 state(firstActivity, ON_RESUME)); in testResumedWhenRecreatedFromInNonFocusedTask()
183 waitAndAssertActivityStates(state(secondActivity, ON_RESUME)); in testResultInNonFocusedTask()
197 waitAndAssertActivityStates(state(callbackTrackingActivity, ON_RESUME)); in testResultInNonFocusedTask()
200 ON_ACTIVITY_RESULT, ON_RESUME), "restart"); in testResultInNonFocusedTask()
231 waitAndAssertActivityStates(state(newTaskActivity, ON_RESUME)); in testResumedWhenRestartedFromInNonFocusedTask()
263 waitAndAssertActivityStates(state(firstActivity, ON_RESUME)); in testResumedTranslucentWhenRestartedFromInNonFocusedTask()
268 Arrays.asList(ON_RESUME), "resume"); in testResumedTranslucentWhenRestartedFromInNonFocusedTask()
293 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED, in testLifecycleOnMoveToFromSplitScreenRelaunch()
300 ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, ON_RESUME), in testLifecycleOnMoveToFromSplitScreenRelaunch()
[all …]
DActivityLifecycleTopResumedStateTests.java35 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
219 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED); in testTopPositionSwitchOnDoubleLaunch()
231 transition(LaunchForResultActivity.class, ON_RESUME), in testTopPositionSwitchOnDoubleLaunch()
238 transition(ResultActivity.class, ON_RESUME), in testTopPositionSwitchOnDoubleLaunch()
269 Arrays.asList(ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
271 ON_ACTIVITY_RESULT, ON_RESUME, ON_TOP_POSITION_GAINED); in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
275 ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED); in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
285 transition(LaunchForResultActivity.class, ON_RESUME), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
292 transition(TranslucentResultActivity.class, ON_RESUME), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
295 transition(LaunchForResultActivity.class, ON_RESUME), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
[all …]
DActivityLifecycleFreeformTests.java27 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
238 Collections.singletonList(ON_RESUME), "finishTranslucentOnTop"); in testLaunchTranslucentInFreeform()
DActivityLifecycleClientTestBase.java29 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
163 ? ON_RESUME : ON_TOP_POSITION_GAINED; in launch()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/
DTransitionVerifier.java63 LifecycleConstants.ON_RESUME, in getLaunchSequence()
68 LifecycleConstants.ON_RESUME); in getLaunchSequence()
115 expectedTransitions.add(transition(launchingActivity, LifecycleConstants.ON_RESUME)); in assertLaunchSequence()
146 expectedTransitions.add(LifecycleConstants.ON_RESUME); in assertLaunchAndStopSequence()
168 LifecycleConstants.ON_RESUME, in assertLaunchAndPauseSequence()
193 LifecycleConstants.ON_RESUME); in assertRestartAndResumeSequence()
211 transition(activityClass, LifecycleConstants.ON_RESUME)); in assertRestartAndResumeSubSequence()
227 LifecycleConstants.ON_RESUME); in assertRecreateAndResumeSequence()
241 LifecycleConstants.ON_RESUME, in assertLaunchAndDestroySequence()
300 LifecycleConstants.ON_RESUME)); in assertStopToResumeSequence()
[all …]
DLifecycleTrackingActivity.java31 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
86 mEventLogClient.onCallback(ON_RESUME); in onResume()
DLifecycleConstants.java30 public static final String ON_RESUME = "ON_RESUME"; field in LifecycleConstants
/cts/tests/app/app/src/android/app/stubs/
DLaunchpadActivity.java126 public static final String ON_RESUME = "onResume"; field in LaunchpadActivity
183 ON_START, ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
187 ON_START, ON_RESUME, DO_LOCAL_SCREEN, ON_PAUSE, in onCreate()
188 ON_RESTART, ON_START, ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
191 ON_START, ON_RESUME, DO_LOCAL_SCREEN, ON_PAUSE, in onCreate()
192 ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
196 ON_START, ON_RESUME, DO_LOCAL_DIALOG, ON_PAUSE, in onCreate()
197 ON_RESTART, ON_START, ON_RESUME, DO_FINISH, ON_PAUSE in onCreate()
200 ON_START, ON_RESUME, DO_LOCAL_DIALOG, ON_PAUSE, in onCreate()
201 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/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/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingLifecycleTestBase.java22 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
114 mEventLogClient.onCallback(ON_RESUME, activity); in onActivityResumed()
DPinActivityStackTests.java21 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_RESUME;
137 transition(TestActivityWithId.class, ON_RESUME)); in pinTopActivityStackAndVerifyLifecycle()
/cts/tests/app/src/android/app/cts/
DActivityCallbacksTest.java34 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_RESUME;
146 a.collectEvent(Source.APPLICATION_ACTIVITY_CALLBACK, ON_RESUME); in testActivityCallbackOrder()
238 addNestedEvents(expectedEvents, ON_PRE_RESUME, ON_RESUME, ON_POST_RESUME); in testActivityCallbackOrder()
256 if (event == ON_CREATE || event == ON_START || event == ON_RESUME) { in addNestedEvents()
/cts/tests/framework/base/windowmanager/src/android/server/wm/multidisplay/
DMultiDisplayClientTests.java21 import static android.server.wm.CommandSession.ActivityCallback.ON_RESUME;
280 state -> getCallbackCount(activityName, ON_RESUME) == 1, in waitAndAssertResume()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DConfigChangeTests.java273 countSpec(ActivityCallback.ON_RESUME, CountSpec.EQUALS, relaunch ? 1 : 0), in testChangeFontScale()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java975 onCallback(ActivityCallback.ON_RESUME);
1084 ON_RESUME,
DActivityManagerTestBase.java2070 countSpec(ActivityCallback.ON_RESUME, CountSpec.EQUALS, resumeCount),
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPinnedStackTests.java1456 assertEquals("onResume", 0, lifecycleCounts.getCount(ActivityCallback.ON_RESUME)); in testNoResumeAfterTaskOverlayFinishes()