/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TransactionExecutorTests.java | 25 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/ |
D | ActivityThreadClientTest.java | 24 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/ |
D | TransactionExecutorHelper.java | 25 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()
|
D | ActivityLifecycleItem.java | 37 ON_STOP, 49 public static final int ON_STOP = 5; field in ActivityLifecycleItem
|
D | TransactionExecutor.java | 25 import static android.app.servertransaction.ActivityLifecycleItem.ON_STOP; 232 case ON_STOP: in performLifecycleSequence()
|
D | StopActivityItem.java | 54 return ON_STOP; in getTargetState()
|
/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/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/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()
|
D | Lifecycle.java | 227 case ON_STOP: in onLifecycleEvent()
|
/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/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | SysuiLifecycleTest.java | 24 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 84 verify(observer).onStateChanged(eq(lifecycle), eq(ON_STOP)); in testDetach()
|
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/tests/robotests/src/com/android/settingslib/suggestions/ |
D | SuggestionControllerMixinCompatTest.java | 20 import static androidx.lifecycle.Lifecycle.Event.ON_STOP; 81 mLifecycle.handleLifecycleEvent(ON_STOP); in goThroughLifecycle_onStartStop_shouldStartStopController()
|
D | SuggestionControllerMixinTest.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/SettingsLib/src/com/android/settingslib/suggestions/ |
D | SuggestionControllerMixin.java | 85 @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
|
D | SuggestionControllerMixinCompat.java | 84 @OnLifecycleEvent(Lifecycle.Event.ON_STOP)
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 25 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/ |
D | hiddenapi-greylist-max-o.txt | 9118 Landroid/app/servertransaction/ActivityLifecycleItem;->ON_STOP:I
|