Home
last modified time | relevance | path

Searched refs:ON_RESUME (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java23 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
99 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME}, path(ON_RESUME)); in testLifecycleFromPreOnCreate()
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()
112 assertArrayEquals(new int[] {ON_START, ON_RESUME}, path(ON_RESUME)); in testLifecycleFromOnCreate()
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()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DTransactionExecutorHelper.java23 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
83 if (start == ON_PAUSE && finish == ON_RESUME) { in getLifecyclePath()
85 mLifecycleSequence.add(ON_RESUME); in getLifecyclePath()
137 case ON_RESUME: in getClosestPreExecutionState()
306 case ON_RESUME: in getStateName()
DActivityLifecycleItem.java35 ON_RESUME,
47 public static final int ON_RESUME = 3; field in ActivityLifecycleItem
DNewIntentItem.java19 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
46 return mResume ? ON_RESUME : UNDEFINED; in getPostExecutionState()
DTransactionExecutor.java23 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
223 case ON_RESUME: in performLifecycleSequence()
DResumeActivityItem.java70 return ON_RESUME; in getTargetState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DLifecycleFragment.java22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
62 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadActivity.java128 public static final String ON_RESUME = "onResume"; field in LaunchpadActivity
175 setExpectedLifecycle(new String[]{ON_START, ON_RESUME, in onCreate()
178 setExpectedLifecycle(new String[]{ON_START, ON_RESUME, in onCreate()
180 ON_RESTART, ON_START, ON_RESUME, in onCreate()
183 setExpectedLifecycle(new String[]{ON_START, ON_RESUME, in onCreate()
184 DO_LOCAL_DIALOG, ON_FREEZE, ON_PAUSE, ON_RESUME, in onCreate()
220 checkLifecycle(ON_RESUME); in onResume()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableDialogFragment.java21 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
66 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
DObservableActivity.java21 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
71 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
DObservableFragment.java22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
76 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
DObservablePreferenceFragment.java22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
87 mLifecycle.handleLifecycleEvent(ON_RESUME); in onResume()
DLifecycle.java221 case ON_RESUME: in onLifecycleEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DSysuiLifecycleTest.java22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
64 verify(observer).onStateChanged(eq(lifecycle), eq(ON_RESUME)); in testAttach()
DLifecycleFragmentTest.java22 import static androidx.lifecycle.Lifecycle.Event.ON_RESUME;
72 verify(observer).onStateChanged(eq(fragment), eq(ON_RESUME)); in testResumeLifecycle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackController.java41 if (event == Event.ON_RESUME) { in observe()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/
DVisibilityLoggerMixin.java49 @OnLifecycleEvent(Event.ON_RESUME)
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java22 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
156 assertEquals(ON_RESUME, r.getLifecycleState()); in testWindowVisibilityChange_OnResume()
269 assertEquals(ON_RESUME, r.getLifecycleState()); in testLifecycleAfterFinished_OnResume()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DCallbackControllerTest.java57 observer.getValue().onStateChanged(owner, Event.ON_RESUME); in testAddCallback()
/frameworks/base/core/java/android/app/
DActivityThread.java23 import static android.app.servertransaction.ActivityLifecycleItem.ON_RESUME;
595 case ON_RESUME: in setState()
4165 if (r.getLifecycleState() == ON_RESUME) { in performResumeActivity()
4199 r.setState(ON_RESUME); in performResumeActivity()
4375 if (r.getLifecycleState() == ON_RESUME) { in handleTopResumedActivityChanged()
5217 if (prevState < ON_RESUME || prevState > ON_STOP) { in handleRelaunchActivityLocally()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java805 @OnLifecycleEvent(Lifecycle.Event.ON_RESUME)
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9116 Landroid/app/servertransaction/ActivityLifecycleItem;->ON_RESUME:I