/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/ |
D | ActivityTests.java | 22 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 …]
|
D | ActivityLifecycleTests.java | 44 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 …]
|
D | ActivityLifecycleLegacySplitScreenTests.java | 25 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()
|
D | ActivityLifecyclePipTests.java | 22 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()
|
D | ActivityLifecycleTopResumedStateTests.java | 30 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/ |
D | TransitionVerifier.java | 224 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()
|
D | LifecycleTrackingActivity.java | 28 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_DESTROY; 117 mEventLogClient.onCallback(ON_DESTROY); in onDestroy()
|
D | LifecycleConstants.java | 34 public static final String ON_DESTROY = "ON_DESTROY"; field in LifecycleConstants
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingLifecycleTestBase.java | 20 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/ |
D | DeviceEventConstants.java | 116 ON_DESTROY, enumConstant
|
/cts/tests/app/app/src/android/app/stubs/ |
D | ActivityCallbacksTestActivity.java | 51 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/ |
D | CtsBaseInputMethod.java | 21 import static android.inputmethodservice.cts.common.DeviceEventConstants.DeviceEventType.ON_DESTROY; 207 sendEvent(ON_DESTROY); in onDestroy()
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityCallbacksTest.java | 20 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/ |
D | ConfigChangeTests.java | 242 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/ |
D | ActivityManagerTestBase.java | 2073 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),
|
D | CommandSession.java | 994 onCallback(ActivityCallback.ON_DESTROY); 1088 ON_DESTROY,
|