Searched refs:ThreadBase (Results 1 - 11 of 11) sorted by relevance

/frameworks/av/services/audioflinger/
H A DEffects.h27 // AudioFlinger -> ThreadBase -> EffectChain -> EffectModule
28 // AudioHandle -> ThreadBase -> EffectChain -> EffectModule
45 EffectModule(ThreadBase *thread,
98 void setThread(const wp<ThreadBase>& thread) { mThread = thread; }
99 const wp<ThreadBase>& thread() { return mThread; }
153 wp<ThreadBase> mThread; // parent thread
266 EffectChain(const wp<ThreadBase>& wThread, audio_session_t sessionId);
267 EffectChain(ThreadBase *thread, audio_session_t sessionId);
288 ThreadBase *thread,
365 bool isCompatibleWithThread_l(const sp<ThreadBase>
[all...]
H A DMmapTracks.h25 MmapTrack(ThreadBase *thread,
H A DTracks.cpp66 AudioFlinger::ThreadBase::TrackBase::TrackBase(
67 ThreadBase *thread,
223 status_t AudioFlinger::ThreadBase::TrackBase::initCheck() const
234 AudioFlinger::ThreadBase::TrackBase::~TrackBase()
263 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer)
279 status_t AudioFlinger::ThreadBase::TrackBase::setSyncEvent(const sp<SyncEvent>& event)
361 // Track constructor must be called with AudioFlinger::mLock and ThreadBase::mLock held
492 sp<ThreadBase> thread = mThread.promote();
686 sp<ThreadBase> thread = mThread.promote();
763 sp<ThreadBase> threa
[all...]
H A DTrackBase.h57 TrackBase(ThreadBase *thread,
141 const wp<ThreadBase> mThread;
H A DPatchPanel.cpp264 sp<ThreadBase> thread =
277 sp<ThreadBase> thread = audioflinger->openOutput_l(
314 sp<ThreadBase> thread = audioflinger->openInput_l(srcModule,
334 sp<ThreadBase> thread = audioflinger->checkRecordThread_l(
381 sp<ThreadBase> thread =
614 sp<ThreadBase> thread = audioflinger->checkRecordThread_l(
640 sp<ThreadBase> thread =
H A DThreads.cpp433 // ThreadBase
437 const char *AudioFlinger::ThreadBase::threadTypeToString(AudioFlinger::ThreadBase::type_t type)
501 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, function in class:android::AudioFlinger::ThreadBase
521 AudioFlinger::ThreadBase::~ThreadBase()
534 status_t AudioFlinger::ThreadBase::readyToRun()
545 void AudioFlinger::ThreadBase::exit()
547 ALOGV("ThreadBase
[all...]
H A DThreads.h22 class ThreadBase : public Thread { class in inherits:Thread
34 // If you add any values here, also update ThreadBase::threadTypeToString()
39 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
42 virtual ~ThreadBase();
225 explicit PMDeathRecipient(const wp<ThreadBase>& thread) : mThread(thread) {}
235 wp<ThreadBase> mThread;
268 // sendConfigEvent_l() must be called with ThreadBase::mLock held
320 // same as getEffectChain() but must be called with ThreadBase mutex locked
327 // ThreadBase mutex before processing the mixer and effects. This guarantees the
396 // checkEffectCompatibility_l() must be called with ThreadBase
[all...]
H A DEffects.cpp59 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread,
98 setOffloaded(thread->type() == ThreadBase::OFFLOAD, thread->id());
348 sp<ThreadBase> thread;
487 sp<ThreadBase> thread = mThread.promote();
585 sp<ThreadBase> thread = mThread.promote();
1210 sp<ThreadBase> thread = effect->thread().promote();
1228 if (thread->type() == ThreadBase::OFFLOAD || thread->type() == ThreadBase::MMAP) {
1233 if (thread->type() == ThreadBase::OFFLOAD) {
1269 sp<ThreadBase> threa
[all...]
H A DAudioFlinger.cpp730 if (sessions & ThreadBase::EFFECT_SESSION) {
802 ThreadBase *thread = checkThread_l(ioHandle);
824 ThreadBase *thread = checkThread_l(ioHandle);
837 ThreadBase *thread = checkThread_l(ioHandle);
1228 sp<ThreadBase> thread;
1278 ThreadBase *thread = (ThreadBase *)checkPlaybackThread_l(ioHandle);
1280 thread = (ThreadBase *)checkRecordThread_l(ioHandle);
1282 thread = (ThreadBase *)checkMmapThread_l(ioHandle);
1409 // mClientLock should not be held here because ThreadBase
[all...]
H A DPlaybackTracks.h213 const wp<ThreadBase>& thread() const { return mThread; }
H A DAudioFlinger.h607 ThreadBase *checkThread_l(audio_io_handle_t ioHandle) const;
615 sp<ThreadBase> openInput_l(audio_module_handle_t module,
622 sp<ThreadBase> openOutput_l(audio_module_handle_t module,
721 // must be locked after mLock and ThreadBase::mLock if both must be locked

Completed in 204 milliseconds