Lines Matching refs:ThreadBase

423 //      ThreadBase
427 const char *AudioFlinger::ThreadBase::threadTypeToString(AudioFlinger::ThreadBase::type_t type)
629 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
649 AudioFlinger::ThreadBase::~ThreadBase()
662 status_t AudioFlinger::ThreadBase::readyToRun()
673 void AudioFlinger::ThreadBase::exit()
675 ALOGV("ThreadBase::exit");
697 status_t AudioFlinger::ThreadBase::setParameters(const String8& keyValuePairs)
699 ALOGV("ThreadBase::setParameters() %s", keyValuePairs.string());
705 // sendConfigEvent_l() must be called with ThreadBase::mLock held
707 status_t AudioFlinger::ThreadBase::sendConfigEvent_l(sp<ConfigEvent>& event)
734 void AudioFlinger::ThreadBase::sendIoConfigEvent(audio_io_config_event event, pid_t pid)
740 // sendIoConfigEvent_l() must be called with ThreadBase::mLock held
741 void AudioFlinger::ThreadBase::sendIoConfigEvent_l(audio_io_config_event event, pid_t pid)
747 void AudioFlinger::ThreadBase::sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio)
753 // sendPrioConfigEvent_l() must be called with ThreadBase::mLock held
754 void AudioFlinger::ThreadBase::sendPrioConfigEvent_l(pid_t pid, pid_t tid, int32_t prio)
760 // sendSetParameterConfigEvent_l() must be called with ThreadBase::mLock held
761 status_t AudioFlinger::ThreadBase::sendSetParameterConfigEvent_l(const String8& keyValuePair)
779 status_t AudioFlinger::ThreadBase::sendCreateAudioPatchConfigEvent(
794 status_t AudioFlinger::ThreadBase::sendReleaseAudioPatchConfigEvent(
804 void AudioFlinger::ThreadBase::processConfigEvents_l()
923 void AudioFlinger::ThreadBase::dumpBase(int fd, const Vector<String16>& args __unused)
967 void AudioFlinger::ThreadBase::dumpEffectChains(int fd, const Vector<String16>& args)
985 void AudioFlinger::ThreadBase::acquireWakeLock(int uid)
991 String16 AudioFlinger::ThreadBase::getWakeLockTag()
1010 void AudioFlinger::ThreadBase::acquireWakeLock_l(int uid)
1045 void AudioFlinger::ThreadBase::releaseWakeLock()
1051 void AudioFlinger::ThreadBase::releaseWakeLock_l()
1069 void AudioFlinger::ThreadBase::updateWakeLockUids(const SortedVector<int> &uids) {
1074 void AudioFlinger::ThreadBase::getPowerManager_l() {
1088 void AudioFlinger::ThreadBase::updateWakeLockUids_l(const SortedVector<int> &uids) {
1107 void AudioFlinger::ThreadBase::clearPowerManager()
1114 void AudioFlinger::ThreadBase::PMDeathRecipient::binderDied(const wp<IBinder>& who __unused)
1116 sp<ThreadBase> thread = mThread.promote();
1123 void AudioFlinger::ThreadBase::setEffectSuspended(
1130 void AudioFlinger::ThreadBase::setEffectSuspended_l(
1145 void AudioFlinger::ThreadBase::checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain)
1169 void AudioFlinger::ThreadBase::updateSuspendedSessions_l(const effect_uuid_t *type,
1230 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled(const sp<EffectModule>& effect,
1238 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled_l(const sp<EffectModule>& effect,
1259 // ThreadBase::createEffect_l() must be called with AudioFlinger::mLock held
1260 sp<AudioFlinger::EffectHandle> AudioFlinger::ThreadBase::createEffect_l(
1403 sp<AudioFlinger::EffectModule> AudioFlinger::ThreadBase::getEffect(audio_session_t sessionId,
1410 sp<AudioFlinger::EffectModule> AudioFlinger::ThreadBase::getEffect_l(audio_session_t sessionId,
1419 status_t AudioFlinger::ThreadBase::addEffect_l(const sp<EffectModule>& effect)
1463 void AudioFlinger::ThreadBase::removeEffect_l(const sp<EffectModule>& effect) {
1482 void AudioFlinger::ThreadBase::lockEffectChains_l(
1491 void AudioFlinger::ThreadBase::unlockEffectChains(
1499 sp<AudioFlinger::EffectChain> AudioFlinger::ThreadBase::getEffectChain(audio_session_t sessionId)
1505 sp<AudioFlinger::EffectChain> AudioFlinger::ThreadBase::getEffectChain_l(audio_session_t sessionId)
1517 void AudioFlinger::ThreadBase::setMode(audio_mode_t mode)
1526 void AudioFlinger::ThreadBase::getAudioPortConfig(struct audio_port_config *config)
1537 void AudioFlinger::ThreadBase::systemReady()
1562 : ThreadBase(audioFlinger, id, device, AUDIO_DEVICE_NONE, type, systemReady),
1737 // ThreadBase virtuals
1998 // addTrack_l() must be called with ThreadBase::mLock held
2455 // this method must always be called either with ThreadBase mLock held or inside the thread loop
3248 // removeTracks_l() must be called with ThreadBase::mLock held
3422 ThreadBase::getAudioPortConfig(config);
3821 // prepareTracks_l() must be called with ThreadBase::mLock held
4411 // getTrackName_l() must be called with ThreadBase::mLock held
4418 // deleteTrackName_l() must be called with ThreadBase::mLock held
4425 // checkForNewParameter_l() must be called with ThreadBase::mLock held
4602 ThreadBase::type_t type, bool systemReady)
4957 // getTrackName_l() must be called with ThreadBase::mLock held
4964 // deleteTrackName_l() must be called with ThreadBase::mLock held
4969 // checkForNewParameter_l() must be called with ThreadBase::mLock held
5185 //FIXME: mStandby should be set to true by ThreadBase constructor
5602 sp<ThreadBase> strong = mOutputTracks[i]->thread().promote();
5617 sp<ThreadBase> thread = outputTracks[i]->thread().promote();
5661 ThreadBase(audioFlinger, id, outDevice, inDevice, RECORD, systemReady),
6404 sp<ThreadBase> strongMe = this;
6552 // destroyTrack_l() must be called with ThreadBase::mLock held
6649 sp<ThreadBase> threadBase = mRecordTrack->mThread.promote();
6658 sp<ThreadBase> threadBase = mRecordTrack->mThread.promote();
6691 sp<ThreadBase> threadBase = mRecordTrack->mThread.promote();
7245 // this method must always be called either with ThreadBase mLock held or inside the thread loop
7389 ThreadBase::getAudioPortConfig(config);