/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | TransactionExecutorTests.java | 20 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/ |
D | ActivityLifecycleItem.java | 38 ON_DESTROY, 50 public static final int ON_DESTROY = 6; field in ActivityLifecycleItem
|
D | TransactionExecutorHelper.java | 20 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()
|
D | TransactionExecutor.java | 20 import static android.app.servertransaction.ActivityLifecycleItem.ON_DESTROY; 237 case ON_DESTROY: in performLifecycleSequence()
|
D | DestroyActivityItem.java | 51 return ON_DESTROY; in getTargetState()
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
D | LaunchpadActivity.java | 132 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/ |
D | LifecycleFragment.java | 20 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/ |
D | ObservableDialogFragment.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 84 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
|
D | ObservableActivity.java | 19 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 89 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
|
D | ObservableFragment.java | 20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 97 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
|
D | ObservablePreferenceFragment.java | 20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 108 mLifecycle.handleLifecycleEvent(ON_DESTROY); in onDestroy()
|
D | Lifecycle.java | 230 case ON_DESTROY: in onLifecycleEvent()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/ |
D | SysuiLifecycleTest.java | 20 import static androidx.lifecycle.Lifecycle.Event.ON_DESTROY; 85 verify(observer).onStateChanged(eq(lifecycle), eq(ON_DESTROY)); in testDetach()
|
D | LifecycleFragmentTest.java | 20 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/ |
D | ActivityThreadClientTest.java | 20 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/ |
D | ApplicationsState.java | 946 @OnLifecycleEvent(Lifecycle.Event.ON_DESTROY)
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 21 import static android.app.servertransaction.ActivityLifecycleItem.ON_DESTROY; 4984 r.setState(ON_DESTROY); in performDestroyActivity()
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 8555 Landroid/app/servertransaction/ActivityLifecycleItem;->ON_DESTROY:I
|