Home
last modified time | relevance | path

Searched refs:ON_DESTROY (Results 1 – 16 of 16) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/
DActivityTests.java22 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_DESTROY;
82 waitAndAssertActivityStates(state(firstActivity, ON_DESTROY)); in testReleaseActivityInstance_invisible()
89 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testReleaseActivityInstance_invisible()
109 waitAndAssertActivityStates(state(rootActivity, ON_DESTROY), in testFinishTask_FromRoot()
110 state(topActivity, ON_DESTROY)); in testFinishTask_FromRoot()
114 Collections.singletonList(ON_DESTROY), "finishAndRemoveTask"); in testFinishTask_FromRoot()
116 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY), in testFinishTask_FromRoot()
137 waitAndAssertActivityStates(state(rootActivity, ON_DESTROY), in testFinishTask_FromRoot_TranslucentOnTop()
138 state(topActivity, ON_DESTROY)); in testFinishTask_FromRoot_TranslucentOnTop()
142 Arrays.asList(ON_STOP, ON_DESTROY), "finishAndRemoveTask"); in testFinishTask_FromRoot_TranslucentOnTop()
[all …]
DActivityLifecycleTests.java44 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_DESTROY;
167 waitAndAssertActivityStates(state(secondTranslucentActivity, ON_DESTROY)); in testLaunchDoubleTranslucentOnTop()
225 state(translucentActivity, ON_DESTROY)); in testDestroyTopTranslucent()
255 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testDestroyOnTopOfTranslucent()
286 waitAndAssertActivityStates(state(secondTranslucentActivity, ON_DESTROY)); in testDestroyDoubleTranslucentOnTop()
298 waitAndAssertActivityStates(state(translucentActivity, ON_DESTROY)); in testDestroyDoubleTranslucentOnTop()
316 waitAndAssertActivityStates(state(bottomActivity, ON_DESTROY)); in testFinishBottom()
318 Collections.singletonList(ON_DESTROY), "destroyOnBottom"); in testFinishBottom()
347 state(ResultActivity.class, ON_DESTROY)); in testLaunchForResultAndLaunchAfterResultSequence()
377 waitAndAssertActivityStates(state(activity, ON_DESTROY)); in testLaunchAndDestroy()
[all …]
DActivityLifecycleLegacySplitScreenTests.java25 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_DESTROY;
105 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY), in testResumedWhenRecreatedFromInNonFocusedTask()
199 Arrays.asList(ON_DESTROY, ON_CREATE, ON_START, ON_POST_CREATE, in testResultInNonFocusedTask()
232 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testResumedWhenRestartedFromInNonFocusedTask()
264 waitAndAssertActivityStates(state(translucentActivity, ON_DESTROY)); 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()
315 Arrays.asList(ON_DESTROY, ON_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED), in testLifecycleOnMoveToFromSplitScreenRelaunch()
DActivityLifecyclePipTests.java22 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_DESTROY;
133 waitAndAssertActivityStates(state(pipActivity, ON_DESTROY)); in testDestroyPip()
136 Arrays.asList(ON_STOP, ON_DESTROY), "finishPip"); in testDestroyPip()
209 waitAndAssertActivityStates(state(regularActivity, ON_DESTROY)); in testDestroyBelowPip()
DActivityLifecycleTopResumedStateTests.java30 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_DESTROY;
304 expectedTransitions.add(transition(TranslucentResultActivity.class, ON_DESTROY)); in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
307 expectedTransitions.add(transition(TranslucentResultActivity.class, ON_DESTROY)); in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
437 waitAndAssertActivityStates(state(topActivity, ON_DESTROY)); in testTopPositionNewIntentForStopped()
448 transition(CallbackTrackingActivity.class, ON_DESTROY)), in testTopPositionNewIntentForStopped()
469 waitAndAssertActivityStates(state(topActivity, ON_DESTROY)); in testTopPositionNewIntentForPaused()
781 waitAndAssertActivityStates(state(showWhenLockedActivity, ON_DESTROY)); in testTopPositionLaunchedOnTopOfLockScreen()
1083 waitAndAssertActivityStates(state(CallbackTrackingActivity.class, ON_DESTROY)); in testFinishOnDifferentDisplay_nonFocused()
1130 waitAndAssertActivityStates(state(CallbackTrackingActivity.class, ON_DESTROY), in testFinishOnDifferentDisplay_focused()
1176 waitAndAssertActivityStates(state(pipActivity, ON_DESTROY)); in testTopPositionNotSwitchedToPip()
[all …]
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/
DTransitionVerifier.java224 LifecycleConstants.ON_DESTROY, in assertRecreateAndResumeSequence()
244 LifecycleConstants.ON_DESTROY); in assertLaunchAndDestroySequence()
264 LifecycleConstants.ON_DESTROY) in getResumeToDestroySequence()
268 LifecycleConstants.ON_DESTROY); in getResumeToDestroySequence()
345 LifecycleConstants.ON_DESTROY, in getRelaunchSequence()
353 LifecycleConstants.ON_DESTROY, in getRelaunchSequence()
364 LifecycleConstants.ON_DESTROY, in getRelaunchSequence()
375 LifecycleConstants.ON_DESTROY, in getRelaunchSequence()
399 LifecycleConstants.ON_DESTROY, in getSplitScreenTransitionSequence()
409 LifecycleConstants.ON_DESTROY, in getSplitScreenTransitionSequence()
DLifecycleTrackingActivity.java28 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_DESTROY;
117 mEventLogClient.onCallback(ON_DESTROY); in onDestroy()
DLifecycleConstants.java34 public static final String ON_DESTROY = "ON_DESTROY"; field in LifecycleConstants
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/
DActivityEmbeddingLifecycleTestBase.java20 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_DESTROY;
91 mLifecycleTracker.waitAndAssertActivityCurrentState(activityClass, ON_DESTROY); in waitAndAssertActivityOnDestroy()
129 mEventLogClient.onCallback(ON_DESTROY, activity); in onActivityDestroyed()
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DDeviceEventConstants.java116 ON_DESTROY, enumConstant
/cts/tests/app/app/src/android/app/stubs/
DActivityCallbacksTestActivity.java51 ON_DESTROY, enumConstant
157 collectEvent(Source.ACTIVITY_CALLBACK, Event.ON_DESTROY); in ActivityCallbacksTestActivity()
252 collectEvent(Source.ACTIVITY_CALLBACK_CREATE_ONLY, Event.ON_DESTROY); in ActivityCallbacksTestActivity()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DCtsBaseInputMethod.java21 import static android.inputmethodservice.cts.common.DeviceEventConstants.DeviceEventType.ON_DESTROY;
207 sendEvent(ON_DESTROY); in onDestroy()
/cts/tests/app/src/android/app/cts/
DActivityCallbacksTest.java20 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_DESTROY;
215 a.collectEvent(Source.APPLICATION_ACTIVITY_CALLBACK, ON_DESTROY); in testActivityCallbackOrder()
242 addNestedEvents(expectedEvents, ON_PRE_DESTROY, ON_DESTROY, ON_POST_DESTROY); in testActivityCallbackOrder()
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/
DConfigChangeTests.java242 countSpec(ActivityCallback.ON_DESTROY, CountSpec.EQUALS, numRelaunch), in testRotation()
271 countSpec(ActivityCallback.ON_DESTROY, CountSpec.EQUALS, relaunch ? 1 : 0), in testChangeFontScale()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java2073 countSpec(ActivityCallback.ON_DESTROY, CountSpec.EQUALS, destroyCount),
2154 countSpec(ActivityCallback.ON_DESTROY, CountSpec.GREATER_THAN, 0,
2160 countSpec(ActivityCallback.ON_DESTROY, CountSpec.LESS_THAN, 1,
2171 countSpec(ActivityCallback.ON_DESTROY, CountSpec.EQUALS, numRelaunch),
2179 countSpec(ActivityCallback.ON_DESTROY, CountSpec.EQUALS, 1),
DCommandSession.java994 onCallback(ActivityCallback.ON_DESTROY);
1088 ON_DESTROY,