Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityRecordTests.java25 import static com.android.server.am.ActivityStack.ActivityState.DESTROYED;
26 import static com.android.server.am.ActivityStack.ActivityState.DESTROYING;
27 import static com.android.server.am.ActivityStack.ActivityState.FINISHING;
28 import static com.android.server.am.ActivityStack.ActivityState.INITIALIZING;
29 import static com.android.server.am.ActivityStack.ActivityState.PAUSED;
30 import static com.android.server.am.ActivityStack.ActivityState.PAUSING;
31 import static com.android.server.am.ActivityStack.ActivityState.STOPPED;
DActivityStackTests.java27 import static com.android.server.am.ActivityStack.ActivityState.PAUSING;
28 import static com.android.server.am.ActivityStack.ActivityState.RESUMED;
/frameworks/base/services/core/java/com/android/server/am/
DActivityRecord.java96 import static com.android.server.am.ActivityStack.ActivityState.INITIALIZING;
97 import static com.android.server.am.ActivityStack.ActivityState.PAUSED;
98 import static com.android.server.am.ActivityStack.ActivityState.PAUSING;
99 import static com.android.server.am.ActivityStack.ActivityState.RESUMED;
100 import static com.android.server.am.ActivityStack.ActivityState.STOPPED;
101 import static com.android.server.am.ActivityStack.ActivityState.STOPPING;
188 import com.android.server.am.ActivityStack.ActivityState;
292 private ActivityState mState; // current state we are in
1641 void setState(ActivityState state, String reason) { in setState()
1667 ActivityState getState() { in getState()
[all …]
DActivityStack.java75 import static com.android.server.am.ActivityStack.ActivityState.DESTROYED;
76 import static com.android.server.am.ActivityStack.ActivityState.DESTROYING;
77 import static com.android.server.am.ActivityStack.ActivityState.FINISHING;
78 import static com.android.server.am.ActivityStack.ActivityState.PAUSED;
79 import static com.android.server.am.ActivityStack.ActivityState.PAUSING;
80 import static com.android.server.am.ActivityStack.ActivityState.RESUMED;
81 import static com.android.server.am.ActivityStack.ActivityState.STOPPED;
82 import static com.android.server.am.ActivityStack.ActivityState.STOPPING;
243 enum ActivityState { enum in ActivityStack
489 void onActivityStateChanged(ActivityRecord record, ActivityState state, String reason) { in onActivityStateChanged()
[all …]
DActivityStackSupervisor.java78 import static com.android.server.am.ActivityStack.ActivityState.DESTROYED;
79 import static com.android.server.am.ActivityStack.ActivityState.DESTROYING;
80 import static com.android.server.am.ActivityStack.ActivityState.INITIALIZING;
81 import static com.android.server.am.ActivityStack.ActivityState.PAUSED;
82 import static com.android.server.am.ActivityStack.ActivityState.PAUSING;
83 import static com.android.server.am.ActivityStack.ActivityState.RESUMED;
84 import static com.android.server.am.ActivityStack.ActivityState.STOPPED;
85 import static com.android.server.am.ActivityStack.ActivityState.STOPPING;
177 import com.android.server.am.ActivityStack.ActivityState;
3947 final ActivityState state = r == null ? DESTROYED : r.getState(); in validateTopActivitiesLocked()
DTaskRecord.java112 import com.android.server.am.ActivityStack.ActivityState;
1126 if (reportOut.top == null || (reportOut.top.isState(ActivityState.INITIALIZING))) { in getNumRunningActivities()
1790 void onActivityStateChanged(ActivityRecord record, ActivityState state, String reason) { in onActivityStateChanged()
DActivityStarter.java69 import static com.android.server.am.ActivityStack.ActivityState.RESUMED;
DActivityManagerService.java448 import com.android.server.am.ActivityStack.ActivityState;
5871 if (self.isState(ActivityState.RESUMED, ActivityState.PAUSING)) { in overridePendingTransition()
23253 } else if (r.isState(ActivityState.PAUSING, ActivityState.PAUSED)) { in computeOomAdjLocked()
23276 } else if (r.isState(ActivityState.STOPPING)) { in computeOomAdjLocked()
23726 || a.isState(ActivityState.RESUMED, ActivityState.PAUSING))) { in computeOomAdjLocked()
/frameworks/base/services/
Dart-profile2052 Lcom/android/server/am/ActivityStack$ActivityState;