Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_CREATE;
97 assertArrayEquals(new int[] {ON_CREATE}, path(ON_CREATE)); in testLifecycleFromPreOnCreate()
98 assertArrayEquals(new int[] {ON_CREATE, ON_START}, path(ON_START)); in testLifecycleFromPreOnCreate()
99 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME}, path(ON_RESUME)); in testLifecycleFromPreOnCreate()
100 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE}, path(ON_PAUSE)); in testLifecycleFromPreOnCreate()
101 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP}, in testLifecycleFromPreOnCreate()
103 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, in testLifecycleFromPreOnCreate()
109 mClientRecord.setState(ON_CREATE); in testLifecycleFromOnCreate()
110 assertArrayEquals(new int[] {}, path(ON_CREATE)); in testLifecycleFromOnCreate()
122 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE}, in testLifecycleFromOnStart()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableActivity.java18 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE;
50 mLifecycle.handleLifecycleEvent(ON_CREATE); in onCreate()
59 mLifecycle.handleLifecycleEvent(ON_CREATE); in onCreate()
DObservableDialogFragment.java18 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE;
54 mLifecycle.handleLifecycleEvent(ON_CREATE); in onCreate()
DObservableFragment.java19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE;
55 mLifecycle.handleLifecycleEvent(ON_CREATE); in onCreate()
DObservablePreferenceFragment.java19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE;
60 mLifecycle.handleLifecycleEvent(ON_CREATE); in onCreate()
DLifecycle.java218 case ON_CREATE: in onLifecycleEvent()
/frameworks/base/core/java/android/app/servertransaction/
DActivityLifecycleItem.java33 ON_CREATE,
45 public static final int ON_CREATE = 1; field in ActivityLifecycleItem
DTransactionExecutorHelper.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_CREATE;
113 for (int i = ON_CREATE; i <= finish; i++) { in getLifecyclePath()
307 case ON_CREATE: in getStateName()
DTransactionExecutor.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_CREATE;
216 case ON_CREATE: in performLifecycleSequence()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_CREATE;
88 assertEquals(ON_CREATE, r.getLifecycleState()); in testLifecycleAfterFinished_OnCreate()
91 assertEquals(ON_CREATE, r.getLifecycleState()); in testLifecycleAfterFinished_OnCreate()
94 assertEquals(ON_CREATE, r.getLifecycleState()); in testLifecycleAfterFinished_OnCreate()
97 assertEquals(ON_CREATE, r.getLifecycleState()); in testLifecycleAfterFinished_OnCreate()
100 assertEquals(ON_CREATE, r.getLifecycleState()); in testLifecycleAfterFinished_OnCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DLifecycleFragment.java19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE;
48 mLifecycle.handleLifecycleEvent(ON_CREATE); in onCreate()
DLifecycleActivity.kt34 lifecycle.handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event.ON_CREATE) in getLifecycle()
44 lifecycle.handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event.ON_CREATE) in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DLifecycleFragmentTest.java19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE;
60 verify(observer).onStateChanged(eq(fragment), eq(ON_CREATE)); in testCreateLifecycle()
DSysuiLifecycleTest.java19 import static androidx.lifecycle.Lifecycle.Event.ON_CREATE;
81 verify(observer).onStateChanged(eq(lifecycle), eq(ON_CREATE)); in testAttach()
/frameworks/base/core/java/android/app/
DActivityThread.java22 import static android.app.servertransaction.ActivityLifecycleItem.ON_CREATE;
622 case ON_CREATE: in setState()
3433 r.setState(ON_CREATE); in performLaunchActivity()