Home
last modified time | relevance | path

Searched refs:ON_CREATE (Results 1 – 17 of 17) sorted by relevance

/cts/tests/framework/base/windowmanager/src/android/server/wm/lifecycle/
DActivityLifecycleTests.java33 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
315 transition(LaunchForResultActivity.class, ON_CREATE), in testLaunchForResultAndLaunchAfterResultSequence()
321 transition(ResultActivity.class, ON_CREATE), in testLaunchForResultAndLaunchAfterResultSequence()
330 transition(CallbackTrackingActivity.class, ON_CREATE), in testLaunchForResultAndLaunchAfterResultSequence()
378 transition(NoDisplayActivity.class, ON_CREATE), in testTrampolineLifecycle()
379 transition(CallbackTrackingActivity.class, ON_CREATE), in testTrampolineLifecycle()
531 Arrays.asList(ON_DESTROY, ON_CREATE, ON_START, ON_RESUME, in testRelaunchConfigurationChangedWhileBecomingVisible()
534 Arrays.asList(ON_DESTROY, ON_CREATE, ON_START, ON_RESUME); in testRelaunchConfigurationChangedWhileBecomingVisible()
557 Arrays.asList(ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testLaunchActivityWithFlagForwardResult()
574 Arrays.asList(ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testOnActivityResult()
[all …]
DLifecycleVerifier.java20 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
74 ? Arrays.asList(ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in getLaunchSequence()
76 : Arrays.asList(ON_CREATE, ON_START, ON_RESUME); in getLaunchSequence()
115 expectedTransitions.add(transition(launchingActivity, ON_CREATE)); in assertLaunchSequence()
147 Arrays.asList(ON_CREATE, ON_START)); in assertLaunchAndStopSequence()
167 Arrays.asList(ON_CREATE, ON_START, ON_RESUME, ON_PAUSE); in assertLaunchAndPauseSequence()
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()
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()
[all …]
DActivityLifecycleLegacySplitScreenTests.java23 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
193 Arrays.asList(ON_DESTROY, ON_CREATE, ON_START, ON_POST_CREATE, in testResultInNonFocusedTask()
287 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED, in testLifecycleOnMoveToFromSplitScreenRelaunch()
291 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, in testLifecycleOnMoveToFromSplitScreenRelaunch()
300 Arrays.asList(ON_STOP, ON_DESTROY, ON_CREATE, ON_START, in testLifecycleOnMoveToFromSplitScreenRelaunch()
304 Arrays.asList(ON_DESTROY, ON_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED), in testLifecycleOnMoveToFromSplitScreenRelaunch()
DActivityLifecyclePipTests.java22 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
104 Arrays.asList(ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), "launchAndEnterPip"); in testPipOnLaunch()
276 Arrays.asList(ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), in testPipAboveSplitScreen()
DActivityLifecycleTopResumedStateTests.java28 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
203 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED); in testTopPositionSwitchOnDoubleLaunch()
211 transition(LaunchForResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunch()
218 transition(ResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunch()
243 Arrays.asList(ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
248 final List<ActivityCallback> expectedTopActivitySequence = Arrays.asList(ON_CREATE, in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
255 transition(LaunchForResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
262 transition(TranslucentResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
726 Arrays.asList(ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionLaunchedOnTopOfLockScreen()
DLifecycleLog.java41 ON_CREATE, enumConstant
DActivityLifecycleClientTestBase.java26 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
379 mLifecycleLogClient.onActivityCallback(ON_CREATE); in onCreate()
/cts/tests/app/app/src/android/app/stubs/
DPendingIntentStubActivity.java26 public static final int ON_CREATE = 0; field in PendingIntentStubActivity
36 status = ON_CREATE; in onCreate()
DActivityCallbacksTestActivity.java31 ON_CREATE, enumConstant
77 collectEvent(Source.ACTIVITY_CALLBACK, Event.ON_CREATE); in ActivityCallbacksTestActivity()
175 collectEvent(Source.ACTIVITY_CALLBACK_CREATE_ONLY, Event.ON_CREATE); in ActivityCallbacksTestActivity()
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DDeviceEventConstants.java76 ON_CREATE, enumConstant
/cts/tests/app/src/android/app/cts/
DActivityCallbacksTest.java19 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_CREATE;
104 a.collectEvent(Source.APPLICATION_ACTIVITY_CALLBACK, ON_CREATE); in testActivityCallbackOrder()
236 addNestedEvents(expectedEvents, ON_PRE_CREATE, ON_CREATE, ON_POST_CREATE); in testActivityCallbackOrder()
256 if (event == ON_CREATE || event == ON_START || event == ON_RESUME) { in addNestedEvents()
260 if (event == ON_CREATE) { in addNestedEvents()
DPendingIntentTest.java157 assertEquals(PendingIntentStubActivity.status, PendingIntentStubActivity.ON_CREATE); in testGetActivity()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DConfigChangeTests.java131 final int relaunchCount1 = count1.getCount(ActivityCallback.ON_CREATE); in testRotation180WithCutout()
137 final int relaunchCount2 = count2.getCount(ActivityCallback.ON_CREATE); in testRotation180WithCutout()
174 : ActivityCallback.ON_CREATE; in prepareRotation()
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DCtsBaseInputMethod.java20 import static android.inputmethodservice.cts.common.DeviceEventConstants.DeviceEventType.ON_CREATE;
80 sendEvent(ON_CREATE); in onCreate()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DInputMethodServiceDeviceTest.java24 import static android.inputmethodservice.cts.common.DeviceEventConstants.DeviceEventType.ON_CREATE;
85 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_CREATE))), in testCreateIme1()
104 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_CREATE))), in testSwitchIme1ToIme2()
130 .collect(sequenceOfTypes(ON_CREATE, ON_BIND_INPUT, ON_START_INPUT)) in testSwitchIme1ToIme2()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1968 countSpec(ActivityCallback.ON_CREATE, CountSpec.EQUALS, createCount),
2050 countSpec(ActivityCallback.ON_CREATE, CountSpec.GREATER_THAN, 0,
2056 countSpec(ActivityCallback.ON_CREATE, CountSpec.LESS_THAN, 1,
2066 countSpec(ActivityCallback.ON_CREATE, CountSpec.EQUALS, numRelaunch),
2074 countSpec(ActivityCallback.ON_CREATE, CountSpec.EQUALS, 0),
DCommandSession.java792 onCallback(ActivityCallback.ON_CREATE);
1023 ON_CREATE,