Home
last modified time | relevance | path

Searched refs:ThreadBase (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/services/audioflinger/
DEffects.h44 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
247 EffectChain(const wp<ThreadBase>& wThread, audio_session_t sessionId);
248 EffectChain(ThreadBase *thread, audio_session_t sessionId);
360 void clearInputBuffer_l(sp<ThreadBase> thread);
362 void setThread(const sp<ThreadBase>& thread);
364 wp<ThreadBase> mThread; // parent mixer thread
DTracks.cpp66 AudioFlinger::ThreadBase::TrackBase::TrackBase( in TrackBase()
67 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()
450 sp<ThreadBase> thread = mThread.promote(); in destroy()
636 sp<ThreadBase> thread = mThread.promote(); in start()
713 sp<ThreadBase> thread = mThread.promote(); in stop()
745 sp<ThreadBase> thread = mThread.promote(); in pause()
[all …]
DEffects.cpp58 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread, in EffectModule()
203 sp<ThreadBase> thread = mThread.promote(); in disconnect()
321 sp<ThreadBase> thread; in configure()
455 sp<ThreadBase> thread = mThread.promote(); in addEffectToHal_l()
535 sp<ThreadBase> thread = mThread.promote(); in remove_effect_from_hal_l()
1103 sp<ThreadBase> thread = mEffect->thread().promote(); in enable()
1121 if (thread->type() == ThreadBase::OFFLOAD) { in enable()
1127 if (thread->type() == ThreadBase::OFFLOAD) { in enable()
1161 sp<ThreadBase> thread = mEffect->thread().promote(); in disable()
1164 if (thread->type() == ThreadBase::OFFLOAD) { in disable()
[all …]
DThreads.cpp427 const char *AudioFlinger::ThreadBase::threadTypeToString(AudioFlinger::ThreadBase::type_t type) in threadTypeToString()
629 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, in ThreadBase() function in android::AudioFlinger::ThreadBase
649 AudioFlinger::ThreadBase::~ThreadBase() in ~ThreadBase()
662 status_t AudioFlinger::ThreadBase::readyToRun() in readyToRun()
673 void AudioFlinger::ThreadBase::exit() in exit()
697 status_t AudioFlinger::ThreadBase::setParameters(const String8& keyValuePairs) in setParameters()
707 status_t AudioFlinger::ThreadBase::sendConfigEvent_l(sp<ConfigEvent>& event) in sendConfigEvent_l()
734 void AudioFlinger::ThreadBase::sendIoConfigEvent(audio_io_config_event event, pid_t pid) in sendIoConfigEvent()
741 void AudioFlinger::ThreadBase::sendIoConfigEvent_l(audio_io_config_event event, pid_t pid) in sendIoConfigEvent_l()
747 void AudioFlinger::ThreadBase::sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio) in sendPrioConfigEvent()
[all …]
DTrackBase.h57 TrackBase(ThreadBase *thread,
136 const wp<ThreadBase> mThread;
DPatchPanel.cpp230 sp<ThreadBase> thread = in createAudioPatch()
298 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( in createAudioPatch()
347 sp<ThreadBase> thread = in createAudioPatch()
577 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( in releaseAudioPatch()
604 sp<ThreadBase> thread = in releaseAudioPatch()
DThreads.h22 class ThreadBase : public Thread {
37 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
40 virtual ~ThreadBase();
221 PMDeathRecipient(const wp<ThreadBase>& thread) : mThread(thread) {} in PMDeathRecipient()
231 wp<ThreadBase> mThread;
474 class PlaybackThread : public ThreadBase {
975 audio_io_handle_t id, uint32_t device, ThreadBase::type_t type,
1086 class RecordThread : public ThreadBase
DAudioFlinger.cpp734 ThreadBase *thread = checkThread_l(ioHandle); in sampleRate()
756 ThreadBase *thread = checkThread_l(ioHandle); in frameCount()
769 ThreadBase *thread = checkThread_l(ioHandle); in frameCountHAL()
1153 sp<ThreadBase> thread; in setParameters()
1787 ThreadBase *thread = (ThreadBase *)mPlaybackThreads.valueAt(i).get(); in systemReady()
1791 ThreadBase *thread = (ThreadBase *)mRecordThreads.valueAt(i).get(); in systemReady()
1977 if (thread->type() == ThreadBase::MIXER) { in closeOutput_nonvirtual()
2416 sp<ThreadBase> t = ec->mThread.promote(); in purgeStaleEffects_l()
2449 AudioFlinger::ThreadBase *AudioFlinger::checkThread_l(audio_io_handle_t ioHandle) const in checkThread_l()
2451 ThreadBase *thread = NULL; in checkThread_l()
[all …]
DPlaybackTracks.h198 const wp<ThreadBase>& thread() const { return mThread; } in thread()
DAudioFlinger.h525 ThreadBase *checkThread_l(audio_io_handle_t ioHandle) const;