Lines Matching refs:mActiveTracks

1625     ssize_t index = mActiveTracks.indexOf(track);  in add()
1635 return mActiveTracks.add(track); in add()
1640 ssize_t index = mActiveTracks.remove(track); in remove()
1658 for (const sp<T> &track : mActiveTracks) { in clear()
1663 if (!mActiveTracks.empty()) { mHasChanged = true; } in clear()
1664 mActiveTracks.clear(); in clear()
1810 mActiveTracks(&this->mLocalLog), in PlaybackThread()
1926 size_t numactive = mActiveTracks.size(); in dumpTracks_l()
1937 bool active = mActiveTracks.indexOf(track) >= 0; in dumpTracks_l()
1953 mActiveTracks[0]->appendDumpHeader(result); in dumpTracks_l()
1955 sp<Track> track = mActiveTracks[i]; in dumpTracks_l()
2428 if (mActiveTracks.indexOf(track) < 0) { in addTrack_l()
2484 for (const auto &t : mActiveTracks) { in addTrack_l()
2492 mActiveTracks.add(track); in addTrack_l()
2511 bool trackActive = (mActiveTracks.indexOf(track) >= 0); in destroyTrack_l()
2805 bool hasChanged = mActiveTracks.readAndClearHasChanged(); in updateMetadata_l()
2806 for (const sp<Track> &track : mActiveTracks) { in updateMetadata_l()
2816 for (const sp<Track> &track : mActiveTracks) { in updateMetadata_l()
3062 mActiveTracks.clear(); in threadLoop_exit()
3166 for (const sp<Track> &track : mActiveTracks) { in addEffectChain_l()
3216 for (const sp<Track> &track : mActiveTracks) { in removeEffectChain_l()
3500 for (const sp<Track> &t : mActiveTracks) { in threadLoop()
3559 if ((mActiveTracks.isEmpty() && systemTime() > mStandbyTimeNs) || in threadLoop()
3574 if (mActiveTracks.isEmpty() && mConfigEvents.isEmpty()) { in threadLoop()
3609 mActiveTracks.updatePowerState(this); in threadLoop()
3622 for (const auto& track : mActiveTracks) { in threadLoop()
3635 activeTracks.insert(activeTracks.end(), mActiveTracks.begin(), mActiveTracks.end()); in threadLoop()
3964 mActiveTracks.remove(track); in removeTracks_l()
4641 size_t count = mActiveTracks.size(); in prepareTracks_l()
4711 const sp<Track> t = mActiveTracks[i]; in prepareTracks_l()
5295 sp<Track> track = mActiveTracks[i]; in prepareTracks_l()
5613 sp<Track> latestTrack = mActiveTracks.getLatest(); in onAddNewTrack_l()
5638 size_t count = mActiveTracks.size(); in prepareTracks_l()
5644 for (const sp<Track> &t : mActiveTracks) { in prepareTracks_l()
5659 sp<Track> l = mActiveTracks.getLatest(); in prepareTracks_l()
6176 size_t count = mActiveTracks.size(); in prepareTracks_l()
6185 for (const sp<Track> &t : mActiveTracks) { in prepareTracks_l()
6194 sp<Track> l = mActiveTracks.getLatest(); in prepareTracks_l()
6709 mActiveTracks(&this->mLocalLog), in RecordThread()
6892 mActiveTracks.clear(); in preExit()
6948 size_t size = mActiveTracks.size(); in threadLoop()
6964 activeTrack = mActiveTracks[i]; in threadLoop()
6971 mActiveTracks.remove(activeTrack); in threadLoop()
6980 mActiveTracks.remove(activeTrack); in threadLoop()
7021 mActiveTracks.updatePowerState(this); in threadLoop()
7421 mActiveTracks.clear(); in threadLoop()
7688 if (mActiveTracks.indexOf(recordTrack) >= 0) { in start()
7704 mActiveTracks.add(recordTrack); in start()
7732 mActiveTracks.remove(recordTrack); in start()
7773 if (mActiveTracks.indexOf(recordTrack) < 0 || recordTrack->mState == TrackBase::PAUSING) { in stop()
7854 !mActiveTracks.readAndClearHasChanged()) { in updateMetadata_l()
7858 for (const sp<RecordTrack> &track : mActiveTracks) { in updateMetadata_l()
7874 if (mActiveTracks.indexOf(track) < 0) { in destroyTrack_l()
7900 if (mActiveTracks.isEmpty()) { in dumpInternals_l()
7925 size_t numactive = mActiveTracks.size(); in dumpTracks_l()
7936 bool active = mActiveTracks.indexOf(track) >= 0; in dumpTracks_l()
7952 mActiveTracks[0]->appendDumpHeader(result); in dumpTracks_l()
7954 sp<RecordTrack> track = mActiveTracks[i]; in dumpTracks_l()
8142 if (mActiveTracks.size() > 0) { in checkForNewParameter_l()
8514 mActiveTracks(&this->mLocalLog), in MmapThread()
8537 for (const sp<MmapTrack> &t : mActiveTracks) { in disconnect()
8673 if (!mActiveTracks.isEmpty()) { in start()
8696 for (const sp<MmapTrack> &t : mActiveTracks) { in start()
8703 mActiveTracks.add(track); in start()
8735 for (const sp<MmapTrack> &t : mActiveTracks) { in stop()
8745 mActiveTracks.remove(track); in stop()
8775 if (!mActiveTracks.isEmpty()) { in standby()
8840 mActiveTracks.updatePowerState(this); in threadLoop()
9066 for (const sp<MmapTrack> &track : mActiveTracks) { in addEffectChain_l()
9094 for (const sp<MmapTrack> &track : mActiveTracks) { in removeEffectChain_l()
9158 for (const sp<MmapTrack> &track : mActiveTracks) { in checkInvalidTracks_l()
9178 if (mActiveTracks.isEmpty()) { in dumpInternals_l()
9186 size_t numtracks = mActiveTracks.size(); in dumpTracks_l()
9191 mActiveTracks[0]->appendDumpHeader(result); in dumpTracks_l()
9193 sp<MmapTrack> track = mActiveTracks[i]; in dumpTracks_l()
9300 for (const sp<MmapTrack> &track : mActiveTracks) { in invalidateTracks()
9364 !mActiveTracks.readAndClearHasChanged()) { in updateMetadata_l()
9368 for (const sp<MmapTrack> &track : mActiveTracks) { in updateMetadata_l()
9460 for (size_t i = 0; i < mActiveTracks.size() && !silenced; i++) { in processVolume_l()
9461 if (!mActiveTracks[i]->getAndSetSilencedNotified_l()) { in processVolume_l()
9463 silenced = mActiveTracks[i]->isSilenced_l(); in processVolume_l()
9475 !mActiveTracks.readAndClearHasChanged()) { in updateMetadata_l()
9479 for (const sp<MmapTrack> &track : mActiveTracks) { in updateMetadata_l()
9492 for (size_t i = 0; i < mActiveTracks.size() ; i++) { in setRecordSilenced()
9493 if (mActiveTracks[i]->uid() == uid) { in setRecordSilenced()
9494 mActiveTracks[i]->setSilenced_l(silenced); in setRecordSilenced()