Home
last modified time | relevance | path

Searched refs:ON_DESTROY (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DTransactionExecutorTests.java20 import static android.app.servertransaction.ActivityLifecycleItem.ON_DESTROY;
103 assertArrayEquals(new int[] {ON_CREATE, ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, in testLifecycleFromPreOnCreate()
104 path(ON_DESTROY)); in testLifecycleFromPreOnCreate()
115 assertArrayEquals(new int[] {ON_START, ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY}, in testLifecycleFromOnCreate()
116 path(ON_DESTROY)); in testLifecycleFromOnCreate()
122 assertArrayEquals(new int[] {ON_RESUME, ON_PAUSE, ON_STOP, ON_DESTROY, ON_CREATE}, 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()
139 assertArrayEquals(new int[] {ON_PAUSE, ON_STOP, ON_DESTROY}, path(ON_DESTROY)); in testLifecycleFromOnResume()
145 assertArrayEquals(new int[] {ON_STOP, ON_DESTROY, ON_CREATE}, path(ON_CREATE)); in testLifecycleFromOnPause()
[all …]
/frameworks/base/core/java/android/app/servertransaction/
DActivityLifecycleItem.java38 ON_DESTROY,
50 public static final int ON_DESTROY = 6; field in ActivityLifecycleItem
DTransactionExecutorHelper.java20 import static android.app.servertransaction.ActivityLifecycleItem.ON_DESTROY;
103 for (int i = start + 1; i <= ON_DESTROY; i++) { in getLifecyclePath()
204 if (lifecycleSequence.get(i) == ON_DESTROY) { in pathInvolvesDestruction()
312 case ON_DESTROY: in getStateName()
DTransactionExecutor.java20 import static android.app.servertransaction.ActivityLifecycleItem.ON_DESTROY;
237 case ON_DESTROY: in performLifecycleSequence()
DDestroyActivityItem.java51 return ON_DESTROY; in getTargetState()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DLaunchpadActivity.java132 public static final String ON_DESTROY = "onDestroy"; field in LaunchpadActivity
176 DO_FINISH, ON_PAUSE, ON_STOP, ON_DESTROY}); in onCreate()
181 DO_FINISH, ON_PAUSE, ON_STOP, ON_DESTROY}); in onCreate()
185 DO_FINISH, ON_PAUSE, ON_STOP, ON_DESTROY}); in onCreate()
189 setExpectedLifecycle(new String[]{ON_DESTROY}); in onCreate()
191 setExpectedLifecycle(new String[]{ON_START, ON_STOP, ON_DESTROY}); in onCreate()
196 ON_STOP, ON_DESTROY}); in onCreate()
368 checkLifecycle(ON_DESTROY); in onDestroy()
402 if (where.equals(ON_DESTROY)) { in checkLifecycle()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DLifecycleFragment.java20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY;
83 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/lifecycle/
DObservableDialogFragment.java19 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY;
84 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
DObservableActivity.java19 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY;
89 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
DObservableFragment.java20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY;
97 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
DObservablePreferenceFragment.java20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY;
108 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
DLifecycle.java230 case ON_DESTROY: in onLifecycleEvent()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DSysuiLifecycleTest.java20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY;
85 verify(observer).onStateChanged(eq(lifecycle), eq(ON_DESTROY)); in testDetach()
DLifecycleFragmentTest.java20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY;
127 verify(observer).onStateChanged(eq(fragment), eq(ON_DESTROY)); in testDestroyLifecycle()
/frameworks/base/core/tests/mockingcoretests/src/android/app/activity/
DActivityThreadClientTest.java20 import static android.app.servertransaction.ActivityLifecycleItem.ON_DESTROY;
230 assertEquals(ON_DESTROY, r.getLifecycleState()); in testLifecycleAfterFinished_OnCreate()
255 assertEquals(ON_DESTROY, r.getLifecycleState()); in testLifecycleAfterFinished_OnStart()
278 assertEquals(ON_DESTROY, r.getLifecycleState()); in testLifecycleAfterFinished_OnResume()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DApplicationsState.java946 @OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
/frameworks/base/core/java/android/app/
DActivityThread.java21 import static android.app.servertransaction.ActivityLifecycleItem.ON_DESTROY;
4944 r.setState(ON_DESTROY); in performDestroyActivity()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt9113 Landroid/app/servertransaction/ActivityLifecycleItem;->ON_DESTROY:I