Home
last modified time | relevance | path

Searched refs:PAUSING (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DActivityServiceConnectionsHolder.java19 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
76 return mActivity.visible || mActivity.isState(RESUMED, PAUSING); in isActivityVisible()
DWindowProcessController.java27 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
741 || r.isState(RESUMED, PAUSING, PAUSED, STOPPING)) { in getReleaseSomeActivitiesTasks()
798 } else if (r.isState(PAUSING, PAUSED)) { in computeOomAdjFromActivities()
DActivityRecord.java108 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
1470 case PAUSING: in checkEnterPictureInPictureState()
2073 setState(PAUSING, "makeVisibleIfNeeded"); in makeActiveIfNeeded()
2094 return shouldMakeActive(activeActivity) && !isFocusable() && !isState(PAUSING, PAUSED); in shouldPauseActivity()
2518 return visible || nowVisible || mState == PAUSING || mState == RESUMED; in isInterestingToUserLocked()
3302 } else if (mState == PAUSING) { in ensureActivityConfiguration()
DActivityStack.java63 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
298 PAUSING, enumConstant
1613 if (r.isState(STOPPING, STOPPED, PAUSED, PAUSING)) { in goToSleep()
1689 prev.setState(PAUSING, "startPausingLocked"); in startPausingLocked()
1779 if (r.isState(PAUSING)) { in activityPausedLocked()
2438 case PAUSING: in makeInvisible()
3888 if (r.isState(RESUMED, PAUSING, PAUSED)) { in finishTopCrashedActivityLocked()
4058 } else if (!r.isState(PAUSING)) { in finishActivityLocked()
DActivityStackSupervisor.java53 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
2156 if (!processPausingActivities && s.isState(PAUSING)) { in processStoppingActivitiesLocked()
DActivityTaskManagerService.java1893 ActivityStack.ActivityState.RESUMED, ActivityStack.ActivityState.PAUSING)) { in overridePendingTransition()
/frameworks/av/services/audioflinger/
DTrackBase.h36 PAUSING, enumerator
258 case PAUSING: in getTrackStateString()
DPlaybackTracks.h192 bool isPausing() const { return mState == PAUSING; } in isPausing()
DTracks.cpp930 if (state == PAUSED || state == PAUSING) { in start()
1003 if (state == RESUMING || state == ACTIVE || state == PAUSING || state == PAUSED) { in stop()
1049 mState = PAUSING; in pause()
1100 mState != PAUSED && mState != PAUSING && mState != IDLE && mState != FLUSHED) { in flush()
2206 case PAUSING: // invalidated while in the middle of stop() pausing (still active) in destroy()
DThreads.cpp4770 case TrackBase::PAUSING: in prepareTracks_l()
6979 case TrackBase::PAUSING: in threadLoop()
7689 if (recordTrack->mState == TrackBase::PAUSING) { in start()
7773 if (mActiveTracks.indexOf(recordTrack) < 0 || recordTrack->mState == TrackBase::PAUSING) { in stop()
7777 recordTrack->mState = TrackBase::PAUSING; in stop()
7781 while (recordTrack->mState == TrackBase::PAUSING && !recordTrack->isInvalid()) { in stop()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStackTests.java36 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
115 r.setState(PAUSING, "testResumedActivity"); in testResumedActivity()
854 assertThat(secondActivity.getState()).isEqualTo(PAUSING); in testFinishDisabledPackageActivities_FinishAliveActivities()
DActivityRecordTests.java36 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING;
158 assertTrue(mActivity.isState(PAUSING)); in testPausingWhenVisibleFromStopped()