/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/ |
D | LifecycleVerifier.java | 21 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 192 Arrays.asList(ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME); in assertRecreateAndResumeSequence() 204 PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY); in assertLaunchAndDestroySequence() 223 ? Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY) in getResumeToDestroySequence() 224 : Arrays.asList(ON_PAUSE, ON_STOP, ON_DESTROY); in getResumeToDestroySequence() 273 ON_STOP, ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE); in getRelaunchSequence() 276 ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP); in getRelaunchSequence() 279 ON_PAUSE, ON_STOP, ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME); in getRelaunchSequence() 283 ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, PRE_ON_CREATE, ON_CREATE, in getRelaunchSequence() 295 ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, PRE_ON_CREATE, in getSplitScreenTransitionSequence() [all …]
|
D | ActivityLifecycleTests.java | 26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 140 waitAndAssertActivityStates(state(secondTranslucentActivity, ON_DESTROY)); in testLaunchDoubleTranslucentOnTop() 189 state(translucentActivity, ON_DESTROY)); in testDestroyTopTranslucent() 225 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testDestroyOnTopOfTranslucent() 257 waitAndAssertActivityStates(state(secondTranslucentActivity, ON_DESTROY)); in testDestroyDoubleTranslucentOnTop() 269 waitAndAssertActivityStates(state(translucentActivity, ON_DESTROY)); in testDestroyDoubleTranslucentOnTop() 281 waitAndAssertActivityStates(state(activity, ON_DESTROY)); in testLaunchAndDestroy() 386 Arrays.asList(ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, in testRelaunchConfigurationChangedWhileBecomingVisible() 389 Arrays.asList(ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME); in testRelaunchConfigurationChangedWhileBecomingVisible() 489 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, PRE_ON_CREATE, in testOnPostCreateAfterRecreateInOnResume() [all …]
|
D | ActivityLifecycleSplitScreenTests.java | 25 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 101 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testResumedWhenRecreatedFromInNonFocusedStack() 284 waitAndAssertActivityStates(state(secondActivity, ON_DESTROY)); in testResumedWhenRestartedFromInNonFocusedStack() 324 waitAndAssertActivityStates(state(translucentActivity, ON_DESTROY)); in testResumedTranslucentWhenRestartedFromInNonFocusedStack() 350 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, PRE_ON_CREATE, in testLifecycleOnMoveToFromSplitScreenRelaunch() 355 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, in testLifecycleOnMoveToFromSplitScreenRelaunch() 368 Arrays.asList(ON_STOP, ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, in testLifecycleOnMoveToFromSplitScreenRelaunch() 373 Arrays.asList(ON_DESTROY, ON_CREATE, ON_MULTI_WINDOW_MODE_CHANGED), in testLifecycleOnMoveToFromSplitScreenRelaunch()
|
D | ActivityLifecyclePipTests.java | 24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 137 waitAndAssertActivityStates(state(pipActivity, ON_DESTROY)); in testDestroyPip() 140 Arrays.asList(ON_STOP, ON_DESTROY), "finishPip"); in testDestroyPip() 207 waitAndAssertActivityStates(state(firstActivity, ON_DESTROY)); in testDestroyBelowPip()
|
D | ActivityLifecycleTopResumedStateTests.java | 26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 281 transition(ResultActivity.class, ON_DESTROY), in testTopPositionSwitchOnDoubleLaunchAndTopFinish() 411 state(topActivity, ON_DESTROY)); in testTopPositionNewIntentForStopped() 422 transition(CallbackTrackingActivity.class, ON_DESTROY)), in testTopPositionNewIntentForStopped() 445 state(topActivity, ON_DESTROY)); in testTopPositionNewIntentForPaused() 454 transition(TranslucentCallbackTrackingActivity.class, ON_DESTROY)), in testTopPositionNewIntentForPaused() 738 waitAndAssertActivityStates(state(showWhenLockedActivity, ON_DESTROY)); in testTopPositionLaunchedOnTopOfLockScreen() 1020 waitAndAssertActivityStates(state(pipActivity, ON_DESTROY)); in testTopPositionNotSwitchedToPip() 1023 ON_STOP, ON_DESTROY), "finishPip"); in testTopPositionNotSwitchedToPip() 1064 waitAndAssertActivityStates(state(alwaysFocusableActivity, ON_DESTROY), in testTopPositionForAlwaysFocusableActivityInPip()
|
D | ActivityLifecycleClientTestBase.java | 23 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_DESTROY; 259 mLifecycleLogClient.onActivityCallback(ON_DESTROY); in onDestroy()
|
D | LifecycleLog.java | 48 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; 156 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; 198 a.collectEvent(Source.APPLICATION_ACTIVITY_CALLBACK, ON_DESTROY); in testActivityCallbackOrder() 224 addNestedEvents(expectedEvents, ON_PRE_DESTROY, ON_DESTROY, ON_POST_DESTROY); in testActivityCallbackOrder()
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | DeviceEventConstants.java | 116 ON_DESTROY, enumConstant
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodServiceDeviceTest.java | 25 import static android.inputmethodservice.cts.common.DeviceEventConstants.DeviceEventType.ON_DESTROY; 118 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_DESTROY))), in testSwitchIme1ToIme2() 157 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_DESTROY))), in testSwitchInputMethod()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 1542 countSpec(ActivityCallback.ON_DESTROY, CountSpec.EQUALS, destroyCount), 1623 countSpec(ActivityCallback.ON_DESTROY, CountSpec.GREATER_THAN, 0, 1629 countSpec(ActivityCallback.ON_DESTROY, CountSpec.LESS_THAN, 1, 1641 countSpec(ActivityCallback.ON_DESTROY, CountSpec.EQUALS, numRelaunch), 1650 countSpec(ActivityCallback.ON_DESTROY, CountSpec.EQUALS, 1),
|
D | CommandSession.java | 842 onCallback(ActivityCallback.ON_DESTROY); 930 ON_DESTROY,
|