Home
last modified time | relevance | path

Searched refs:IAfThreadBase (Results 1 – 18 of 18) sorted by relevance

/frameworks/av/services/audioflinger/
DIAfPatchPanel.h70 virtual sp<IAfThreadBase> openInput_l(audio_module_handle_t module,
79 virtual sp<IAfThreadBase> openOutput_l(audio_module_handle_t module,
236 void setThread(const sp<IAfThreadBase>& thread) { mThread = thread; } in setThread()
237 wp<IAfThreadBase> thread() const { return mThread; } in thread()
257 wp<IAfThreadBase> mThread;
303 virtual void closeThreadInternal_l(const sp<IAfThreadBase>& thread) const
DTracks.cpp85 IAfThreadBase *thread, in TrackBase()
318 IAfThreadBase* thread, const Timeout& timeout) in PatchTrackBase()
566 IAfThreadBase* thread, in createIfNeeded()
594 OpPlayAudioMonitor::OpPlayAudioMonitor(IAfThreadBase* thread, in OpPlayAudioMonitor()
597 : mThread(wp<IAfThreadBase>::fromExisting(thread)), in OpPlayAudioMonitor()
645 if (thread != nullptr && thread->type() == IAfThreadBase::OFFLOAD) { in checkPlayAudioForUsage()
892 const sp<IAfThreadBase> thread = mThread.promote(); in destroy()
1183 const sp<IAfThreadBase> thread = mThread.promote(); in start()
1322 const sp<IAfThreadBase> thread = mThread.promote(); in stop()
1359 const sp<IAfThreadBase> thread = mThread.promote(); in pause()
[all …]
DTrackBase.h37 TrackBase(IAfThreadBase* thread,
84 wp<IAfThreadBase> thread() const final { return mThread; } in thread()
336 const wp<IAfThreadBase> mThread;
406 IAfThreadBase* thread,
DEffects.h426 EffectChain(const sp<IAfThreadBase>& thread,
532 bool isCompatibleWithThread_l(const sp<IAfThreadBase>& thread) const final
546 wp<IAfThreadBase> thread() const final { return mEffectCallback->thread(); } in thread()
568 void setThread(const sp<IAfThreadBase>& thread) final EXCLUDES_EffectChain_Mutex;
585 const sp<IAfThreadBase>& thread, in EffectCallback()
639 wp<IAfThreadBase> thread() const { return mThread.load(); } in thread()
641 void setThread(const sp<IAfThreadBase>& thread) { in setThread()
653 mediautils::atomic_wp<IAfThreadBase> mThread;
655 IAfThreadBase::type_t mThreadType = IAfThreadBase::MIXER;
DEffects.cpp2176 const sp<IAfThreadBase>& thread, in create()
2183 EffectChain::EffectChain(const sp<IAfThreadBase>& thread, audio_session_t sessionId, in EffectChain()
2999 void EffectChain::setThread(const sp<IAfThreadBase>& thread) in setThread()
3072 bool EffectChain::isCompatibleWithThread_l(const sp<IAfThreadBase>& thread) const in isCompatibleWithThread_l()
3124 const sp<IAfThreadBase> t = thread().promote(); in addEffectToHal()
3140 const sp<IAfThreadBase> t = thread().promote(); in removeEffectFromHal()
3154 const sp<IAfThreadBase> t = thread().promote(); in io()
3162 const sp<IAfThreadBase> t = thread().promote(); in isOutput()
3170 return mThreadType == IAfThreadBase::OFFLOAD; in isOffload()
3174 return mThreadType == IAfThreadBase::OFFLOAD in isOffloadOrDirect()
[all …]
DAudioFlinger.h310 sp<IAfThreadBase> checkOutputThread_l(audio_io_handle_t ioHandle) const final
325 sp<IAfThreadBase> openInput_l(audio_module_handle_t module,
334 sp<IAfThreadBase> openOutput_l(audio_module_handle_t module,
473 void dumpToThreadLog_l(const sp<IAfThreadBase>& thread) REQUIRES(mutex());
542 if ((sessionType & IAfThreadBase::EFFECT_SESSION) != 0) { in findIoHandleBySessionId_l()
550 IAfThreadBase* checkThread_l(audio_io_handle_t ioHandle) const REQUIRES(mutex());
584 sp<IAfThreadBase> getEffectThread_l(audio_session_t sessionId, int effectId)
587 IAfThreadBase* hapticPlaybackThread_l() const REQUIRES(mutex());
DIAfEffect.h41 class IAfThreadBase; variable
224 const sp<IAfThreadBase>& thread,
323 virtual bool isCompatibleWithThread_l(const sp<IAfThreadBase>& thread) const
337 virtual wp<IAfThreadBase> thread() const = 0;
338 virtual void setThread(const sp<IAfThreadBase>& thread) EXCLUDES_EffectChain_Mutex = 0;
DAudioFlinger.cpp1092 if (sessions & IAfThreadBase::EFFECT_SESSION) { in createTrack()
1207 IAfThreadBase* const thread = checkThread_l(ioHandle); in sampleRate()
1229 IAfThreadBase* const thread = checkThread_l(ioHandle); in frameCount()
1242 IAfThreadBase* const thread = checkThread_l(ioHandle); in frameCountHAL()
1861 sp<IAfThreadBase> thread; in setParameters()
1911 IAfThreadBase* thread = checkPlaybackThread_l(ioHandle); in getParameters()
2211 sp<IAfThreadBase> AudioFlinger::getEffectThread_l(audio_session_t sessionId, in getEffectThread_l()
2214 sp<IAfThreadBase> thread; in getEffectThread_l()
2815 if (sessions & IAfThreadBase::TRACK_SESSION) { in getAudioHwSyncForSession()
2840 IAfThreadBase* const thread = mPlaybackThreads.valueAt(i).get(); in systemReady()
[all …]
DPatchPanel.cpp70 void PatchPanel::closeThreadInternal_l(const sp<IAfThreadBase>& thread) const in closeThreadInternal_l()
236 const sp<IAfThreadBase> thread = mAfPatchPanelCallback->checkPlaybackThread_l( in createAudioPatch_l()
263 const sp<IAfThreadBase> thread = mAfPatchPanelCallback->openOutput_l( in createAudioPatch_l()
310 const sp<IAfThreadBase> thread = mAfPatchPanelCallback->openInput_l(srcModule, in createAudioPatch_l()
335 sp<IAfThreadBase> thread = mAfPatchPanelCallback->checkRecordThread_l( in createAudioPatch_l()
399 sp<IAfThreadBase> thread = mAfPatchPanelCallback->checkPlaybackThread_l( in createAudioPatch_l()
806 sp<IAfThreadBase> thread = mAfPatchPanelCallback->checkRecordThread_l(ioHandle); in releaseAudioPatch_l()
829 sp<IAfThreadBase> thread = mAfPatchPanelCallback->checkPlaybackThread_l(ioHandle); in releaseAudioPatch_l()
DMmapTracks.h29 MmapTrack(IAfThreadBase* thread,
DPlaybackTracks.h38 IAfThreadBase* thread,
44 OpPlayAudioMonitor(IAfThreadBase* thread,
65 wp<IAfThreadBase> mThread;
DMelReporter.h35 virtual sp<IAfThreadBase> checkOutputThread_l(audio_io_handle_t ioHandle) const
DIAfTrack.h46 class IAfThreadBase; variable
134 virtual wp<IAfThreadBase> thread() const = 0;
457 static sp<IAfMmapTrack> create(IAfThreadBase* thread,
DIAfThread.h126 class IAfThreadBase : public virtual RefBase {
406 class IAfPlaybackThread : public virtual IAfThreadBase, public virtual VolumeInterface {
562 class IAfRecordThread : public virtual IAfThreadBase {
629 class IAfMmapThread : public virtual IAfThreadBase {
DPatchPanel.h73 void closeThreadInternal_l(const sp<IAfThreadBase>& thread) const final
DRecordTracks.h217 sp<StreamInHalInterface> obtainStream(sp<IAfThreadBase>* thread);
DThreads.cpp269 bool IAfThreadBase::isValidPcmSinkChannelMask(audio_channel_mask_t channelMask) { in isValidPcmSinkChannelMask()
303 bool IAfThreadBase::isValidPcmSinkFormat(audio_format_t format) { in isValidPcmSinkFormat()
322 std::string IAfThreadBase::formatToString(audio_format_t format) { in formatToString()
1078 IAfThreadBase::formatToString(mHALFormat).c_str()); in dumpBase_l()
1084 IAfThreadBase::formatToString(mFormat).c_str()); in dumpBase_l()
3321 .set(AMEDIAMETRICS_PROP_ENCODING, IAfThreadBase::formatToString(mFormat).c_str()) in readOutputParameters_l()
3332 IAfThreadBase::formatToString(mHALFormat).c_str()) in readOutputParameters_l()
3370 if ((hasAudioSession_l(session) & IAfThreadBase::SPATIALIZED_SESSION) != 0) { in updateMetadata_l()
9771 .set(AMEDIAMETRICS_PROP_ENCODING, IAfThreadBase::formatToString(mFormat).c_str()) in readInputParameters_l()
10527 .set(AMEDIAMETRICS_PROP_ENCODING, IAfThreadBase::formatToString(mFormat).c_str()) in readHalParameters_l()
[all …]
DThreads.h43 class ThreadBase : public virtual IAfThreadBase, public Thread {