Home
last modified time | relevance | path

Searched refs:ON_START (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java24 import static android.app.servertransaction.ActivityLifecycleItem.ON_START;
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()
111 assertArrayEquals(new int[] {ON_START}, path(ON_START)); in testLifecycleFromOnCreate()
112 assertArrayEquals(new int[] {ON_START, ON_RESUME}, path(ON_RESUME)); in testLifecycleFromOnCreate()
113 assertArrayEquals(new int[] {ON_START, ON_RESUME, ON_PAUSE}, path(ON_PAUSE)); in testLifecycleFromOnCreate()
114 assertArrayEquals(new int[] {ON_START, ON_RESUME, ON_PAUSE, ON_STOP}, path(ON_STOP)); in testLifecycleFromOnCreate()
[all …]
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java23 import static android.app.servertransaction.ActivityLifecycleItem.ON_START;
118 assertEquals(ON_START, r.getLifecycleState()); in testWindowVisibilityChange_OnStart()
124 assertEquals(ON_START, r.getLifecycleState()); in testWindowVisibilityChange_OnStart()
137 assertEquals(ON_START, r.getLifecycleState()); in testWindowVisibilityChange_OnStart_Finished()
143 assertEquals(ON_START, r.getLifecycleState()); in testWindowVisibilityChange_OnStart_Finished()
162 assertEquals(ON_START, r.getLifecycleState()); in testWindowVisibilityChange_OnResume()
182 assertEquals(ON_START, r.getLifecycleState()); in testWindowVisibilityChange_OnPause()
200 assertEquals(ON_START, r.getLifecycleState()); in testWindowVisibilityChange_OnStop()
243 assertEquals(ON_START, r.getLifecycleState()); in testLifecycleAfterFinished_OnStart()
246 assertEquals(ON_START, r.getLifecycleState()); in testLifecycleAfterFinished_OnStart()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java24 import static android.app.servertransaction.ActivityLifecycleItem.ON_START;
49 private static final int[] ON_RESUME_PRE_EXCUTION_STATES = new int[] { ON_START, ON_PAUSE };
86 } else if (start <= ON_STOP && finish >= ON_START) { in getLifecyclePath()
96 for (int i = ON_START; i <= finish; i++) { in getLifecyclePath()
304 case ON_START: in getStateName()
DActivityLifecycleItem.java34 ON_START,
46 public static final int ON_START = 2; field in ActivityLifecycleItem
DTransactionExecutor.java24 import static android.app.servertransaction.ActivityLifecycleItem.ON_START;
220 case ON_START: in performLifecycleSequence()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadActivity.java126 public static final String ON_START = "onStart"; field in LaunchpadActivity
175 setExpectedLifecycle(new String[]{ON_START, ON_RESUME, in onCreate()
178 setExpectedLifecycle(new String[]{ON_START, ON_RESUME, in onCreate()
180 ON_RESTART, ON_START, ON_RESUME, in onCreate()
183 setExpectedLifecycle(new String[]{ON_START, ON_RESUME, in onCreate()
191 setExpectedLifecycle(new String[]{ON_START, ON_STOP, ON_DESTROY}); in onCreate()
195 setExpectedLifecycle(new String[]{ON_START, DO_FINISH, in onCreate()
205 checkLifecycle(ON_START); in onStart()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DActionBarShadowControllerTest.java19 import static androidx.lifecycle.Lifecycle.Event.ON_START;
110 mLifecycle.handleLifecycleEvent(ON_START); in attachToView_lifecycleChange_shouldAttachDetach()
114 mLifecycle.handleLifecycleEvent(ON_START); in attachToView_lifecycleChange_shouldAttachDetach()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DLifecycleFragment.java23 import static androidx.lifecycle.Lifecycle.Event.ON_START;
55 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableDialogFragment.java22 import static androidx.lifecycle.Lifecycle.Event.ON_START;
60 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
DObservableActivity.java22 import static androidx.lifecycle.Lifecycle.Event.ON_START;
65 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
DObservableFragment.java23 import static androidx.lifecycle.Lifecycle.Event.ON_START;
69 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
DObservablePreferenceFragment.java23 import static androidx.lifecycle.Lifecycle.Event.ON_START;
80 mLifecycle.handleLifecycleEvent(ON_START); in onStart()
DLifecycle.java218 case ON_START: in onLifecycleEvent()
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/
DActionBarShadowController.java19 import static androidx.lifecycle.Lifecycle.Event.ON_START;
77 @OnLifecycleEvent(ON_START)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DSysuiLifecycleTest.java23 import static androidx.lifecycle.Lifecycle.Event.ON_START;
63 verify(observer).onStateChanged(eq(lifecycle), eq(ON_START)); in testAttach()
DLifecycleFragmentTest.java23 import static androidx.lifecycle.Lifecycle.Event.ON_START;
84 verify(observer).onStateChanged(eq(fragment), eq(ON_START)); in testStartLifecycle()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinCompatTest.java19 import static androidx.lifecycle.Lifecycle.Event.ON_START;
78 mLifecycle.handleLifecycleEvent(ON_START); in goThroughLifecycle_onStartStop_shouldStartStopController()
DSuggestionControllerMixinTest.java19 import static androidx.lifecycle.Lifecycle.Event.ON_START;
78 mLifecycle.handleLifecycleEvent(ON_START); in goThroughLifecycle_onStartStop_shouldStartStopController()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DLifecycleTest.java18 import static androidx.lifecycle.Lifecycle.Event.ON_START;
235 mLifecycle.handleLifecycleEvent(ON_START); in addObserverDuringObserve_shoudNotCrash()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionControllerMixin.java77 @OnLifecycleEvent(Lifecycle.Event.ON_START)
DSuggestionControllerMixinCompat.java76 @OnLifecycleEvent(Lifecycle.Event.ON_START)
/frameworks/base/core/java/android/app/
DActivityThread.java24 import static android.app.servertransaction.ActivityLifecycleItem.ON_START;
591 case ON_START: in setState()
3295 r.setState(ON_START); in handleStartActivity()
3573 if (lifecycleState < ON_START || lifecycleState >= ON_STOP) { in handleRequestDirectActions()
3614 if (lifecycleState < ON_START || lifecycleState >= ON_STOP) { in handlePerformDirectAction()
4707 r.setState(ON_START); in performRestartActivity()
4730 r.setState(ON_START); in handleWindowVisibility()
4770 r.setState(ON_START); in handleSleeping()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9117 Landroid/app/servertransaction/ActivityLifecycleItem;->ON_START:I