Home
last modified time | relevance | path

Searched refs:ON_PAUSE (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java21 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
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()
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()
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()
126 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE}, path(ON_PAUSE)); in testLifecycleFromOnStart()
127 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE, ON_STOP}, path(ON_STOP)); in testLifecycleFromOnStart()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java21 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
49 private static final int[] ON_RESUME_PRE_EXCUTION_STATES = new int[] { ON_START, ON_PAUSE };
83 if (start == ON_PAUSE && finish == ON_RESUME) { in getLifecyclePath()
182 case ON_PAUSE: in getLifecycleRequestForCurrentState()
308 case ON_PAUSE: in getStateName()
DActivityLifecycleItem.java36 ON_PAUSE,
48 public static final int ON_PAUSE = 4; field in ActivityLifecycleItem
DTransactionExecutor.java21 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
227 case ON_PAUSE: in performLifecycleSequence()
DPauseActivityItem.java53 return ON_PAUSE; in getTargetState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DLifecycleFragment.java21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
69 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadActivity.java130 public static final String ON_PAUSE = "onPause"; 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()
184 DO_LOCAL_DIALOG, ON_FREEZE, ON_PAUSE, ON_RESUME, in onCreate()
185 DO_FINISH, ON_PAUSE, ON_STOP, ON_DESTROY}); in onCreate()
327 checkLifecycle(ON_PAUSE); in onPause()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableDialogFragment.java20 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
72 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
DObservableActivity.java20 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
77 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
DObservableFragment.java21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
83 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
DObservablePreferenceFragment.java21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
94 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
DLifecycle.java224 case ON_PAUSE: in onLifecycleEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DSysuiLifecycleTest.java21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
83 verify(observer).onStateChanged(eq(lifecycle), eq(ON_PAUSE)); in testDetach()
DLifecycleFragmentTest.java21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE;
112 verify(observer).onStateChanged(eq(fragment), eq(ON_PAUSE)); in testPauseLifecycle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackController.java43 } else if (event == Event.ON_PAUSE) { in observe()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DVisibilityLoggerMixin.java57 @OnLifecycleEvent(Event.ON_PAUSE)
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java21 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
176 assertEquals(ON_PAUSE, r.getLifecycleState()); in testWindowVisibilityChange_OnPause()
272 assertEquals(ON_PAUSE, r.getLifecycleState()); in testLifecycleAfterFinished_OnResume()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackControllerTest.java75 observer.getValue().onStateChanged(owner, Event.ON_PAUSE); in testRemoveCallback()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java819 @OnLifecycleEvent(Lifecycle.Event.ON_PAUSE)
/frameworks/base/core/java/android/app/
DActivityThread.java22 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE;
599 case ON_PAUSE: in setState()
4506 r.setState(ON_PAUSE); in performPauseActivityIfNeeded()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9114 Landroid/app/servertransaction/ActivityLifecycleItem;->ON_PAUSE:I