Home
last modified time | relevance | path

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

12

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java25 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
130 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP}, in testLifecycleFromPreOnCreate()
131 path(ON_STOP)); in testLifecycleFromPreOnCreate()
132 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, in testLifecycleFromPreOnCreate()
143 assertArrayEquals(new int[] {ON_START, ON_RESUME, ON_PAUSE, ON_STOP}, path(ON_STOP)); in testLifecycleFromOnCreate()
144 assertArrayEquals(new int[] {ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, in testLifecycleFromOnCreate()
151 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE}, in testLifecycleFromOnStart()
156 assertArrayEquals(new int[] {ON_STOP}, path(ON_STOP)); in testLifecycleFromOnStart()
157 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, path(ON_DESTROY)); in testLifecycleFromOnStart()
163 assertArrayEquals(new int[] {ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE}, path(ON_CREATE)); in testLifecycleFromOnResume()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java25 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
81 if (start == ON_START && finish == ON_STOP) { in getLifecyclePath()
84 mLifecycleSequence.add(ON_STOP); in getLifecyclePath()
95 } else if (start <= ON_STOP && finish >= ON_START) { in getLifecyclePath()
99 for (int i = start + 1; i <= ON_STOP; i++) { in getLifecyclePath()
202 case ON_STOP: in getLifecycleRequestForCurrentState()
392 case ON_STOP: in getStateName()
DActivityLifecycleItem.java39 ON_STOP,
51 public static final int ON_STOP = 5; field in ActivityLifecycleItem
DRefreshCallbackItem.java21 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
86 if (postExecutionState != ON_STOP && postExecutionState != ON_PAUSE) { in obtain()
DStopActivityItem.java53 return ON_STOP; in getTargetState()
DTransactionExecutor.java25 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
284 case ON_STOP: in performLifecycleSequence()
/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/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/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()
/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/services/core/java/com/android/server/wm/
DActivityRefresher.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
88 activity.token, cycleThroughStop ? ON_STOP : ON_PAUSE); in onActivityConfigurationChanging()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinTest.java20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP;
81 mLifecycle.handleLifecycleEvent(ON_STOP); in goThroughLifecycle_onStartStop_shouldStartStopController()
DSuggestionControllerMixinCompatTest.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/SystemUI/tests/src/com/android/systemui/util/
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/Spa/spa/src/com/android/settingslib/spa/framework/compose/
DLifecycleEffect.kt35 } else if (event == Lifecycle.Event.ON_STOP) { in <lambda>()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java25 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
140 assertEquals(ON_STOP, r.getLifecycleState()); in testLifecycleAfterFinished_OnStart()
163 assertEquals(ON_STOP, r.getLifecycleState()); in testLifecycleAfterFinished_OnResume()
197 recreateAndVerifyRelaunched(activityThread, activity[0], r, ON_STOP); in testLifecycleOfRelaunch()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRefresherTests.java20 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
193 cycleThroughStop ? ON_STOP : ON_PAUSE); in assertActivityRefreshRequested()
DCameraCompatFreeformPolicyTests.java21 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP;
336 cycleThroughStop ? ON_STOP : ON_PAUSE); in assertActivityRefreshRequested()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/suggestions/
DSuggestionControllerMixinCompat.java84 @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
DSuggestionControllerMixin.java85 @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsAnimations.kt97 @OnLifecycleEvent(Lifecycle.Event.ON_STOP) in <lambda>()

12