Home
last modified time | relevance | path

Searched refs:ActivityState (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityRecordTests.java34 import static com.android.server.wm.ActivityStack.ActivityState.INITIALIZING;
35 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
36 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
37 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
38 import static com.android.server.wm.ActivityStack.ActivityState.STOPPED;
198 mActivity.setState(ActivityStack.ActivityState.RESUMED, "testRestart"); in testRestartProcessIfVisible()
206 assertEquals(ActivityStack.ActivityState.RESTARTING_PROCESS, mActivity.getState()); in testRestartProcessIfVisible()
278 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_NotDragResizing()
300 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_DragResizing()
324 mActivity.setState(ActivityStack.ActivityState.RESUMED, "Testing"); in testSetsRelaunchReason_NonResizeConfigChanges()
[all …]
DActivityStackTests.java33 import static com.android.server.wm.ActivityStack.ActivityState.DESTROYING;
34 import static com.android.server.wm.ActivityStack.ActivityState.FINISHING;
35 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
36 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
37 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
38 import static com.android.server.wm.ActivityStack.ActivityState.STOPPED;
39 import static com.android.server.wm.ActivityStack.ActivityState.STOPPING;
DRootActivityContainerTests.java70 import com.android.server.wm.ActivityStack.ActivityState;
467 activity.setState(ActivityState.RESUMED, "test"); in testResumeActivityLingeringTransition()
487 activity.setState(ActivityState.RESUMED, "test"); in testResumeActivityLingeringTransition_notExecuted()
DActivityDisplayTests.java350 activity.setState(ActivityStack.ActivityState.RESUMED, "testHandleActivitySizeCompatMode"); in testHandleActivitySizeCompatMode()
DRecentsAnimationTest.java34 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
/frameworks/base/services/core/java/com/android/server/wm/
DActivityServiceConnectionsHolder.java19 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
20 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
DActivityRecord.java105 import static com.android.server.wm.ActivityStack.ActivityState.DESTROYED;
106 import static com.android.server.wm.ActivityStack.ActivityState.INITIALIZING;
107 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
108 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
109 import static com.android.server.wm.ActivityStack.ActivityState.RESTARTING_PROCESS;
110 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
111 import static com.android.server.wm.ActivityStack.ActivityState.STOPPED;
112 import static com.android.server.wm.ActivityStack.ActivityState.STOPPING;
220 import com.android.server.wm.ActivityStack.ActivityState;
324 private ActivityState mState; // current state we are in
[all …]
DWindowProcessController.java24 import static com.android.server.wm.ActivityStack.ActivityState.DESTROYED;
25 import static com.android.server.wm.ActivityStack.ActivityState.DESTROYING;
26 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
27 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
28 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
29 import static com.android.server.wm.ActivityStack.ActivityState.STOPPING;
DRecentsAnimation.java146 if (!targetActivity.isState(ActivityStack.ActivityState.STOPPING, in preloadRecentsActivity()
147 ActivityStack.ActivityState.STOPPED)) { in preloadRecentsActivity()
DActivityStack.java59 import static com.android.server.wm.ActivityStack.ActivityState.DESTROYED;
60 import static com.android.server.wm.ActivityStack.ActivityState.DESTROYING;
61 import static com.android.server.wm.ActivityStack.ActivityState.FINISHING;
62 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
63 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
64 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
65 import static com.android.server.wm.ActivityStack.ActivityState.STOPPED;
66 import static com.android.server.wm.ActivityStack.ActivityState.STOPPING;
295 enum ActivityState { enum in ActivityStack
556 void onActivityStateChanged(ActivityRecord record, ActivityState state, String reason) { in onActivityStateChanged()
[all …]
DRootActivityContainer.java47 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
48 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
49 import static com.android.server.wm.ActivityStack.ActivityState.STOPPED;
50 import static com.android.server.wm.ActivityStack.ActivityState.STOPPING;
DActivityStackSupervisor.java52 import static com.android.server.wm.ActivityStack.ActivityState.PAUSED;
53 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
2668 && r.isState(ActivityStack.ActivityState.RESTARTING_PROCESS)) { in handleMessage()
DTaskRecord.java129 import com.android.server.wm.ActivityStack.ActivityState;
1220 if (reportOut.top == null || (reportOut.top.isState(ActivityState.INITIALIZING))) { in getNumRunningActivities()
1866 void onActivityStateChanged(ActivityRecord record, ActivityState state, String reason) { in onActivityStateChanged()
DActivityDisplay.java42 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
DActivityTaskManagerService.java1739 && r.isState(ActivityStack.ActivityState.RESTARTING_PROCESS)) { in activityStopped()
1893 ActivityStack.ActivityState.RESUMED, ActivityStack.ActivityState.PAUSING)) { in overridePendingTransition()
DActivityStarter.java62 import static com.android.server.wm.ActivityStack.ActivityState.RESUMED;
/frameworks/base/services/
Dart-profile14827 …ver/wm/ActivityRecord;->setState(Lcom/android/server/wm/ActivityStack$ActivityState;Ljava/lang/Str…
14856 HSPLcom/android/server/wm/ActivityStack$ActivityState;-><init>(Ljava/lang/String;I)V
14857 …SPLcom/android/server/wm/ActivityStack$ActivityState;->values()[Lcom/android/server/wm/ActivitySta…
14954 …android/server/wm/ActivityRecord;Lcom/android/server/wm/ActivityStack$ActivityState;Ljava/lang/Str…
16947 …android/server/wm/ActivityRecord;Lcom/android/server/wm/ActivityStack$ActivityState;Ljava/lang/Str…
20599 Lcom/android/server/wm/ActivityStack$ActivityState;