Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_CREATE;
126 assertArrayEquals(new int[] {ON_CREATE}, path(ON_CREATE)); in testLifecycleFromPreOnCreate()
127 assertArrayEquals(new int[] {ON_CREATE, ON_START}, path(ON_START)); in testLifecycleFromPreOnCreate()
128 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME}, path(ON_RESUME)); in testLifecycleFromPreOnCreate()
129 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE}, path(ON_PAUSE)); in testLifecycleFromPreOnCreate()
130 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP}, in testLifecycleFromPreOnCreate()
132 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, in testLifecycleFromPreOnCreate()
138 mClientRecord.setState(ON_CREATE); in testLifecycleFromOnCreate()
139 assertArrayEquals(new int[] {}, path(ON_CREATE)); in testLifecycleFromOnCreate()
151 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE}, in testLifecycleFromOnStart()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/android/service/games/
DGameSessionTest.java212 LifecycleTrackingGameSession.LifecycleMethodCall.ON_CREATE, in moveState_FullLifecycle_ExpectedLifecycleCalls()
224 LifecycleTrackingGameSession.LifecycleMethodCall.ON_CREATE, in moveState_DestroyedWhenInitialized_ExpectedLifecycleCalls()
237 LifecycleTrackingGameSession.LifecycleMethodCall.ON_CREATE, in moveState_DestroyedWhenFocused_ExpectedLifecycleCalls()
253 LifecycleTrackingGameSession.LifecycleMethodCall.ON_CREATE, in moveState_FocusCycled_ExpectedLifecycleCalls()
270 LifecycleTrackingGameSession.LifecycleMethodCall.ON_CREATE, in moveState_MultipleFocusAndUnfocusCalls_ExpectedLifecycleCalls()
283 LifecycleTrackingGameSession.LifecycleMethodCall.ON_CREATE, in moveState_CreatedAfterFocused_ExpectedLifecycleCalls()
294 LifecycleTrackingGameSession.LifecycleMethodCall.ON_CREATE).inOrder(); in moveState_UnfocusedWithoutFocused_ExpectedLifecycleCalls()
303 LifecycleTrackingGameSession.LifecycleMethodCall.ON_CREATE, in moveState_NeverFocused_ExpectedLifecycleCalls()
316 LifecycleTrackingGameSession.LifecycleMethodCall.ON_CREATE, in moveState_MultipleFocusCalls_ExpectedLifecycleCalls()
328 LifecycleTrackingGameSession.LifecycleMethodCall.ON_CREATE).inOrder(); in moveState_MultipleCreateCalls_ExpectedLifecycleCalls()
[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.java35 ON_CREATE,
47 public static final int ON_CREATE = 1; field in ActivityLifecycleItem
DTransactionExecutorHelper.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_CREATE;
116 for (int i = ON_CREATE; i <= finish; i++) { in getLifecyclePath()
384 case ON_CREATE: in getStateName()
DTransactionExecutor.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_CREATE;
265 case ON_CREATE: in performLifecycleSequence()
/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()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java20 import static android.app.servertransaction.ActivityLifecycleItem.ON_CREATE;
103 assertEquals(ON_CREATE, r.getLifecycleState()); in testLifecycleAfterFinished_OnCreate()
106 assertEquals(ON_CREATE, r.getLifecycleState()); in testLifecycleAfterFinished_OnCreate()
109 assertEquals(ON_CREATE, r.getLifecycleState()); in testLifecycleAfterFinished_OnCreate()
112 assertEquals(ON_CREATE, r.getLifecycleState()); in testLifecycleAfterFinished_OnCreate()
115 assertEquals(ON_CREATE, r.getLifecycleState()); in testLifecycleAfterFinished_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()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DComponentSystemUIDialog.kt97 lifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_CREATE) in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorActivity.kt90 lifecycleRegistry.handleLifecycleEvent(Lifecycle.Event.ON_CREATE) in getLayoutResource()
/frameworks/base/core/java/android/app/
DActivityThread.java24 import static android.app.servertransaction.ActivityLifecycleItem.ON_CREATE;
762 case ON_CREATE: in setState()
4039 r.setState(ON_CREATE); in performLaunchActivity()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt8551 Landroid/app/servertransaction/ActivityLifecycleItem;->ON_CREATE:I