Lines Matching refs:TrackBase
2298 sessionId, creatorPid, uid, *flags, TrackBase::TYPE_DEFAULT, portId); in createTrack_l()
2433 TrackBase::track_state state = track->mState; in addTrack_l()
2512 track->mState = TrackBase::STOPPED; in destroyTrack_l()
2516 track->mState = TrackBase::STOPPING_1; in destroyTrack_l()
4764 case TrackBase::STOPPING_1: in prepareTracks_l()
4767 track->mState = TrackBase::STOPPING_2; in prepareTracks_l()
4770 case TrackBase::PAUSING: in prepareTracks_l()
4774 case TrackBase::RESUMING: in prepareTracks_l()
4776 track->mState = TrackBase::ACTIVE; in prepareTracks_l()
4778 case TrackBase::ACTIVE: in prepareTracks_l()
4806 case TrackBase::STOPPING_2: in prepareTracks_l()
4807 case TrackBase::PAUSED: in prepareTracks_l()
4808 case TrackBase::STOPPED: in prepareTracks_l()
4809 case TrackBase::FLUSHED: // flush() while active in prepareTracks_l()
4826 track->mState = TrackBase::STOPPED; in prepareTracks_l()
4836 case TrackBase::IDLE: in prepareTracks_l()
4999 if (track->mState == TrackBase::RESUMING) { in prepareTracks_l()
5000 track->mState = TrackBase::ACTIVE; in prepareTracks_l()
5752 track->mState = TrackBase::STOPPING_2; in prepareTracks_l()
5774 track->mState = TrackBase::STOPPED; in prepareTracks_l()
5915 mTracks[mTracks.size() - 1]->mState == TrackBase::IDLE; in shouldStandby_l()
6203 if (track->mState == TrackBase::IDLE) { in prepareTracks_l()
6315 track->mState = TrackBase::STOPPING_2; // so presentation completes after in prepareTracks_l()
6341 track->mState = TrackBase::STOPPED; in prepareTracks_l()
6976 TrackBase::track_state activeTrackState = activeTrack->mState; in threadLoop()
6979 case TrackBase::PAUSING: in threadLoop()
6981 activeTrack->mState = TrackBase::PAUSED; in threadLoop()
6986 case TrackBase::STARTING_1: in threadLoop()
6992 case TrackBase::STARTING_2: in threadLoop()
6995 activeTrack->mState = TrackBase::ACTIVE; in threadLoop()
6999 case TrackBase::ACTIVE: in threadLoop()
7003 case TrackBase::IDLE: // cannot be on ActiveTracks if idle in threadLoop()
7004 case TrackBase::PAUSED: // cannot be on ActiveTracks if paused in threadLoop()
7005 case TrackBase::STOPPED: // cannot be on ActiveTracks if destroyed/terminated in threadLoop()
7629 *flags, TrackBase::TYPE_DEFAULT, opPackageName, portId); in createRecordTrack_l()
7689 if (recordTrack->mState == TrackBase::PAUSING) { in start()
7693 recordTrack->mState = TrackBase::ACTIVE; in start()
7703 recordTrack->mState = TrackBase::STARTING_1; in start()
7712 if (status == NO_ERROR && recordTrack->mState == TrackBase::STARTING_1) { in start()
7713 recordTrack->mState = TrackBase::STARTING_2; in start()
7718 if (recordTrack->mState != TrackBase::STARTING_1) { in start()
7749 recordTrack->mState = TrackBase::STARTING_2; 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()
7786 if (recordTrack->mState == TrackBase::PAUSED) { // successful stop in stop()
7872 track->mState = TrackBase::STOPPED; in destroyTrack_l()