Lines Matching refs:IAfThreadBase
1092 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()
2844 IAfThreadBase* const thread = mRecordThreads.valueAt(i).get(); in systemReady()
2848 IAfThreadBase* const thread = mMmapThreads.valueAt(i).get(); in systemReady()
2920 sp<IAfThreadBase> AudioFlinger::openOutput_l(audio_module_handle_t module, in openOutput_l()
2980 || !IAfThreadBase::isValidPcmSinkFormat(halConfig->format) in openOutput_l()
2981 || !IAfThreadBase::isValidPcmSinkChannelMask(halConfig->channel_mask)) { in openOutput_l()
3040 const sp<IAfThreadBase> thread = openOutput_l(module, &output, &halConfig, in openOutput()
3119 if (playbackThread->type() == IAfThreadBase::MIXER) { in closeOutput_nonvirtual()
3134 if (playbackThread->type() == IAfThreadBase::MIXER in closeOutput_nonvirtual()
3135 || playbackThread->type() == IAfThreadBase::OFFLOAD in closeOutput_nonvirtual()
3136 || playbackThread->type() == IAfThreadBase::SPATIALIZER) { in closeOutput_nonvirtual()
3260 const sp<IAfThreadBase> thread = openInput_l( in openInput()
3284 sp<IAfThreadBase> AudioFlinger::openInput_l(audio_module_handle_t module, in openInput_l()
3680 void AudioFlinger::dumpToThreadLog_l(const sp<IAfThreadBase> &thread) in dumpToThreadLog_l()
3701 IAfThreadBase* AudioFlinger::checkThread_l(audio_io_handle_t ioHandle) const in checkThread_l()
3703 IAfThreadBase* thread = checkMmapThread_l(ioHandle); in checkThread_l()
3720 sp<IAfThreadBase> AudioFlinger::checkOutputThread_l(audio_io_handle_t ioHandle) const in checkOutputThread_l()
3726 sp<IAfThreadBase> thread = mPlaybackThreads.valueFor(ioHandle); in checkOutputThread_l()
3743 return thread != nullptr && thread->type() != IAfThreadBase::DIRECT ? thread : nullptr; in checkMixerThread_l()
3863 IAfThreadBase* AudioFlinger::hapticPlaybackThread_l() const { in hapticPlaybackThread_l()
4349 if ((sessionType & IAfThreadBase::EFFECT_SESSION) != 0) { in createEffect()
4358 IAfThreadBase* thread = checkRecordThread_l(io); in createEffect()
4370 if (thread->type() == IAfThreadBase::RECORD || sessionId == AUDIO_SESSION_OUTPUT_MIX) { in createEffect()
4384 IAfThreadBase* oriThread = nullptr; in createEffect()
4386 IAfThreadBase* const hapticThread = hapticPlaybackThread_l(); in createEffect()
4567 if ((pt->type() == IAfThreadBase::MIXER || pt->type() == IAfThreadBase::OFFLOAD) && in moveEffects()
4568 ((sessionType & IAfThreadBase::EFFECT_SESSION) != 0)) { in moveEffects()
4601 sp<IAfThreadBase> thread = getEffectThread_l(sessionId, effectId); in setEffectSuspended()
4784 const sp<IAfThreadBase> threadBase = getEffectThread_l(AUDIO_SESSION_OUTPUT_MIX, EffectId); in moveAuxEffectToIo()
4853 if (t->type() == IAfThreadBase::OFFLOAD) { in onNonOffloadableGlobalEffectEnable()