/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TransactionExecutorTests.java | 25 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/ |
D | TransactionExecutorHelper.java | 25 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()
|
D | ActivityLifecycleItem.java | 39 ON_STOP, 51 public static final int ON_STOP = 5; field in ActivityLifecycleItem
|
D | RefreshCallbackItem.java | 21 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP; 86 if (postExecutionState != ON_STOP && postExecutionState != ON_PAUSE) { in obtain()
|
D | StopActivityItem.java | 53 return ON_STOP; in getTargetState()
|
D | TransactionExecutor.java | 25 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP; 284 case ON_STOP: in performLifecycleSequence()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | LifecycleFragment.java | 24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 76 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LaunchpadActivity.java | 131 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/ |
D | ObservableDialogFragment.java | 23 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 78 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
|
D | ObservableActivity.java | 23 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 83 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
|
D | ObservableFragment.java | 24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 90 mLifecycle.handleLifecycleEvent(ON_STOP); in onStop()
|
D | ObservablePreferenceFragment.java | 24 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/ |
D | ActionBarShadowController.java | 20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 86 @OnLifecycleEvent(ON_STOP)
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityRefresher.java | 19 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/ |
D | SuggestionControllerMixinTest.java | 20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 81 mLifecycle.handleLifecycleEvent(ON_STOP); in goThroughLifecycle_onStartStop_shouldStartStopController()
|
D | SuggestionControllerMixinCompatTest.java | 20 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/ |
D | ActionBarShadowControllerTest.java | 20 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/ |
D | LifecycleFragmentTest.java | 24 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/ |
D | LifecycleEffect.kt | 35 } else if (event == Lifecycle.Event.ON_STOP) { in <lambda>()
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 25 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/ |
D | ActivityRefresherTests.java | 20 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP; 193 cycleThroughStop ? ON_STOP : ON_PAUSE); in assertActivityRefreshRequested()
|
D | CameraCompatFreeformPolicyTests.java | 21 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/ |
D | SuggestionControllerMixinCompat.java | 84 @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
|
D | SuggestionControllerMixin.java | 85 @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/ |
D | ControlsAnimations.kt | 97 @OnLifecycleEvent(Lifecycle.Event.ON_STOP) in <lambda>()
|