Home
last modified time | relevance | path

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

12

/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/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 };
78 if (start == ON_START && finish == ON_STOP) { in getLifecyclePath()
92 } else if (start <= ON_STOP && finish >= ON_START) { in getLifecyclePath()
102 for (int i = ON_START; i <= finish; i++) { in getLifecyclePath()
309 case ON_START: in getStateName()
DActivityLifecycleItem.java34 ON_START,
46 public static final int ON_START = 2; field in ActivityLifecycleItem
DStartActivityItem.java44 return ON_START; in getTargetState()
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()
DLifecycleActivity.kt49 lifecycle.handleLifecycleEvent(androidx.lifecycle.Lifecycle.Event.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.java221 case ON_START: in onLifecycleEvent()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java23 import static android.app.servertransaction.ActivityLifecycleItem.ON_START;
116 assertEquals(ON_START, r.getLifecycleState()); in testLifecycleAfterFinished_OnStart()
119 assertEquals(ON_START, r.getLifecycleState()); in testLifecycleAfterFinished_OnStart()
122 assertEquals(ON_START, r.getLifecycleState()); in testLifecycleAfterFinished_OnStart()
/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/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/SystemUI/tests/src/com/android/systemui/util/
DLifecycleFragmentTest.java23 import static androidx.lifecycle.Lifecycle.Event.ON_START;
84 verify(observer).onStateChanged(eq(fragment), eq(ON_START)); in testStartLifecycle()
DSysuiLifecycleTest.java23 import static androidx.lifecycle.Lifecycle.Event.ON_START;
82 verify(observer).onStateChanged(eq(lifecycle), eq(ON_START)); in testAttach()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/core/lifecycle/
DLifecycleTest.java18 import static androidx.lifecycle.Lifecycle.Event.ON_START;
230 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/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsAnimations.kt73 @OnLifecycleEvent(Lifecycle.Event.ON_START) in <lambda>()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DBaseWifiTracker.java210 @OnLifecycleEvent(Lifecycle.Event.ON_START)

12