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/
DLifecycleVerifier.java20 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
70 ? Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in getLaunchSequence()
72 : Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME); in getLaunchSequence()
104 expectedTransitions.add(transition(launchingActivity, ON_CREATE)); in assertLaunchSequence()
136 expectedTransitions.addAll(Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START)); in assertLaunchAndStopSequence()
156 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE); in assertLaunchAndPauseSequence()
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()
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()
[all …]
DActivityLifecycleTests.java25 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
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()
402 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testOnActivityResult()
409 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testOnActivityResult()
414 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testOnActivityResult()
419 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testOnActivityResult()
439 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testOnActivityResultAfterStop()
445 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testOnActivityResultAfterStop()
449 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testOnActivityResultAfterStop()
[all …]
DActivityLifecycleSplitScreenTests.java24 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
352 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED, in testLifecycleOnMoveToFromSplitScreenRelaunch()
356 Arrays.asList(ON_TOP_POSITION_LOST, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE, in testLifecycleOnMoveToFromSplitScreenRelaunch()
369 Arrays.asList(ON_STOP, ON_DESTROY, PRE_ON_CREATE, ON_CREATE, ON_START, in testLifecycleOnMoveToFromSplitScreenRelaunch()
374 Arrays.asList(ON_DESTROY, ON_CREATE, ON_MULTI_WINDOW_MODE_CHANGED), in testLifecycleOnMoveToFromSplitScreenRelaunch()
DActivityLifecyclePipTests.java23 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
113 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), in testPipOnLaunch()
276 Arrays.asList(PRE_ON_CREATE, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), in testPipAboveSplitScreen()
DActivityLifecycleTopResumedStateTests.java25 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
205 PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionSwitchOnDoubleLaunch()
215 transition(LaunchForResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunch()
223 transition(ResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunch()
247 PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
254 PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
262 transition(LaunchForResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
270 transition(ResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunchAndTopFinish()
728 PRE_ON_CREATE, ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionLaunchedOnTopOfLockScreen()
DActivityLifecycleClientTestBase.java22 import static android.server.wm.lifecycle.LifecycleLog.ActivityCallback.ON_CREATE;
229 mLifecycleLogClient.onActivityCallback(ON_CREATE); in onCreate()
DLifecycleLog.java42 ON_CREATE, enumConstant
/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/tests/app/src/android/app/cts/
DActivityCallbacksTest.java19 import static android.app.stubs.ActivityCallbacksTestActivity.Event.ON_CREATE;
102 a.collectEvent(Source.APPLICATION_ACTIVITY_CALLBACK, ON_CREATE); in testActivityCallbackOrder()
218 addNestedEvents(expectedEvents, ON_PRE_CREATE, ON_CREATE, ON_POST_CREATE); in testActivityCallbackOrder()
238 if (event == ON_CREATE || event == ON_START || event == ON_RESUME) { in addNestedEvents()
242 if (event == ON_CREATE) { in addNestedEvents()
DPendingIntentTest.java153 assertEquals(PendingIntentStubActivity.status, PendingIntentStubActivity.ON_CREATE); in testGetActivity()
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/
DDeviceEventConstants.java76 ON_CREATE, enumConstant
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/
DCtsBaseInputMethod.java20 import static android.inputmethodservice.cts.common.DeviceEventConstants.DeviceEventType.ON_CREATE;
70 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;
78 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_CREATE))), in testCreateIme1()
97 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_CREATE))), in testSwitchIme1ToIme2()
123 .collect(sequenceOfTypes(ON_CREATE, ON_BIND_INPUT, ON_START_INPUT)) in testSwitchIme1ToIme2()
/cts/tests/framework/base/windowmanager/src/android/server/wm/
DConfigChangeTests.java204 int relaunchCount = counter.getCount(ActivityCallback.ON_CREATE); in getStateCountForRotation()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DActivityManagerTestBase.java1479 countSpec(ActivityCallback.ON_CREATE, CountSpec.EQUALS, createCount),
1567 countSpec(ActivityCallback.ON_CREATE, CountSpec.GREATER_THAN, 0,
1573 countSpec(ActivityCallback.ON_CREATE, CountSpec.LESS_THAN, 1,
1584 countSpec(ActivityCallback.ON_CREATE, CountSpec.EQUALS, numRelaunch),
1593 countSpec(ActivityCallback.ON_CREATE, CountSpec.EQUALS, 0),
DCommandSession.java714 onCallback(ActivityCallback.ON_CREATE);
924 ON_CREATE,