Lines Matching refs:Track

1935             sp<Track> track = mTracks[i];  in dumpTracks_l()
1955 sp<Track> track = mActiveTracks[i]; in dumpTracks_l()
1999 sp<AudioFlinger::PlaybackThread::Track> AudioFlinger::PlaybackThread::createTrack_l( in createTrack_l()
2021 sp<Track> track; in createTrack_l()
2283 sp<Track> t = mTracks[i]; in createTrack_l()
2295 track = new Track(this, client, streamType, attr, sampleRate, format, in createTrack_l()
2424 status_t AudioFlinger::PlaybackThread::addTrack_l(const sp<Track>& track) in addTrack_l()
2464 track->mFillingUpStatus = mStandby ? Track::FS_FILLING : Track::FS_FILLED; in addTrack_l()
2468 track->sharedBuffer() != 0 ? Track::FS_FILLED : Track::FS_FILLING; in addTrack_l()
2507 bool AudioFlinger::PlaybackThread::destroyTrack_l(const sp<Track>& track) in destroyTrack_l()
2522 void AudioFlinger::PlaybackThread::removeTrack_l(const sp<Track>& track) in removeTrack_l()
2806 for (const sp<Track> &track : mActiveTracks) { in updateMetadata_l()
2816 for (const sp<Track> &track : mActiveTracks) { in updateMetadata_l()
2864 sp<Track> track = mTracks[i]; in getStrategyForSession_l()
2915 sp<Track> track = mTracks[i]; in setSyncEvent()
2931 const Vector< sp<Track> >& tracksToRemove) in threadLoop_removeTracks()
3055 sp<Track> track = mTracks[i]; in threadLoop_exit()
3109 sp<Track> t = mTracks[i]; in invalidateTracks_l()
3156 sp<Track> track = mTracks[i]; in addEffectChain_l()
3166 for (const sp<Track> &track : mActiveTracks) { in addEffectChain_l()
3216 for (const sp<Track> &track : mActiveTracks) { in removeEffectChain_l()
3226 sp<Track> track = mTracks[i]; in removeEffectChain_l()
3239 const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId) in attachAuxEffect()
3246 const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId) in attachAuxEffect_l()
3271 sp<Track> track = mTracks[i]; in detachAuxEffect_l()
3282 Vector< sp<Track> > tracksToRemove; in threadLoop()
3343 std::vector<sp<Track>> activeTracks; in threadLoop()
3500 for (const sp<Track> &t : mActiveTracks) { in threadLoop()
3653 if (track->mFillingUpStatus == Track::FS_ACTIVE) { in threadLoop()
3961 void AudioFlinger::PlaybackThread::removeTracks_l(const Vector< sp<Track> >& tracksToRemove) in removeTracks_l()
4628 Vector< sp<Track> > *tracksToRemove) in prepareTracks_l()
4700 void tallyUnderrunFrames(sp<Track> track, size_t underrunFrames) { in prepareTracks_l()
4706 std::vector<std::pair<sp<Track>, size_t>> mUnderrunFrames; in prepareTracks_l()
4711 const sp<Track> t = mActiveTracks[i]; in prepareTracks_l()
4714 Track* const track = t.get(); in prepareTracks_l()
4996 if (track->mFillingUpStatus == Track::FS_FILLED) { in prepareTracks_l()
4998 track->mFillingUpStatus = Track::FS_ACTIVE; in prepareTracks_l()
5295 sp<Track> track = mActiveTracks[i]; in prepareTracks_l()
5557 void AudioFlinger::DirectOutputThread::processVolume_l(Track *track, bool lastTrack) in processVolume_l()
5612 sp<Track> previousTrack = mPreviousTrack.promote(); in onAddNewTrack_l()
5613 sp<Track> latestTrack = mActiveTracks.getLatest(); in onAddNewTrack_l()
5635 Vector< sp<Track> > *tracksToRemove in prepareTracks_l()
5644 for (const sp<Track> &t : mActiveTracks) { in prepareTracks_l()
5651 Track* const track = t.get(); in prepareTracks_l()
5659 sp<Track> l = mActiveTracks.getLatest(); in prepareTracks_l()
5711 if (track->mFillingUpStatus == Track::FS_FILLED) { in prepareTracks_l()
5712 track->mFillingUpStatus = Track::FS_ACTIVE; in prepareTracks_l()
5725 sp<Track> previousTrack = mPreviousTrack.promote(); in prepareTracks_l()
6173 Vector< sp<Track> > *tracksToRemove in prepareTracks_l()
6185 for (const sp<Track> &t : mActiveTracks) { in prepareTracks_l()
6186 Track* const track = t.get(); in prepareTracks_l()
6194 sp<Track> l = mActiveTracks.getLatest(); in prepareTracks_l()
6262 if (track->mFillingUpStatus == Track::FS_FILLED) { in prepareTracks_l()
6263 track->mFillingUpStatus = Track::FS_ACTIVE; in prepareTracks_l()
6271 sp<Track> previousTrack = mPreviousTrack.promote(); in prepareTracks_l()