Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DTrackBase.h36 PAUSING, enumerator
164 case PAUSING: in getTrackStateString()
DPlaybackTracks.h132 bool isPausing() const { return mState == PAUSING; } in isPausing()
DTracks.cpp736 if (state == PAUSED || state == PAUSING) { in start()
803 if (state == RESUMING || state == ACTIVE || state == PAUSING || state == PAUSED) { in stop()
848 mState = PAUSING; in pause()
895 mState != PAUSED && mState != PAUSING && mState != IDLE && mState != FLUSHED) { in flush()
DThreads.cpp4320 case TrackBase::PAUSING: in prepareTracks_l()
6490 case TrackBase::PAUSING: in threadLoop()
7106 if (recordTrack->mState == TrackBase::PAUSING) { in start()
7179 if (mActiveTracks.indexOf(recordTrack) < 0 || recordTrack->mState == TrackBase::PAUSING) { in stop()
7183 recordTrack->mState = TrackBase::PAUSING; in stop()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityRecordTests.java30 import static com.android.server.am.ActivityStack.ActivityState.PAUSING;
143 assertTrue(mActivity.isState(PAUSING)); in testPausingWhenVisibleFromStopped()
DActivityStackTests.java27 import static com.android.server.am.ActivityStack.ActivityState.PAUSING;
104 r.setState(PAUSING, "testResumedActivity"); in testResumedActivity()
/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java79 import static com.android.server.am.ActivityStack.ActivityState.PAUSING;
246 PAUSING, enumConstant
1372 if (r.isState(STOPPING, STOPPED, PAUSED, PAUSING)) { in goToSleep()
1448 prev.setState(PAUSING, "startPausingLocked"); in startPausingLocked()
1540 if (r.isState(PAUSING)) { in activityPausedLocked()
2153 case PAUSING: in makeInvisible()
3580 if (r.isState(RESUMED, PAUSING, PAUSED)) { in finishTopCrashedActivityLocked()
3744 } else if (!r.isState(PAUSING)) { in finishActivityLocked()
DActivityRecord.java98 import static com.android.server.am.ActivityStack.ActivityState.PAUSING;
1314 case PAUSING: in checkEnterPictureInPictureState()
1771 setState(PAUSING, "makeVisibleIfNeeded"); in makeClientVisible()
2191 return visible || nowVisible || mState == PAUSING || mState == RESUMED; in isInterestingToUserLocked()
2617 } else if (mState == PAUSING) { in ensureActivityConfiguration()
DActivityStackSupervisor.java82 import static com.android.server.am.ActivityStack.ActivityState.PAUSING;
3784 || r.isState(RESUMED, PAUSING, PAUSED, STOPPING)) { in releaseSomeActivitiesLocked()
3920 if (!processPausingActivities && s.isState(PAUSING)) { in processStoppingActivitiesLocked()
DActivityManagerService.java5871 if (self.isState(ActivityState.RESUMED, ActivityState.PAUSING)) { in overridePendingTransition()
23253 } else if (r.isState(ActivityState.PAUSING, ActivityState.PAUSED)) { in computeOomAdjLocked()
23726 || a.isState(ActivityState.RESUMED, ActivityState.PAUSING))) { in computeOomAdjLocked()