Lines Matching refs:ThreadBase
602 const char* ThreadBase::threadTypeToString(ThreadBase::type_t type) in threadTypeToString()
628 ThreadBase::ThreadBase(const sp<IAfThreadCallback>& afThreadCallback, audio_io_handle_t id, in ThreadBase() function in android::ThreadBase
651 ThreadBase::~ThreadBase() in ~ThreadBase()
666 status_t ThreadBase::readyToRun() in readyToRun()
677 void ThreadBase::exit() in exit()
705 status_t ThreadBase::setParameters(const String8& keyValuePairs) in setParameters()
715 status_t ThreadBase::sendConfigEvent_l(sp<ConfigEvent>& event) in sendConfigEvent_l()
745 void ThreadBase::sendIoConfigEvent(audio_io_config_event_t event, pid_t pid, in sendIoConfigEvent()
753 void ThreadBase::sendIoConfigEvent_l(audio_io_config_event_t event, pid_t pid, in sendIoConfigEvent_l()
770 void ThreadBase::sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp) in sendPrioConfigEvent()
777 void ThreadBase::sendPrioConfigEvent_l( in sendPrioConfigEvent_l()
785 status_t ThreadBase::sendSetParameterConfigEvent_l(const String8& keyValuePair) in sendSetParameterConfigEvent_l()
803 status_t ThreadBase::sendCreateAudioPatchConfigEvent( in sendCreateAudioPatchConfigEvent()
818 status_t ThreadBase::sendReleaseAudioPatchConfigEvent( in sendReleaseAudioPatchConfigEvent()
826 status_t ThreadBase::sendUpdateOutDeviceConfigEvent( in sendUpdateOutDeviceConfigEvent()
838 void ThreadBase::sendResizeBufferConfigEvent_l(int32_t maxSharedAudioHistoryMs) in sendResizeBufferConfigEvent_l()
846 void ThreadBase::sendCheckOutputStageEffectsEvent() in sendCheckOutputStageEffectsEvent()
852 void ThreadBase::sendCheckOutputStageEffectsEvent_l() in sendCheckOutputStageEffectsEvent_l()
859 void ThreadBase::sendHalLatencyModesChangedEvent_l() in sendHalLatencyModesChangedEvent_l()
866 void ThreadBase::processConfigEvents_l() in processConfigEvents_l()
1033 void ThreadBase::dump(int fd, const Vector<String16>& args) in dump()
1071 void ThreadBase::dumpBase_l(int fd, const Vector<String16>& /* args */) in dumpBase_l()
1147 void ThreadBase::dumpEffectChains_l(int fd, const Vector<String16>& args) in dumpEffectChains_l()
1164 void ThreadBase::acquireWakeLock() in acquireWakeLock()
1170 String16 ThreadBase::getWakeLockTag() in getWakeLockTag()
1195 void ThreadBase::acquireWakeLock_l() in acquireWakeLock_l()
1218 void ThreadBase::releaseWakeLock() in releaseWakeLock()
1224 void ThreadBase::releaseWakeLock_l() in releaseWakeLock_l()
1236 void ThreadBase::getPowerManager_l() { in getPowerManager_l()
1250 void ThreadBase::updateWakeLockUids_l(const SortedVector<uid_t>& uids) { in updateWakeLockUids_l()
1277 void ThreadBase::clearPowerManager() in clearPowerManager()
1284 void ThreadBase::updateOutDevices( in updateOutDevices()
1290 void ThreadBase::resizeInputBuffer_l(int32_t /* maxSharedAudioHistoryMs */) in resizeInputBuffer_l()
1295 void ThreadBase::PMDeathRecipient::binderDied(const wp<IBinder>& /* who */) in binderDied()
1297 sp<ThreadBase> thread = mThread.promote(); in binderDied()
1304 void ThreadBase::setEffectSuspended_l( in setEffectSuspended_l()
1319 void ThreadBase::checkSuspendOnAddEffectChain_l(const sp<IAfEffectChain>& chain) in checkSuspendOnAddEffectChain_l()
1343 void ThreadBase::updateSuspendedSessions_l(const effect_uuid_t* type, in updateSuspendedSessions_l()
1404 void ThreadBase::checkSuspendOnEffectEnabled(bool enabled, in checkSuspendOnEffectEnabled()
1527 if ((hasAudioSession_l(sessionId) & ThreadBase::FAST_SESSION) == 0) { in checkEffectCompatibility_l()
1615 } else if ((hasAudioSession_l(sessionId) & ThreadBase::BIT_PERFECT_SESSION) != 0) { in checkEffectCompatibility_l()
1629 sp<IAfEffectHandle> ThreadBase::createEffect_l( in createEffect_l()
1735 void ThreadBase::disconnectEffectHandle(IAfEffectHandle* handle, in disconnectEffectHandle()
1765 void ThreadBase::onEffectEnable(const sp<IAfEffectModule>& effect) { in onEffectEnable()
1771 if (mType == ThreadBase::OFFLOAD) { in onEffectEnable()
1781 void ThreadBase::onEffectDisable() { in onEffectDisable()
1788 sp<IAfEffectModule> ThreadBase::getEffect(audio_session_t sessionId, in getEffect()
1795 sp<IAfEffectModule> ThreadBase::getEffect_l(audio_session_t sessionId, in getEffect_l()
1802 std::vector<int> ThreadBase::getEffectIds_l(audio_session_t sessionId) const in getEffectIds_l()
1810 status_t ThreadBase::addEffect_ll(const sp<IAfEffectModule>& effect) in addEffect_ll()
1855 void ThreadBase::removeEffect_l(const sp<IAfEffectModule>& effect, bool release) { in removeEffect_l()
1874 void ThreadBase::lockEffectChains_l(Vector<sp<IAfEffectChain>>& effectChains) in lockEffectChains_l()
1883 void ThreadBase::unlockEffectChains(const Vector<sp<IAfEffectChain>>& effectChains) in unlockEffectChains()
1891 sp<IAfEffectChain> ThreadBase::getEffectChain(audio_session_t sessionId) const in getEffectChain()
1897 sp<IAfEffectChain> ThreadBase::getEffectChain_l(audio_session_t sessionId) in getEffectChain_l()
1909 void ThreadBase::setMode(audio_mode_t mode) in setMode()
1918 void ThreadBase::toAudioPortConfig(struct audio_port_config* config) in toAudioPortConfig()
1929 void ThreadBase::systemReady() in systemReady()
1944 ssize_t ThreadBase::ActiveTracks<T>::add(const sp<T>& track) { in add()
1959 ssize_t ThreadBase::ActiveTracks<T>::remove(const sp<T>& track) { in remove()
1978 void ThreadBase::ActiveTracks<T>::clear() { in clear()
1990 void ThreadBase::ActiveTracks<T>::updatePowerState_l( in updatePowerState_l()
1991 const sp<ThreadBase>& thread, bool force) { in updatePowerState_l()
2000 bool ThreadBase::ActiveTracks<T>::readAndClearHasChanged() { in readAndClearHasChanged()
2013 void ThreadBase::ActiveTracks<T>::logTrack( in logTrack()
2022 void ThreadBase::broadcast_l() in broadcast_l()
2034 void ThreadBase::sendStatistics(bool force) in sendStatistics()
2098 product_strategy_t ThreadBase::getStrategyForStream(audio_stream_type_t stream) const in getStrategyForStream()
2107 void ThreadBase::startMelComputation_l( in startMelComputation_l()
2115 void ThreadBase::stopMelComputation_l() in stopMelComputation_l()
2131 : ThreadBase(afThreadCallback, id, type, systemReady, true /* isOut */), in PlaybackThread()
3343 ThreadBase::MetadataUpdate PlaybackThread::updateMetadata_l() in updateMetadata_l()
3774 (hasAudioSession_l(session) & ThreadBase::SPATIALIZED_SESSION) != 0; in addEffectChain_l()
5061 ThreadBase::toAudioPortConfig(config); in toAudioPortConfig()
6655 AudioStreamOut* output, audio_io_handle_t id, ThreadBase::type_t type, bool systemReady, in DirectOutputThread()
8066 ThreadBase(afThreadCallback, id, RECORD, systemReady, false /* isOut */), in RecordThread()
9094 sp<ThreadBase> strongMe = this; in start()
9301 if ((hasAudioSession_l(sharedSessionId) & ThreadBase::TRACK_SESSION) == 0) { in shareAudioHistory_l()
9343 ThreadBase::MetadataUpdate RecordThread::updateMetadata_l() in updateMetadata_l()
10086 ThreadBase::toAudioPortConfig(config); in toAudioPortConfig()
10181 : ThreadBase(afThreadCallback, id, (isOut ? MMAP_PLAYBACK : MMAP_CAPTURE), systemReady, isOut), in MmapThread()
10793 ThreadBase::toAudioPortConfig(config); in toAudioPortConfig()
11148 ThreadBase::MetadataUpdate MmapPlaybackThread::updateMetadata_l() in updateMetadata_l()
11319 ThreadBase::MetadataUpdate MmapCaptureThread::updateMetadata_l() in updateMetadata_l()