/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | ActivityTests.java | 22 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 77 waitAndAssertActivityStates(state(firstActivity, ON_DESTROY)); in testReleaseActivityInstance_invisible() 84 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testReleaseActivityInstance_invisible() 104 waitAndAssertActivityStates(state(rootActivity, ON_DESTROY), in testFinishTask_FromRoot() 105 state(topActivity, ON_DESTROY)); in testFinishTask_FromRoot() 109 Arrays.asList(ON_DESTROY), "finishAndRemoveTask"); in testFinishTask_FromRoot() 111 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY), in testFinishTask_FromRoot() 132 waitAndAssertActivityStates(state(rootActivity, ON_DESTROY), in testFinishTask_FromRoot_TranslucentOnTop() 133 state(topActivity, ON_DESTROY)); in testFinishTask_FromRoot_TranslucentOnTop() 137 Arrays.asList(ON_STOP, ON_DESTROY), "finishAndRemoveTask"); in testFinishTask_FromRoot_TranslucentOnTop() [all …]
|
D | ActivityLifecycleTests.java | 34 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 141 waitAndAssertActivityStates(state(secondTranslucentActivity, ON_DESTROY)); in testLaunchDoubleTranslucentOnTop() 190 state(translucentActivity, ON_DESTROY)); in testDestroyTopTranslucent() 220 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testDestroyOnTopOfTranslucent() 251 waitAndAssertActivityStates(state(secondTranslucentActivity, ON_DESTROY)); in testDestroyDoubleTranslucentOnTop() 263 waitAndAssertActivityStates(state(translucentActivity, ON_DESTROY)); in testDestroyDoubleTranslucentOnTop() 282 waitAndAssertActivityStates(state(bottomActivity, ON_DESTROY)); in testFinishBottom() 284 Arrays.asList(ON_DESTROY), "destroyOnBottom"); in testFinishBottom() 313 state(ResultActivity.class, ON_DESTROY)); in testLaunchForResultAndLaunchAfterResultSequence() 348 waitAndAssertActivityStates(state(activity, ON_DESTROY)); in testLaunchAndDestroy() [all …]
|
D | ActivityLifecycleLegacySplitScreenTests.java | 24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 100 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY), in testResumedWhenRecreatedFromInNonFocusedTask() 198 Arrays.asList(ON_DESTROY, ON_CREATE, ON_START, ON_POST_CREATE, in testResultInNonFocusedTask() 231 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testResumedWhenRestartedFromInNonFocusedTask() 263 waitAndAssertActivityStates(state(translucentActivity, ON_DESTROY)); in testResumedTranslucentWhenRestartedFromInNonFocusedTask() 291 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, in testLifecycleOnMoveToFromSplitScreenRelaunch() 296 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, in testLifecycleOnMoveToFromSplitScreenRelaunch() 305 Arrays.asList(ON_STOP, ON_DESTROY, ON_CREATE, ON_START, in testLifecycleOnMoveToFromSplitScreenRelaunch() 309 Arrays.asList(ON_DESTROY, ON_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED), in testLifecycleOnMoveToFromSplitScreenRelaunch()
|
D | LifecycleVerifier.java | 21 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 221 Arrays.asList(ON_DESTROY, ON_CREATE, ON_START, ON_RESUME); in assertRecreateAndResumeSequence() 233 ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY); in assertLaunchAndDestroySequence() 252 ? Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY) in getResumeToDestroySequence() 253 : Arrays.asList(ON_PAUSE, ON_STOP, ON_DESTROY); in getResumeToDestroySequence() 324 ON_STOP, ON_DESTROY, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE); in getRelaunchSequence() 327 ON_DESTROY, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP); in getRelaunchSequence() 330 ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, ON_START, ON_RESUME); in getRelaunchSequence() 334 ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, in getRelaunchSequence() 349 : Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, in getSplitScreenTransitionSequence() [all …]
|
D | ActivityLifecyclePipTests.java | 23 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 128 waitAndAssertActivityStates(state(pipActivity, ON_DESTROY)); in testDestroyPip() 131 Arrays.asList(ON_STOP, ON_DESTROY), "finishPip"); in testDestroyPip() 204 waitAndAssertActivityStates(state(firstActivity, ON_DESTROY)); in testDestroyBelowPip()
|
D | ActivityLifecycleTopResumedStateTests.java | 28 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 273 transition(TranslucentResultActivity.class, ON_DESTROY), in testTopPositionSwitchOnDoubleLaunchAndTopFinish() 399 waitAndAssertActivityStates(state(topActivity, ON_DESTROY)); in testTopPositionNewIntentForStopped() 410 transition(CallbackTrackingActivity.class, ON_DESTROY)), in testTopPositionNewIntentForStopped() 431 waitAndAssertActivityStates(state(topActivity, ON_DESTROY)); in testTopPositionNewIntentForPaused() 738 waitAndAssertActivityStates(state(showWhenLockedActivity, ON_DESTROY)); in testTopPositionLaunchedOnTopOfLockScreen() 1032 waitAndAssertActivityStates(state(CallbackTrackingActivity.class, ON_DESTROY)); in testFinishOnDifferentDisplay_nonFocused() 1079 waitAndAssertActivityStates(state(CallbackTrackingActivity.class, ON_DESTROY), in testFinishOnDifferentDisplay_focused() 1125 waitAndAssertActivityStates(state(pipActivity, ON_DESTROY)); in testTopPositionNotSwitchedToPip() 1128 ON_STOP, ON_DESTROY), "finishPip"); in testTopPositionNotSwitchedToPip() [all …]
|
D | LifecycleLog.java | 47 ON_DESTROY, enumConstant
|
D | ActivityLifecycleClientTestBase.java | 27 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 421 mLifecycleLogClient.onActivityCallback(ON_DESTROY); in onDestroy()
|
/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/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodServiceDeviceTest.java | 25 import static android.inputmethodservice.cts.common.DeviceEventConstants.DeviceEventType.ON_DESTROY; 125 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_DESTROY))), in testSwitchIme1ToIme2() 164 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_DESTROY))), in testSwitchInputMethod()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 1943 countSpec(ActivityCallback.ON_DESTROY, CountSpec.EQUALS, destroyCount), 2018 countSpec(ActivityCallback.ON_DESTROY, CountSpec.GREATER_THAN, 0, 2024 countSpec(ActivityCallback.ON_DESTROY, CountSpec.LESS_THAN, 1, 2035 countSpec(ActivityCallback.ON_DESTROY, CountSpec.EQUALS, numRelaunch), 2043 countSpec(ActivityCallback.ON_DESTROY, CountSpec.EQUALS, 1),
|
D | CommandSession.java | 935 onCallback(ActivityCallback.ON_DESTROY); 1029 ON_DESTROY,
|