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

/frameworks/av/services/audioflinger/
H A DEffects.h27 // AudioFlinger -> ThreadBase -> EffectChain -> EffectModule
44 EffectModule(ThreadBase *thread,
92 void setThread(const wp<ThreadBase>& thread) { mThread = thread; }
93 const wp<ThreadBase>& thread() { return mThread; }
140 wp<ThreadBase> mThread; // parent thread
242 EffectChain(const wp<ThreadBase>& wThread, int sessionId);
243 EffectChain(ThreadBase *thread, int sessionId);
346 void clearInputBuffer_l(sp<ThreadBase> thread);
348 wp<ThreadBase> mThread; // parent mixer thread
H A DTrackBase.h40 TrackBase(ThreadBase *thread,
117 const wp<ThreadBase> mThread;
H A DTracks.cpp62 AudioFlinger::ThreadBase::TrackBase::TrackBase(
63 ThreadBase *thread,
170 AudioFlinger::ThreadBase::TrackBase::~TrackBase()
198 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer)
214 status_t AudioFlinger::ThreadBase::TrackBase::setSyncEvent(const sp<SyncEvent>& event)
318 // Track constructor must be called with AudioFlinger::mLock and ThreadBase::mLock held
411 sp<ThreadBase> thread = mThread.promote();
574 sp<ThreadBase> thread = mThread.promote();
636 sp<ThreadBase> thread = mThread.promote();
664 sp<ThreadBase> threa
[all...]
H A DEffects.cpp56 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread,
197 sp<ThreadBase> thread = mThread.promote();
307 sp<ThreadBase> thread;
457 sp<ThreadBase> thread = mThread.promote();
503 sp<ThreadBase> thread = mThread.promote();
958 sp<ThreadBase> thread = mEffect->thread().promote();
976 if (thread->type() == ThreadBase::OFFLOAD) {
982 if (thread->type() == ThreadBase::OFFLOAD) {
1016 sp<ThreadBase> thread = mEffect->thread().promote();
1019 if (thread->type() == ThreadBase
[all...]
H A DThreads.cpp264 // ThreadBase
267 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, function in class:android::AudioFlinger::ThreadBase
283 AudioFlinger::ThreadBase::~ThreadBase()
300 void AudioFlinger::ThreadBase::exit()
302 ALOGV("ThreadBase::exit");
324 status_t AudioFlinger::ThreadBase::setParameters(const String8& keyValuePairs)
328 ALOGV("ThreadBase::setParameters() %s", keyValuePairs.string());
344 void AudioFlinger::ThreadBase
[all...]
H A DThreads.h22 class ThreadBase : public Thread { class in inherits:Thread
35 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
37 virtual ~ThreadBase();
104 PMDeathRecipient(const wp<ThreadBase>& thread) : mThread(thread) {}
114 wp<ThreadBase> mThread;
174 // same as getEffectChain() but must be called with ThreadBase mutex locked
181 // ThreadBase mutex before processing the mixer and effects. This guarantees the
333 class PlaybackThread : public ThreadBase {
396 // ThreadBase virtuals
731 audio_io_handle_t id, uint32_t device, ThreadBase
[all...]
H A DPlaybackTracks.h272 const wp<ThreadBase>& thread() const { return mThread; }
H A DAudioFlinger.cpp931 sp<ThreadBase> thread;
1595 if (thread->type() == ThreadBase::MIXER) {
1597 if (mPlaybackThreads.valueAt(i)->type() == ThreadBase::DUPLICATING) {
1626 // but the ThreadBase container still exists.
1628 if (thread->type() != ThreadBase::DUPLICATING) {
1833 // but the ThreadBase container still exists.
1941 sp<ThreadBase> t = ec->mThread.promote();
1983 return thread != NULL && thread->type() != ThreadBase::DIRECT ? (MixerThread *) thread : NULL;
2231 ThreadBase *thread = checkRecordThread_l(io);
2391 if (t->mType == ThreadBase
[all...]

Completed in 90 milliseconds