Lines Matching refs:IAfTrack
2304 sp<IAfTrack> track = mTracks[i]; in dumpTracks_l()
2324 sp<IAfTrack> track = mActiveTracks[i]; in dumpTracks_l()
2368 sp<IAfTrack> PlaybackThread::createTrack_l( in createTrack_l()
2394 sp<IAfTrack> track; in createTrack_l()
2688 sp<IAfTrack> t = mTracks[i]; in createTrack_l()
2714 track = IAfTrack::create(this, client, streamType, attr, sampleRate, format, in createTrack_l()
2853 status_t PlaybackThread::addTrack_l(const sp<IAfTrack>& track) in addTrack_l()
2899 track->fillingStatus() = mStandby ? IAfTrack::FS_FILLING : IAfTrack::FS_FILLED; in addTrack_l()
2903 track->sharedBuffer() != 0 ? IAfTrack::FS_FILLED : IAfTrack::FS_FILLING; in addTrack_l()
2965 bool PlaybackThread::destroyTrack_l(const sp<IAfTrack>& track) in destroyTrack_l()
2983 void PlaybackThread::removeTrack_l(const sp<IAfTrack>& track) in removeTrack_l()
3355 for (const sp<IAfTrack>& track : mActiveTracks) { in updateMetadata_l()
3386 for (const sp<IAfTrack>& track : mActiveTracks) { in updateMetadata_l()
3440 sp<IAfTrack> track = mTracks[i]; in getStrategyForSession_l()
3491 sp<IAfTrack> track = mTracks[i]; in setSyncEvent()
3507 [[maybe_unused]] const Vector<sp<IAfTrack>>& tracksToRemove) in threadLoop_removeTracks()
3658 sp<IAfTrack> track = mTracks[i]; in threadLoop_exit()
3713 sp<IAfTrack> t = mTracks[i]; in invalidateTracks_l()
3737 sp<IAfTrack> t = mTracks[i]; in invalidateTracks_l()
3751 IAfTrack* PlaybackThread::getTrackById_l( in getTrackById_l()
3846 sp<IAfTrack> track = mTracks[i]; in addEffectChain_l()
3856 for (const sp<IAfTrack>& track : mActiveTracks) { in addEffectChain_l()
3908 for (const sp<IAfTrack>& track : mActiveTracks) { in removeEffectChain_l()
3918 sp<IAfTrack> track = mTracks[j]; in removeEffectChain_l()
3931 const sp<IAfTrack>& track, int EffectId) in attachAuxEffect()
3938 const sp<IAfTrack>& track, int EffectId) in attachAuxEffect_l()
3963 sp<IAfTrack> track = mTracks[i]; in detachAuxEffect_l()
4008 Vector<sp<IAfTrack>> tracksToRemove; in threadLoop()
4063 std::vector<sp<IAfTrack>> activeTracks; in threadLoop()
4285 if (track->fillingStatus() == IAfTrack::FS_ACTIVE in threadLoop()
4769 for (const sp<IAfTrack>& t : mActiveTracks) { in collectTimestamps_l()
4800 void PlaybackThread::removeTracks_l(const Vector<sp<IAfTrack>>& tracksToRemove) in removeTracks_l()
5532 Vector<sp<IAfTrack>>* tracksToRemove) in prepareTracks_l()
5608 void tallyUnderrunFrames(const sp<IAfTrack>& track, size_t underrunFrames) { in prepareTracks_l()
5615 std::vector<std::pair<sp<IAfTrack>, size_t>> mUnderrunFrames; in prepareTracks_l()
5621 const sp<IAfTrack> t = mActiveTracks[i]; in prepareTracks_l()
5624 IAfTrack* const track = t.get(); in prepareTracks_l()
5923 if (track->fillingStatus() == IAfTrack::FS_FILLED) { in prepareTracks_l()
5925 track->fillingStatus() = IAfTrack::FS_ACTIVE; in prepareTracks_l()
6272 sp<IAfTrack> track = mActiveTracks[i]; in prepareTracks_l()
6684 void DirectOutputThread::processVolume_l(IAfTrack* track, bool lastTrack) in processVolume_l()
6764 sp<IAfTrack> previousTrack = mPreviousTrack.promote(); in onAddNewTrack_l()
6765 sp<IAfTrack> latestTrack = mActiveTracks.getLatest(); in onAddNewTrack_l()
6788 Vector<sp<IAfTrack>>* tracksToRemove in prepareTracks_l()
6797 for (const sp<IAfTrack>& t : mActiveTracks) { in prepareTracks_l()
6804 IAfTrack* const track = t.get(); in prepareTracks_l()
6812 sp<IAfTrack> l = mActiveTracks.getLatest(); in prepareTracks_l()
6879 if (track->fillingStatus() == IAfTrack::FS_FILLED) { in prepareTracks_l()
6880 track->fillingStatus() = IAfTrack::FS_ACTIVE; in prepareTracks_l()
6893 sp<IAfTrack> previousTrack = mPreviousTrack.promote(); in prepareTracks_l()
7357 Vector<sp<IAfTrack>>* tracksToRemove in prepareTracks_l()
7369 for (const sp<IAfTrack>& t : mActiveTracks) { in prepareTracks_l()
7370 IAfTrack* const track = t.get(); in prepareTracks_l()
7378 sp<IAfTrack> l = mActiveTracks.getLatest(); in prepareTracks_l()
7453 if (track->fillingStatus() == IAfTrack::FS_FILLED) { in prepareTracks_l()
7454 track->fillingStatus() = IAfTrack::FS_ACTIVE; in prepareTracks_l()
7462 sp<IAfTrack> previousTrack = mPreviousTrack.promote(); in prepareTracks_l()
11386 Vector<sp<IAfTrack>>* tracksToRemove) { in prepareTracks_l()
11391 if (sp<IAfTrack> bitPerfectTrack = getTrackToStreamBitPerfectly_l(); in prepareTracks_l()
11434 sp<IAfTrack> BitPerfectThread::getTrackToStreamBitPerfectly_l() { in getTrackToStreamBitPerfectly_l()
11437 sp<IAfTrack> bitPerfectTrack = nullptr; in getTrackToStreamBitPerfectly_l()