/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TransactionExecutorTests.java | 21 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/ |
D | TransactionExecutorHelper.java | 21 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()
|
D | ActivityLifecycleItem.java | 36 ON_PAUSE, 48 public static final int ON_PAUSE = 4; field in ActivityLifecycleItem
|
D | TransactionExecutor.java | 21 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE; 227 case ON_PAUSE: in performLifecycleSequence()
|
D | PauseActivityItem.java | 53 return ON_PAUSE; in getTargetState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | LifecycleFragment.java | 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 69 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LaunchpadActivity.java | 130 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/ |
D | ObservableDialogFragment.java | 20 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 72 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
|
D | ObservableActivity.java | 20 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 77 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
|
D | ObservableFragment.java | 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 83 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
|
D | ObservablePreferenceFragment.java | 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 94 mLifecycle.handleLifecycleEvent(ON_PAUSE); in onPause()
|
D | Lifecycle.java | 224 case ON_PAUSE: in onLifecycleEvent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | SysuiLifecycleTest.java | 21 import static androidx.lifecycle.Lifecycle.Event.ON_PAUSE; 83 verify(observer).onStateChanged(eq(lifecycle), eq(ON_PAUSE)); in testDetach()
|
D | LifecycleFragmentTest.java | 21 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/ |
D | CallbackController.java | 43 } else if (event == Event.ON_PAUSE) { in observe()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/instrumentation/ |
D | VisibilityLoggerMixin.java | 57 @OnLifecycleEvent(Event.ON_PAUSE)
|
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/ |
D | ActivityThreadClientTest.java | 21 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/ |
D | CallbackControllerTest.java | 75 observer.getValue().onStateChanged(owner, Event.ON_PAUSE); in testRemoveCallback()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 819 @OnLifecycleEvent(Lifecycle.Event.ON_PAUSE)
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 22 import static android.app.servertransaction.ActivityLifecycleItem.ON_PAUSE; 599 case ON_PAUSE: in setState() 4506 r.setState(ON_PAUSE); in performPauseActivityIfNeeded()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 9114 Landroid/app/servertransaction/ActivityLifecycleItem;->ON_PAUSE:I
|