Lines Matching refs:ThreadBase
65 AudioFlinger::ThreadBase::TrackBase::TrackBase(
66 ThreadBase *thread,
225 status_t AudioFlinger::ThreadBase::TrackBase::initCheck() const
236 AudioFlinger::ThreadBase::TrackBase::~TrackBase()
262 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer)
276 status_t AudioFlinger::ThreadBase::TrackBase::setSyncEvent(const sp<SyncEvent>& event)
282 AudioFlinger::ThreadBase::PatchTrackBase::PatchTrackBase(sp<ClientProxy> proxy,
283 const ThreadBase& thread,
297 void AudioFlinger::ThreadBase::PatchTrackBase::setPeerTimeout(std::chrono::nanoseconds timeout) {
496 // Track constructor must be called with AudioFlinger::mLock and ThreadBase::mLock held
582 mServerLatencySupported = thread->type() == ThreadBase::MIXER
583 || thread->type() == ThreadBase::DUPLICATING;
631 sp<ThreadBase> thread = mThread.promote();
929 sp<ThreadBase> thread = mThread.promote();
1018 sp<ThreadBase> thread = mThread.promote();
1051 sp<ThreadBase> thread = mThread.promote();
1085 sp<ThreadBase> thread = mThread.promote();
1176 sp<ThreadBase> thread = mThread.promote();
1180 } else if ((thread->type() == ThreadBase::DIRECT) ||
1181 (thread->type() == ThreadBase::OFFLOAD)) {
1190 sp<ThreadBase> thread = mThread.promote();
1194 } else if ((thread->type() == ThreadBase::DIRECT) || (thread->type() == ThreadBase::OFFLOAD)) {
1227 sp<ThreadBase> thread = mThread.promote();
1271 sp<ThreadBase> thread = mThread.promote();
1283 sp<ThreadBase> thread = mThread.promote();
1431 sp<ThreadBase> thread = mThread.promote();
1522 sp<ThreadBase> thread = mTrack->mThread.promote();
1539 sp<ThreadBase> thread = mTrack->mThread.promote();
1701 sp<ThreadBase> thread = mThread.promote();
1941 // RecordTrack constructor must be called with AudioFlinger::mLock and ThreadBase::mLock held
2045 sp<ThreadBase> thread = mThread.promote();
2056 sp<ThreadBase> thread = mThread.promote();
2071 sp<ThreadBase> thread = mThread.promote();
2164 sp<ThreadBase> threadBase = mThread.promote();
2165 if (threadBase != 0) {
2168 framesToDrop = threadBase->mFrameCount * 2;
2224 sp<ThreadBase> thread = mThread.promote();
2235 sp<ThreadBase> thread = mThread.promote();
2245 sp<ThreadBase> thread = mThread.promote();
2329 AudioFlinger::MmapThread::MmapTrack::MmapTrack(ThreadBase *thread,