Searched refs:ThreadBase (Results 1 – 11 of 11) sorted by relevance
/frameworks/av/services/audioflinger/ |
D | Effects.h | 45 EffectModule(ThreadBase *thread, 98 void setThread(const wp<ThreadBase>& thread) { mThread = thread; } in setThread() 99 const wp<ThreadBase>& thread() { return mThread; } in thread() 152 wp<ThreadBase> mThread; // parent thread 264 EffectChain(const wp<ThreadBase>& wThread, audio_session_t sessionId); 265 EffectChain(ThreadBase *thread, audio_session_t sessionId); 286 ThreadBase *thread, 364 bool isCompatibleWithThread_l(const sp<ThreadBase>& thread) const; 394 void clearInputBuffer_l(const sp<ThreadBase>& thread); 396 void setThread(const sp<ThreadBase>& thread); [all …]
|
D | Tracks.cpp | 62 AudioFlinger::ThreadBase::TrackBase::TrackBase( in TrackBase() 63 ThreadBase *thread, in TrackBase() 231 status_t AudioFlinger::ThreadBase::TrackBase::initCheck() const in initCheck() 242 AudioFlinger::ThreadBase::TrackBase::~TrackBase() in ~TrackBase() 271 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer) in releaseBuffer() 287 status_t AudioFlinger::ThreadBase::TrackBase::setSyncEvent(const sp<SyncEvent>& event) in setSyncEvent() 487 sp<ThreadBase> thread = mThread.promote(); in destroy() 707 sp<ThreadBase> thread = mThread.promote(); in start() 784 sp<ThreadBase> thread = mThread.promote(); in stop() 816 sp<ThreadBase> thread = mThread.promote(); in pause() [all …]
|
D | Effects.cpp | 61 AudioFlinger::EffectModule::EffectModule(ThreadBase *thread, in EffectModule() 100 setOffloaded(thread->type() == ThreadBase::OFFLOAD, thread->id()); in EffectModule() 353 sp<ThreadBase> thread; in configure() 492 sp<ThreadBase> thread = mThread.promote(); in addEffectToHal_l() 590 sp<ThreadBase> thread = mThread.promote(); in remove_effect_from_hal_l() 1209 sp<ThreadBase> thread = effect->thread().promote(); in enable() 1227 if (thread->type() == ThreadBase::OFFLOAD || thread->type() == ThreadBase::MMAP) { in enable() 1232 if (thread->type() == ThreadBase::OFFLOAD) { in enable() 1268 sp<ThreadBase> thread = effect->thread().promote(); in disable() 1271 if (thread->type() == ThreadBase::OFFLOAD || thread->type() == ThreadBase::MMAP) { in disable() [all …]
|
D | Threads.cpp | 433 const char *AudioFlinger::ThreadBase::threadTypeToString(AudioFlinger::ThreadBase::type_t type) in threadTypeToString() 497 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, in ThreadBase() function in android::AudioFlinger::ThreadBase 517 AudioFlinger::ThreadBase::~ThreadBase() in ~ThreadBase() 530 status_t AudioFlinger::ThreadBase::readyToRun() in readyToRun() 541 void AudioFlinger::ThreadBase::exit() in exit() 565 status_t AudioFlinger::ThreadBase::setParameters(const String8& keyValuePairs) in setParameters() 575 status_t AudioFlinger::ThreadBase::sendConfigEvent_l(sp<ConfigEvent>& event) in sendConfigEvent_l() 602 void AudioFlinger::ThreadBase::sendIoConfigEvent(audio_io_config_event event, pid_t pid) in sendIoConfigEvent() 609 void AudioFlinger::ThreadBase::sendIoConfigEvent_l(audio_io_config_event event, pid_t pid) in sendIoConfigEvent_l() 615 void AudioFlinger::ThreadBase::sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp) in sendPrioConfigEvent() [all …]
|
D | Threads.h | 22 class ThreadBase : public Thread { 39 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, 42 virtual ~ThreadBase(); 225 explicit PMDeathRecipient(const wp<ThreadBase>& thread) : mThread(thread) {} in PMDeathRecipient() 234 wp<ThreadBase> mThread; 563 void updatePowerState(sp<ThreadBase> thread, bool force = false); 602 class PlaybackThread : public ThreadBase, public StreamOutHalInterfaceCallback, 685 ThreadBase::acquireWakeLock_l(); in acquireWakeLock_l() 1125 audio_io_handle_t id, uint32_t device, ThreadBase::type_t type, 1243 class RecordThread : public ThreadBase [all …]
|
D | PatchPanel.cpp | 264 sp<ThreadBase> thread = in createAudioPatch() 277 sp<ThreadBase> thread = audioflinger->openOutput_l( in createAudioPatch() 314 sp<ThreadBase> thread = audioflinger->openInput_l(srcModule, in createAudioPatch() 334 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( in createAudioPatch() 381 sp<ThreadBase> thread = in createAudioPatch() 616 sp<ThreadBase> thread = audioflinger->checkRecordThread_l( in releaseAudioPatch() 642 sp<ThreadBase> thread = in releaseAudioPatch()
|
D | AudioFlinger.cpp | 736 if (sessions & ThreadBase::EFFECT_SESSION) { in createTrack() 808 ThreadBase *thread = checkThread_l(ioHandle); in sampleRate() 830 ThreadBase *thread = checkThread_l(ioHandle); in frameCount() 843 ThreadBase *thread = checkThread_l(ioHandle); in frameCountHAL() 1219 sp<ThreadBase> thread; in setParameters() 1269 ThreadBase *thread = (ThreadBase *)checkPlaybackThread_l(ioHandle); in getParameters() 1271 thread = (ThreadBase *)checkRecordThread_l(ioHandle); in getParameters() 1273 thread = (ThreadBase *)checkMmapThread_l(ioHandle); in getParameters() 1871 if (sessions & ThreadBase::TRACK_SESSION) { in getAudioHwSyncForSession() 1893 ThreadBase *thread = (ThreadBase *)mPlaybackThreads.valueAt(i).get(); in systemReady() [all …]
|
D | TrackBase.h | 57 TrackBase(ThreadBase *thread, 176 const wp<ThreadBase> mThread;
|
D | MmapTracks.h | 25 MmapTrack(ThreadBase *thread,
|
D | AudioFlinger.h | 610 ThreadBase *checkThread_l(audio_io_handle_t ioHandle) const; 618 sp<ThreadBase> openInput_l(audio_module_handle_t module, 625 sp<ThreadBase> openOutput_l(audio_module_handle_t module,
|
D | PlaybackTracks.h | 213 const wp<ThreadBase>& thread() const { return mThread; } in thread()
|