Home
last modified time | relevance | path

Searched refs:isState (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityRecordTests.java135 assertTrue(mActivity.isState(STOPPED)); in testPausingWhenVisibleFromStopped()
143 assertTrue(mActivity.isState(PAUSING)); in testPausingWhenVisibleFromStopped()
151 assertTrue(mActivity.isState(INITIALIZING)); in testPausingWhenVisibleFromStopped()
161 assertTrue(mActivity.isState(STOPPED)); in testPausingWhenVisibleFromStopped()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java1372 if (r.isState(STOPPING, STOPPED, PAUSED, PAUSING)) { in goToSleep()
1540 if (r.isState(PAUSING)) { in activityPausedLocked()
1560 final boolean wasStopping = prev.isState(STOPPING); in completePauseLocked()
2132 && !r.isState(STOPPING, STOPPED, PAUSED); in makeInvisible()
2363 if (mResumedActivity == next && next.isState(RESUMED) in resumeTopActivityInnerLocked()
2462 } else if (mResumedActivity == next && next.isState(RESUMED) in resumeTopActivityInnerLocked()
3580 if (r.isState(RESUMED, PAUSING, PAUSED)) { in finishTopCrashedActivityLocked()
3744 } else if (!r.isState(PAUSING)) { in finishActivityLocked()
4278 if (r.isState(DESTROYING, DESTROYED)) { in destroyActivityLocked()
4397 if (record.isState(DESTROYING, DESTROYED)) { in activityDestroyedLocked()
[all …]
DActivityRecord.java1674 boolean isState(ActivityState state) { in isState() method in ActivityRecord
1681 boolean isState(ActivityState state1, ActivityState state2) { in isState() method in ActivityRecord
1688 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3) { in isState() method in ActivityRecord
1695 boolean isState(ActivityState state1, ActivityState state2, ActivityState state3, in isState() method in ActivityRecord
1790 if (!isState(STOPPED, STOPPING) || getStack().mTranslucentActivityWaiting != null in shouldPauseWhenBecomingVisible()
DActivityStackSupervisor.java1036 if (r != null && !r.isState(RESUMED)) { in allResumedActivitiesComplete()
1100 if (r != null && !r.isState(PAUSED, STOPPED, STOPPING)) { in allPausedActivitiesComplete()
2226 if (r == null || !r.isState(RESUMED)) { in resumeFocusedStackTopActivityLocked()
2228 } else if (r.isState(RESUMED)) { in resumeFocusedStackTopActivityLocked()
3777 if (r.finishing || r.isState(DESTROYING, DESTROYED)) { in releaseSomeActivitiesLocked()
3784 || r.isState(RESUMED, PAUSING, PAUSED, STOPPING)) { in releaseSomeActivitiesLocked()
3920 if (!processPausingActivities && s.isState(PAUSING)) { in processStoppingActivitiesLocked()
DActivityStarter.java1150 if (r.nowVisible && r.isState(RESUMED)) { in startActivityMayWait()
1592 if (top != null && !top.isState(RESUMED)) { in setInitialState()
DTaskRecord.java1126 if (reportOut.top == null || (reportOut.top.isState(ActivityState.INITIALIZING))) { in getNumRunningActivities()
DActivityManagerService.java5871 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()