Lines Matching refs:IAfTrackBase
2718 IAfTrackBase::TYPE_DEFAULT, portId, SIZE_MAX /*frameCountToBeReady*/, in createTrack_l()
2862 IAfTrackBase::track_state state = track->state(); in addTrack_l()
2970 track->setState(IAfTrackBase::STOPPED); in destroyTrack_l()
2977 track->setState(IAfTrackBase::STOPPING_1); in destroyTrack_l()
5674 case IAfTrackBase::STOPPING_1: in prepareTracks_l()
5677 track->setState(IAfTrackBase::STOPPING_2); in prepareTracks_l()
5680 case IAfTrackBase::PAUSING: in prepareTracks_l()
5684 case IAfTrackBase::RESUMING: in prepareTracks_l()
5686 track->setState(IAfTrackBase::ACTIVE); in prepareTracks_l()
5688 case IAfTrackBase::ACTIVE: in prepareTracks_l()
5716 case IAfTrackBase::STOPPING_2: in prepareTracks_l()
5717 case IAfTrackBase::PAUSED: in prepareTracks_l()
5718 case IAfTrackBase::STOPPED: in prepareTracks_l()
5719 case IAfTrackBase::FLUSHED: // flush() while active in prepareTracks_l()
5736 track->setState(IAfTrackBase::STOPPED); in prepareTracks_l()
5746 case IAfTrackBase::IDLE: in prepareTracks_l()
5926 if (track->state() == IAfTrackBase::RESUMING) { in prepareTracks_l()
5927 track->setState(IAfTrackBase::ACTIVE); in prepareTracks_l()
6920 track->setState(IAfTrackBase::STOPPING_2); in prepareTracks_l()
6938 track->setState(IAfTrackBase::STOPPED); in prepareTracks_l()
7085 trackStopped = mainTrack->isStopped() || mainTrack->state() == IAfTrackBase::IDLE; in shouldStandby_l()
7387 if (track->state() == IAfTrackBase::IDLE) { in prepareTracks_l()
7506 track->setState(IAfTrackBase::STOPPING_2); in prepareTracks_l()
7533 track->setState(IAfTrackBase::STOPPED); in prepareTracks_l()
8350 IAfTrackBase::track_state activeTrackState = activeTrack->state(); in threadLoop()
8353 case IAfTrackBase::PAUSING: in threadLoop()
8355 activeTrack->setState(IAfTrackBase::PAUSED); in threadLoop()
8366 case IAfTrackBase::STARTING_1: in threadLoop()
8372 case IAfTrackBase::STARTING_2: in threadLoop()
8379 activeTrack->setState(IAfTrackBase::ACTIVE); in threadLoop()
8383 case IAfTrackBase::ACTIVE: in threadLoop()
8387 case IAfTrackBase::IDLE: // cannot be on ActiveTracks if idle in threadLoop()
8388 case IAfTrackBase::PAUSED: // cannot be on ActiveTracks if paused in threadLoop()
8389 case IAfTrackBase::STOPPED: // cannot be on ActiveTracks if destroyed/terminated in threadLoop()
9059 attributionSource, *flags, IAfTrackBase::TYPE_DEFAULT, portId, in createRecordTrack_l()
9115 if (recordTrack->state() == IAfTrackBase::PAUSING) { in start()
9119 recordTrack->setState(IAfTrackBase::ACTIVE); in start()
9129 recordTrack->setState(IAfTrackBase::STARTING_1); in start()
9137 if (status == NO_ERROR && recordTrack->state() == IAfTrackBase::STARTING_1) { in start()
9138 recordTrack->setState(IAfTrackBase::STARTING_2); in start()
9144 if (recordTrack->state() != IAfTrackBase::STARTING_1) { in start()
9178 recordTrack->setState(IAfTrackBase::STARTING_2); in start()
9190 sp<IAfTrackBase> ptr = in syncStartEventCallback()
9191 std::any_cast<const wp<IAfTrackBase>>(strongEvent->cookie()).promote(); in syncStartEventCallback()
9203 if (mActiveTracks.indexOf(recordTrack) < 0 || recordTrack->state() == IAfTrackBase::PAUSING) { in stop()
9207 recordTrack->setState(IAfTrackBase::PAUSING); in stop()
9211 while (recordTrack->state() == IAfTrackBase::PAUSING && !recordTrack->isInvalid()) { in stop()
9216 if (recordTrack->state() == IAfTrackBase::PAUSED) { // successful stop in stop()
9363 track->setState(IAfTrackBase::STOPPED); in destroyTrack_l()