Searched refs:ThreadBase (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | Effects.h | 44 EffectModule(ThreadBase *thread, 92 void setThread(const wp<ThreadBase>& thread) { mThread = thread; } in setThread() 93 const wp<ThreadBase>& thread() { return mThread; } in thread() 141 wp<ThreadBase> mThread; // parent thread 245 EffectChain(const wp<ThreadBase>& wThread, int sessionId); 246 EffectChain(ThreadBase *thread, int sessionId); 358 void clearInputBuffer_l(sp<ThreadBase> thread); 360 void setThread(const sp<ThreadBase>& thread); 362 wp<ThreadBase> mThread; // parent mixer thread
|
D | Tracks.cpp | 64 AudioFlinger::ThreadBase::TrackBase::TrackBase( in TrackBase() 65 ThreadBase *thread, in TrackBase() 206 status_t AudioFlinger::ThreadBase::TrackBase::initCheck() const in initCheck() 217 AudioFlinger::ThreadBase::TrackBase::~TrackBase() in ~TrackBase() 247 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer) in releaseBuffer() 263 status_t AudioFlinger::ThreadBase::TrackBase::setSyncEvent(const sp<SyncEvent>& event) in setSyncEvent() 487 sp<ThreadBase> thread = mThread.promote(); in destroy() 661 sp<ThreadBase> thread = mThread.promote(); in start() 726 sp<ThreadBase> thread = mThread.promote(); in stop() 754 sp<ThreadBase> thread = mThread.promote(); in pause() [all …]
|
D | Threads.cpp | 317 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, in ThreadBase() function in android::AudioFlinger::ThreadBase 333 AudioFlinger::ThreadBase::~ThreadBase() in ~ThreadBase() 346 status_t AudioFlinger::ThreadBase::readyToRun() in readyToRun() 357 void AudioFlinger::ThreadBase::exit() in exit() 381 status_t AudioFlinger::ThreadBase::setParameters(const String8& keyValuePairs) in setParameters() 393 status_t AudioFlinger::ThreadBase::sendConfigEvent_l(sp<ConfigEvent>& event) in sendConfigEvent_l() 415 void AudioFlinger::ThreadBase::sendIoConfigEvent(int event, int param) in sendIoConfigEvent() 422 void AudioFlinger::ThreadBase::sendIoConfigEvent_l(int event, int param) in sendIoConfigEvent_l() 429 void AudioFlinger::ThreadBase::sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio) in sendPrioConfigEvent_l() 436 status_t AudioFlinger::ThreadBase::sendSetParameterConfigEvent_l(const String8& keyValuePair) in sendSetParameterConfigEvent_l() [all …]
|
D | Effects.cpp | 58 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread, in EffectModule() 203 sp<ThreadBase> thread = mThread.promote(); in disconnect() 321 sp<ThreadBase> thread; in configure() 447 sp<ThreadBase> thread = mThread.promote(); in addEffectToHal_l() 527 sp<ThreadBase> thread = mThread.promote(); in remove_effect_from_hal_l() 1090 sp<ThreadBase> thread = mEffect->thread().promote(); in enable() 1108 if (thread->type() == ThreadBase::OFFLOAD) { in enable() 1114 if (thread->type() == ThreadBase::OFFLOAD) { in enable() 1148 sp<ThreadBase> thread = mEffect->thread().promote(); in disable() 1151 if (thread->type() == ThreadBase::OFFLOAD) { in disable() [all …]
|
D | PatchPanel.cpp | 232 sp<ThreadBase> thread = in createAudioPatch() 288 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( in createAudioPatch() 307 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( in createAudioPatch() 358 sp<ThreadBase> thread = in createAudioPatch() 590 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( in releaseAudioPatch() 604 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( in releaseAudioPatch() 627 sp<ThreadBase> thread = in releaseAudioPatch()
|
D | TrackBase.h | 58 TrackBase(ThreadBase *thread, 138 const wp<ThreadBase> mThread;
|
D | Threads.h | 22 class ThreadBase : public Thread { 35 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, 37 virtual ~ThreadBase(); 215 PMDeathRecipient(const wp<ThreadBase>& thread) : mThread(thread) {} in PMDeathRecipient() 225 wp<ThreadBase> mThread; 446 class PlaybackThread : public ThreadBase { 926 audio_io_handle_t id, uint32_t device, ThreadBase::type_t type); 1031 class RecordThread : public ThreadBase
|
D | AudioFlinger.cpp | 1066 sp<ThreadBase> thread; in setParameters() 1860 if (thread->type() == ThreadBase::MIXER) { in closeOutput_nonvirtual() 1862 if (mPlaybackThreads.valueAt(i)->type() == ThreadBase::DUPLICATING) { in closeOutput_nonvirtual() 1893 if (thread->type() != ThreadBase::DUPLICATING) { in closeOutput_nonvirtual() 2279 sp<ThreadBase> t = ec->mThread.promote(); in purgeStaleEffects_l() 2321 return thread != NULL && thread->type() != ThreadBase::DIRECT ? (MixerThread *) thread : NULL; in checkMixerThread_l() 2569 ThreadBase *thread = checkRecordThread_l(io); in createEffect() 2652 if ((dstThread->type() == ThreadBase::MIXER || dstThread->type() == ThreadBase::DUPLICATING) && in moveEffectChain_l() 2751 if (t->mType == ThreadBase::OFFLOAD) { in onNonOffloadableGlobalEffectEnable()
|
D | PlaybackTracks.h | 277 const wp<ThreadBase>& thread() const { return mThread; } in thread()
|