Searched refs:STOPPING_2 (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/services/audioflinger/
H A DTrackBase.h33 STOPPING_2, // waiting for presentation complete enumerator in enum:TrackBase::track_state
96 return mState == STOPPING_1 || mState == STOPPING_2;
102 return mState == STOPPING_2;
H A DTracks.cpp449 case STOPPING_2:
649 // For fast tracks prepareTracks_l() will set state to STOPPING_2
652 // move to STOPPING_2 when drain completes and then STOPPED
670 case STOPPING_2:
712 if (mState == STOPPING_1 || mState == STOPPING_2) {
724 if (mState != STOPPING_1 && mState != STOPPING_2 && mState != STOPPED &&
H A DThreads.cpp2900 track->mState = TrackBase::STOPPING_2;
2939 case TrackBase::STOPPING_2:
4072 ALOGV("OffloadThread: underrun and STOPPING_1 -> draining, STOPPING_2");
4073 track->mState = TrackBase::STOPPING_2; // so presentation completes after drain

Completed in 217 milliseconds