Home
last modified time | relevance | path

Searched refs:ON_PAUSE (Results 1 – 20 of 20) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityLifecyclePipTests.java23 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
79 waitAndAssertActivityStates(state(firstActivity, ON_RESUME), state(pipActivity, ON_PAUSE)); in testGoToPip()
81 assertSequence(PipActivity.class, getTransitionLog(), Collections.singletonList(ON_PAUSE), in testGoToPip()
95 .setExpectedState(ON_PAUSE) 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()
122 .setExpectedState(ON_PAUSE) in testDestroyPip()
143 .setExpectedState(ON_PAUSE) in testLaunchBelowPip()
163 .setExpectedState(ON_PAUSE) in testIntoPipSameTask()
[all …]
DActivityLifecycleTests.java46 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
159 Collections.singletonList(ON_PAUSE), "launch"); in testLaunchDoubleTranslucentOnTop()
207 state(firstActivity, ON_PAUSE)); in testTranslucentMovedIntoStack()
208 assertSequence(FirstActivity.class, getTransitionLog(), Collections.singletonList(ON_PAUSE), in testTranslucentMovedIntoStack()
355 transition(LaunchForResultActivity.class, ON_PAUSE), in testLaunchForResultAndLaunchAfterResultSequence()
364 transition(LaunchForResultActivity.class, ON_PAUSE), in testLaunchForResultAndLaunchAfterResultSequence()
487 waitAndAssertActivityStates(state(pausedActivity, ON_PAUSE)); in testRelaunchPaused()
489 assertRelaunchSequence(FirstActivity.class, getTransitionLog(), ON_PAUSE); in testRelaunchPaused()
560 waitAndAssertActivityStates(state(becomingVisibleActivity, ON_PAUSE), in testRelaunchConfigurationChangedWhileBecomingVisible()
564 Arrays.asList(ON_DESTROY, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), in testRelaunchConfigurationChangedWhileBecomingVisible()
[all …]
DActivityLifecycleKeyguardTests.java19 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
149 .setExpectedState(ON_PAUSE) in testKeyguardShowHideOverPip()
172 state(PipActivity.class, ON_PAUSE)); in testKeyguardShowHideOverPip()
175 Arrays.asList(ON_RESTART, ON_START, ON_RESUME, ON_PAUSE), "keyguardGone"); in testKeyguardShowHideOverPip()
DActivityTests.java23 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
116 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY), in testFinishTask_FromRoot()
131 waitAndAssertActivityStates(state(rootActivity, ON_PAUSE), in testFinishTask_FromRoot_TranslucentOnTop()
144 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY), in testFinishTask_FromRoot_TranslucentOnTop()
202 Arrays.asList(ON_PAUSE, ON_STOP, ON_DESTROY), "finishAfterTransition"); in testFinishAfterTransition_noTransition_rootOfTask()
219 Arrays.asList(ON_PAUSE, ON_STOP, ON_DESTROY), "finishAfterTransition"); in testFinishAfterTransition_noTransition()
DActivityLifecycleLegacySplitScreenTests.java27 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
156 waitAndAssertActivityStates(state(sideActivity, ON_PAUSE)); in testTranslucentOnSplitSecondaryTask()
252 waitAndAssertActivityStates(state(firstActivity, ON_PAUSE)); in testResumedTranslucentWhenRestartedFromInNonFocusedTask()
292 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, in testLifecycleOnMoveToFromSplitScreenRelaunch()
300 ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, ON_RESUME), in testLifecycleOnMoveToFromSplitScreenRelaunch()
309 Arrays.asList(ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, ON_START, in testLifecycleOnMoveToFromSplitScreenRelaunch()
387 Arrays.asList(ON_USER_LEAVE_HINT, ON_PAUSE, ON_STOP), in testOnUserLeaveHint()
DActivityLifecycleTopResumedStateTests.java32 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
199 waitAndAssertActivityStates(state(activity, ON_PAUSE)); in testTopPositionSwitchToTranslucentActivityOnTop()
227 transition(CallbackTrackingActivity.class, ON_PAUSE), in testTopPositionSwitchOnDoubleLaunch()
234 transition(LaunchForResultActivity.class, ON_PAUSE), in testTopPositionSwitchOnDoubleLaunch()
270 ON_TOP_POSITION_GAINED, ON_TOP_POSITION_LOST, ON_PAUSE, in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
281 transition(CallbackTrackingActivity.class, ON_PAUSE), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
288 transition(LaunchForResultActivity.class, ON_PAUSE), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
293 transition(TranslucentResultActivity.class, ON_PAUSE), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
399 Arrays.asList(ON_PAUSE, ON_NEW_INTENT, ON_RESUME, ON_TOP_POSITION_GAINED), in testTopPositionSwitchBetweenVisibleActivities()
417 ON_TOP_POSITION_LOST, ON_PAUSE, ON_NEW_INTENT, ON_RESUME, in testTopPositionNewIntent()
[all …]
DActivityLifecycleClientTestBase.java28 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
338 return occludingActivityIsTranslucent ? ON_PAUSE : ON_STOP; in occludedActivityState()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/
DTransitionVerifier.java108 expectedTransitions.add(transition(existingActivity, LifecycleConstants.ON_PAUSE)); in assertLaunchSequence()
154 Arrays.asList(LifecycleConstants.ON_PAUSE, LifecycleConstants.ON_STOP)); in assertLaunchAndStopSequence()
169 LifecycleConstants.ON_PAUSE); in assertLaunchAndPauseSequence()
242 LifecycleConstants.ON_PAUSE, in assertLaunchAndDestroySequence()
262 LifecycleConstants.ON_PAUSE, in getResumeToDestroySequence()
266 LifecycleConstants.ON_PAUSE, in getResumeToDestroySequence()
282 expectedTransitions.add(LifecycleConstants.ON_PAUSE); in assertResumeToStopSequence()
341 if (startState.equals(LifecycleConstants.ON_PAUSE)) { in getRelaunchSequence()
349 LifecycleConstants.ON_PAUSE); in getRelaunchSequence()
357 LifecycleConstants.ON_PAUSE, in getRelaunchSequence()
[all …]
DLifecycleTrackingActivity.java29 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
97 mEventLogClient.onCallback(ON_PAUSE); in onPause()
DLifecycleConstants.java31 public static final String ON_PAUSE = "ON_PAUSE"; field in LifecycleConstants
/cts/tests/app/app/src/android/app/stubs/
DLaunchpadActivity.java128 public static final String ON_PAUSE = "onPause"; 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.java43 ON_PAUSE, enumConstant
122 collectEvent(Source.ACTIVITY_CALLBACK, Event.ON_PAUSE); in ActivityCallbacksTestActivity()
217 collectEvent(Source.ACTIVITY_CALLBACK_CREATE_ONLY, Event.ON_PAUSE); in ActivityCallbacksTestActivity()
/cts/tests/tests/os/src/android/os/cts/
DLaunchpadActivity.java123 public static final String ON_PAUSE = "onPause"; 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/
DActivityEmbeddingLifecycleTests.java20 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
99 transition(TestActivityWithId.class, ON_PAUSE), in testSecondaryActivityLaunch_replacing()
141 transition(TestActivityWithId.class, ON_PAUSE), in testSecondaryActivityLaunch_nonReplacing()
184 transition(TestConfigChangeHandlingActivity.class, ON_PAUSE), in testSecondaryActivityLaunch_multiSplit()
245 transition(TestActivityWithId.class, ON_PAUSE), in testSplitFinish_secondaryWithDependent()
246 transition(TestConfigChangeHandlingActivity.class, ON_PAUSE)); in testSplitFinish_secondaryWithDependent()
310 transition(TestConfigChangeHandlingActivity.class, ON_PAUSE), in testSplitFinish_primaryWithDependent()
311 transition(TestActivityWithId.class, ON_PAUSE)); in testSplitFinish_primaryWithDependent()
DActivityEmbeddingLifecycleTestBase.java21 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
119 mEventLogClient.onCallback(ON_PAUSE, activity); in onActivityPaused()
DPinActivityStackTests.java20 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_PAUSE;
134 transition(TestConfigChangeHandlingActivity.class, ON_PAUSE), in pinTopActivityStackAndVerifyLifecycle()
/cts/tests/app/src/android/app/cts/
DActivityCallbacksTest.java21 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_PAUSE;
168 a.collectEvent(Source.APPLICATION_ACTIVITY_CALLBACK, ON_PAUSE); in testActivityCallbackOrder()
240 addNestedEvents(expectedEvents, ON_PRE_PAUSE, ON_PAUSE, ON_POST_PAUSE); in testActivityCallbackOrder()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DCommandSession.java982 onCallback(ActivityCallback.ON_PAUSE);
1085 ON_PAUSE,
DActivityManagerTestBase.java2071 countSpec(ActivityCallback.ON_PAUSE, CountSpec.EQUALS, pauseCount),
/cts/tests/framework/base/windowmanager/src/android/server/wm/other/
DPinnedStackTests.java1457 assertEquals("onPause", 0, lifecycleCounts.getCount(ActivityCallback.ON_PAUSE)); in testNoResumeAfterTaskOverlayFinishes()