Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java25 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
101 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP}, in testLifecycleFromPreOnCreate()
102 path(ON_STOP)); in testLifecycleFromPreOnCreate()
103 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, in testLifecycleFromPreOnCreate()
114 assertArrayEquals(new int[] {ON_START, ON_RESUME, ON_PAUSE, ON_STOP}, path(ON_STOP)); in testLifecycleFromOnCreate()
115 assertArrayEquals(new int[] {ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, in testLifecycleFromOnCreate()
122 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE}, in testLifecycleFromOnStart()
127 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE, ON_STOP}, path(ON_STOP)); in testLifecycleFromOnStart()
128 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, path(ON_DESTROY)); in testLifecycleFromOnStart()
134 assertArrayEquals(new int[] {ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE}, path(ON_CREATE)); in testLifecycleFromOnResume()
[all …]
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java24 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
121 assertEquals(ON_STOP, r.getLifecycleState()); in testWindowVisibilityChange_OnStart()
140 assertEquals(ON_STOP, r.getLifecycleState()); in testWindowVisibilityChange_OnStart_Finished()
159 assertEquals(ON_STOP, r.getLifecycleState()); in testWindowVisibilityChange_OnResume()
179 assertEquals(ON_STOP, r.getLifecycleState()); in testWindowVisibilityChange_OnPause()
197 assertEquals(ON_STOP, r.getLifecycleState()); in testWindowVisibilityChange_OnStop()
203 assertEquals(ON_STOP, r.getLifecycleState()); in testWindowVisibilityChange_OnStop()
252 assertEquals(ON_STOP, r.getLifecycleState()); in testLifecycleAfterFinished_OnStart()
275 assertEquals(ON_STOP, r.getLifecycleState()); in testLifecycleAfterFinished_OnResume()
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java25 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
86 } else if (start <= ON_STOP && finish >= ON_START) { in getLifecyclePath()
90 for (int i = start + 1; i <= ON_STOP; i++) { in getLifecyclePath()
185 case ON_STOP: in getLifecycleRequestForCurrentState()
310 case ON_STOP: in getStateName()
DActivityLifecycleItem.java37 ON_STOP,
49 public static final int ON_STOP = 5; field in ActivityLifecycleItem
DTransactionExecutor.java25 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
232 case ON_STOP: in performLifecycleSequence()
DStopActivityItem.java54 return ON_STOP; in getTargetState()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadActivity.java131 public static final String ON_STOP = "onStop"; field in LaunchpadActivity
176 DO_FINISH, ON_PAUSE, ON_STOP, ON_DESTROY}); in onCreate()
179 DO_LOCAL_SCREEN, ON_FREEZE, ON_PAUSE, ON_STOP, in onCreate()
181 DO_FINISH, ON_PAUSE, ON_STOP, ON_DESTROY}); in onCreate()
185 DO_FINISH, ON_PAUSE, ON_STOP, ON_DESTROY}); in onCreate()
191 setExpectedLifecycle(new String[]{ON_START, ON_STOP, ON_DESTROY}); in onCreate()
196 ON_STOP, ON_DESTROY}); in onCreate()
335 checkLifecycle(ON_STOP); in onStop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DLifecycleFragment.java24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
76 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableDialogFragment.java23 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
78 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
DObservableActivity.java23 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
83 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
DObservableFragment.java24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
90 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
DObservablePreferenceFragment.java24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
101 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
DLifecycle.java227 case ON_STOP: in onLifecycleEvent()
/frameworks/base/packages/SettingsLib/ActionBarShadow/src/com/android/settingslib/widget/
DActionBarShadowController.java20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
86 @OnLifecycleEvent(ON_STOP)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DSysuiLifecycleTest.java24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
84 verify(observer).onStateChanged(eq(lifecycle), eq(ON_STOP)); in testDetach()
DLifecycleFragmentTest.java24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
98 verify(observer).onStateChanged(eq(fragment), eq(ON_STOP)); in testStopLifecycle()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinCompatTest.java20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
81 mLifecycle.handleLifecycleEvent(ON_STOP); in goThroughLifecycle_onStartStop_shouldStartStopController()
DSuggestionControllerMixinTest.java20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
81 mLifecycle.handleLifecycleEvent(ON_STOP); in goThroughLifecycle_onStartStop_shouldStartStopController()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DActionBarShadowControllerTest.java20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
111 mLifecycle.handleLifecycleEvent(ON_STOP); in attachToView_lifecycleChange_shouldAttachDetach()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionControllerMixin.java85 @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
DSuggestionControllerMixinCompat.java84 @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
/frameworks/base/core/java/android/app/
DActivityThread.java25 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
603 case ON_STOP: in setState()
3573 if (lifecycleState < ON_START || lifecycleState >= ON_STOP) { in handleRequestDirectActions()
3614 if (lifecycleState < ON_START || lifecycleState >= ON_STOP) { in handlePerformDirectAction()
4627 r.setState(ON_STOP); in callActivityOnStop()
4724 } else if (show && r.getLifecycleState() == ON_STOP) { in handleWindowVisibility()
5217 if (prevState < ON_RESUME || prevState > ON_STOP) { in handleRelaunchActivityLocally()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9118 Landroid/app/servertransaction/ActivityLifecycleItem;->ON_STOP:I