/cts/tests/app/app/src/android/app/stubs/ |
D | PendingIntentStubActivity.java | 26 public static final int ON_CREATE = 0; field in PendingIntentStubActivity 36 status = ON_CREATE; in onCreate()
|
D | ActivityCallbacksTestActivity.java | 31 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/framework/base/windowmanager/src/android/server/wm/activity/lifecycle/ |
D | ActivityLifecycleTests.java | 43 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_CREATE; 350 transition(LaunchForResultActivity.class, ON_CREATE), in testLaunchForResultAndLaunchAfterResultSequence() 356 transition(ResultActivity.class, ON_CREATE), in testLaunchForResultAndLaunchAfterResultSequence() 365 transition(CallbackTrackingActivity.class, ON_CREATE), in testLaunchForResultAndLaunchAfterResultSequence() 413 transition(NoDisplayActivity.class, ON_CREATE), in testTrampolineLifecycle() 414 transition(CallbackTrackingActivity.class, ON_CREATE), in testTrampolineLifecycle() 564 Arrays.asList(ON_DESTROY, ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), in testRelaunchConfigurationChangedWhileBecomingVisible() 567 Arrays.asList(ON_DESTROY, ON_CREATE, ON_START, ON_RESUME); in testRelaunchConfigurationChangedWhileBecomingVisible() 590 Arrays.asList(ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testLaunchActivityWithFlagForwardResult() 608 Arrays.asList(ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testOnActivityResult() [all …]
|
D | ActivityLifecycleLegacySplitScreenTests.java | 24 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_CREATE; 199 Arrays.asList(ON_DESTROY, ON_CREATE, ON_START, ON_POST_CREATE, in testResultInNonFocusedTask() 293 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED, 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 | 21 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_CREATE; 109 Arrays.asList(ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), "launchAndEnterPip"); in testPipOnLaunch() 287 Arrays.asList(ON_CREATE, ON_START, ON_RESUME, ON_PAUSE), in testPipAboveSplitScreen()
|
D | ActivityLifecycleTopResumedStateTests.java | 29 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_CREATE; 219 ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, ON_TOP_POSITION_GAINED); in testTopPositionSwitchOnDoubleLaunch() 228 transition(LaunchForResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunch() 235 transition(ResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunch() 269 Arrays.asList(ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionSwitchOnDoubleLaunchAndTopFinish() 274 final List<String> expectedTopActivitySequence = Arrays.asList(ON_CREATE, in testTopPositionSwitchOnDoubleLaunchAndTopFinish() 282 transition(LaunchForResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunchAndTopFinish() 289 transition(TranslucentResultActivity.class, ON_CREATE), in testTopPositionSwitchOnDoubleLaunchAndTopFinish() 765 Arrays.asList(ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionLaunchedOnTopOfLockScreen() 769 Arrays.asList(ON_CREATE, ON_START, ON_POST_CREATE, ON_RESUME, in testTopPositionLaunchedOnTopOfLockScreen()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/activity/lifecycle/ |
D | TransitionVerifier.java | 60 LifecycleConstants.ON_CREATE, in getLaunchSequence() 66 LifecycleConstants.ON_CREATE, in getLaunchSequence() 109 expectedTransitions.add(transition(launchingActivity, LifecycleConstants.ON_CREATE)); in assertLaunchSequence() 142 Arrays.asList(LifecycleConstants.ON_CREATE, LifecycleConstants.ON_START)); in assertLaunchAndStopSequence() 166 LifecycleConstants.ON_CREATE, in assertLaunchAndPauseSequence() 225 LifecycleConstants.ON_CREATE, in assertRecreateAndResumeSequence() 239 LifecycleConstants.ON_CREATE, in assertLaunchAndDestroySequence() 346 LifecycleConstants.ON_CREATE, in getRelaunchSequence() 354 LifecycleConstants.ON_CREATE, in getRelaunchSequence() 365 LifecycleConstants.ON_CREATE, in getRelaunchSequence() [all …]
|
D | LifecycleTrackingActivity.java | 27 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_CREATE; 51 mEventLogClient.onCallback(ON_CREATE); in onCreate()
|
D | LifecycleConstants.java | 28 public static final String ON_CREATE = "ON_CREATE"; field in LifecycleConstants
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/embedding/ |
D | ActivityEmbeddingLifecycleTests.java | 19 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_CREATE; 87 transition(TestConfigChangeHandlingActivity.class, ON_CREATE), in testSecondaryActivityLaunch_replacing() 88 transition(TestActivityWithId.class, ON_CREATE), in testSecondaryActivityLaunch_replacing() 100 transition(TestActivityWithId2.class, ON_CREATE), in testSecondaryActivityLaunch_replacing() 129 transition(TestConfigChangeHandlingActivity.class, ON_CREATE), in testSecondaryActivityLaunch_nonReplacing() 130 transition(TestActivityWithId.class, ON_CREATE), in testSecondaryActivityLaunch_nonReplacing() 142 transition(TestActivityWithId2.class, ON_CREATE), in testSecondaryActivityLaunch_nonReplacing() 169 transition(TestConfigChangeHandlingActivity.class, ON_CREATE), in testSecondaryActivityLaunch_multiSplit() 170 transition(TestActivityWithId.class, ON_CREATE), in testSecondaryActivityLaunch_multiSplit() 185 transition(TestActivityWithId2.class, ON_CREATE), in testSecondaryActivityLaunch_multiSplit()
|
D | ActivityEmbeddingLifecycleTestBase.java | 19 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_CREATE; 104 mEventLogClient.onCallback(ON_CREATE, activity); in onActivityCreated()
|
D | PinActivityStackTests.java | 19 import static android.server.wm.activity.lifecycle.LifecycleConstants.ON_CREATE; 135 transition(TestActivityWithId.class, ON_CREATE), in pinTopActivityStackAndVerifyLifecycle()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/webcam/ |
D | WebcamTestActivity.java | 60 ON_CREATE, enumConstant 161 mTestState = TestState.ON_CREATE; in onCreate() 186 case ON_CREATE: in updateButtonsAndInstructions()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/activity/ |
D | ConfigChangeTests.java | 138 final int relaunchCount1 = count1.getCount(ActivityCallback.ON_CREATE); in testRotation180WithCutout() 144 final int relaunchCount2 = count2.getCount(ActivityCallback.ON_CREATE); in testRotation180WithCutout() 181 : ActivityCallback.ON_CREATE; in prepareRotation() 243 countSpec(ActivityCallback.ON_CREATE, CountSpec.EQUALS, numRelaunch), in testRotation() 272 countSpec(ActivityCallback.ON_CREATE, CountSpec.EQUALS, relaunch ? 1 : 0), in testChangeFontScale()
|
/cts/hostsidetests/inputmethodservice/common/src/android/inputmethodservice/cts/common/ |
D | DeviceEventConstants.java | 76 ON_CREATE, enumConstant
|
/cts/tests/app/src/android/app/cts/ |
D | ActivityCallbacksTest.java | 19 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()
|
D | PendingIntentTest.java | 170 assertEquals(PendingIntentStubActivity.status, PendingIntentStubActivity.ON_CREATE); in testGetActivity() 237 assertEquals(PendingIntentStubActivity.status, PendingIntentStubActivity.ON_CREATE); in testGetActivities()
|
/cts/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/ime/ |
D | CtsBaseInputMethod.java | 20 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/ |
D | InputMethodServiceDeviceTest.java | 24 import static android.inputmethodservice.cts.common.DeviceEventConstants.DeviceEventType.ON_CREATE; 95 .anyMatch(isFrom(Ime1Constants.CLASS).and(isType(ON_CREATE))), in testCreateIme1() 204 .collect(sequenceOfTypes(ON_CREATE, ON_BIND_INPUT)) in testSwitchToHandwritingInputMethod()
|
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/ |
D | ActivityManagerTestBase.java | 2068 countSpec(ActivityCallback.ON_CREATE, CountSpec.EQUALS, createCount), 2156 countSpec(ActivityCallback.ON_CREATE, CountSpec.GREATER_THAN, 0, 2162 countSpec(ActivityCallback.ON_CREATE, CountSpec.LESS_THAN, 1, 2172 countSpec(ActivityCallback.ON_CREATE, CountSpec.EQUALS, numRelaunch), 2180 countSpec(ActivityCallback.ON_CREATE, CountSpec.EQUALS, 0),
|
D | CommandSession.java | 851 onCallback(ActivityCallback.ON_CREATE); 1082 ON_CREATE,
|