Searched refs:PAUSING (Results 1 – 12 of 12) sorted by relevance
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityServiceConnectionsHolder.java | 19 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING; 76 return mActivity.visible || mActivity.isState(RESUMED, PAUSING); in isActivityVisible()
|
D | WindowProcessController.java | 27 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()
|
D | ActivityRecord.java | 108 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()
|
D | ActivityStack.java | 63 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()
|
D | ActivityStackSupervisor.java | 53 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING; 2156 if (!processPausingActivities && s.isState(PAUSING)) { in processStoppingActivitiesLocked()
|
D | ActivityTaskManagerService.java | 1893 ActivityStack.ActivityState.RESUMED, ActivityStack.ActivityState.PAUSING)) { in overridePendingTransition()
|
/frameworks/av/services/audioflinger/ |
D | TrackBase.h | 36 PAUSING, enumerator 258 case PAUSING: in getTrackStateString()
|
D | PlaybackTracks.h | 192 bool isPausing() const { return mState == PAUSING; } in isPausing()
|
D | Tracks.cpp | 930 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()
|
D | Threads.cpp | 4770 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/ |
D | ActivityStackTests.java | 36 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()
|
D | ActivityRecordTests.java | 36 import static com.android.server.wm.ActivityStack.ActivityState.PAUSING; 158 assertTrue(mActivity.isState(PAUSING)); in testPausingWhenVisibleFromStopped()
|