Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:ThreadBase

438 //      ThreadBase
442 const char *AudioFlinger::ThreadBase::threadTypeToString(AudioFlinger::ThreadBase::type_t type)
462 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id,
482 AudioFlinger::ThreadBase::~ThreadBase()
497 status_t AudioFlinger::ThreadBase::readyToRun()
508 void AudioFlinger::ThreadBase::exit()
510 ALOGV("ThreadBase::exit");
532 status_t AudioFlinger::ThreadBase::setParameters(const String8& keyValuePairs)
534 ALOGV("ThreadBase::setParameters() %s", keyValuePairs.string());
540 // sendConfigEvent_l() must be called with ThreadBase::mLock held
542 status_t AudioFlinger::ThreadBase::sendConfigEvent_l(sp<ConfigEvent>& event)
569 void AudioFlinger::ThreadBase::sendIoConfigEvent(audio_io_config_event event, pid_t pid,
576 // sendIoConfigEvent_l() must be called with ThreadBase::mLock held
577 void AudioFlinger::ThreadBase::sendIoConfigEvent_l(audio_io_config_event event, pid_t pid,
593 void AudioFlinger::ThreadBase::sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp)
599 // sendPrioConfigEvent_l() must be called with ThreadBase::mLock held
600 void AudioFlinger::ThreadBase::sendPrioConfigEvent_l(
607 // sendSetParameterConfigEvent_l() must be called with ThreadBase::mLock held
608 status_t AudioFlinger::ThreadBase::sendSetParameterConfigEvent_l(const String8& keyValuePair)
626 status_t AudioFlinger::ThreadBase::sendCreateAudioPatchConfigEvent(
641 status_t AudioFlinger::ThreadBase::sendReleaseAudioPatchConfigEvent(
651 void AudioFlinger::ThreadBase::processConfigEvents_l()
793 void AudioFlinger::ThreadBase::dump(int fd, const Vector<String16>& args)
816 void AudioFlinger::ThreadBase::dumpBase_l(int fd, const Vector<String16>& args __unused)
880 void AudioFlinger::ThreadBase::dumpEffectChains_l(int fd, const Vector<String16>& args)
897 void AudioFlinger::ThreadBase::acquireWakeLock()
903 String16 AudioFlinger::ThreadBase::getWakeLockTag()
924 void AudioFlinger::ThreadBase::acquireWakeLock_l()
946 void AudioFlinger::ThreadBase::releaseWakeLock()
952 void AudioFlinger::ThreadBase::releaseWakeLock_l()
965 void AudioFlinger::ThreadBase::getPowerManager_l() {
979 void AudioFlinger::ThreadBase::updateWakeLockUids_l(const SortedVector<uid_t> &uids) {
1007 void AudioFlinger::ThreadBase::clearPowerManager()
1014 void AudioFlinger::ThreadBase::PMDeathRecipient::binderDied(const wp<IBinder>& who __unused)
1016 sp<ThreadBase> thread = mThread.promote();
1023 void AudioFlinger::ThreadBase::setEffectSuspended_l(
1038 void AudioFlinger::ThreadBase::checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain)
1062 void AudioFlinger::ThreadBase::updateSuspendedSessions_l(const effect_uuid_t *type,
1123 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled(const sp<EffectModule>& effect,
1131 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled_l(const sp<EffectModule>& effect,
1152 // checkEffectCompatibility_l() must be called with ThreadBase::mLock held
1190 // checkEffectCompatibility_l() must be called with ThreadBase::mLock held
1233 if ((hasAudioSession_l(sessionId) & ThreadBase::FAST_SESSION) == 0) {
1295 // ThreadBase::createEffect_l() must be called with AudioFlinger::mLock held
1296 sp<AudioFlinger::EffectHandle> AudioFlinger::ThreadBase::createEffect_l(
1386 void AudioFlinger::ThreadBase::disconnectEffectHandle(EffectHandle *handle,
1412 sp<AudioFlinger::EffectModule> AudioFlinger::ThreadBase::getEffect(audio_session_t sessionId,
1419 sp<AudioFlinger::EffectModule> AudioFlinger::ThreadBase::getEffect_l(audio_session_t sessionId,
1426 std::vector<int> AudioFlinger::ThreadBase::getEffectIds_l(audio_session_t sessionId)
1434 status_t AudioFlinger::ThreadBase::addEffect_l(const sp<EffectModule>& effect)
1479 void AudioFlinger::ThreadBase::removeEffect_l(const sp<EffectModule>& effect, bool release) {
1498 void AudioFlinger::ThreadBase::lockEffectChains_l(
1507 void AudioFlinger::ThreadBase::unlockEffectChains(
1515 sp<AudioFlinger::EffectChain> AudioFlinger::ThreadBase::getEffectChain(audio_session_t sessionId)
1521 sp<AudioFlinger::EffectChain> AudioFlinger::ThreadBase::getEffectChain_l(audio_session_t sessionId)
1533 void AudioFlinger::ThreadBase::setMode(audio_mode_t mode)
1542 void AudioFlinger::ThreadBase::toAudioPortConfig(struct audio_port_config *config)
1553 void AudioFlinger::ThreadBase::systemReady()
1568 ssize_t AudioFlinger::ThreadBase::ActiveTracks<T>::add(const sp<T> &track) {
1583 ssize_t AudioFlinger::ThreadBase::ActiveTracks<T>::remove(const sp<T> &track) {
1601 void AudioFlinger::ThreadBase::ActiveTracks<T>::clear() {
1614 void AudioFlinger::ThreadBase::ActiveTracks<T>::updatePowerState(
1615 sp<ThreadBase> thread, bool force) {
1645 bool AudioFlinger::ThreadBase::ActiveTracks<T>::readAndClearHasChanged() {
1652 void AudioFlinger::ThreadBase::ActiveTracks<T>::logTrack(
1661 void AudioFlinger::ThreadBase::broadcast_l()
1673 void AudioFlinger::ThreadBase::sendStatistics(bool force)
1740 : ThreadBase(audioFlinger, id, device, AUDIO_DEVICE_NONE, type, systemReady),
1835 // ThreadBase virtuals
2366 // addTrack_l() must be called with ThreadBase::mLock held
2835 // this method must always be called either with ThreadBase mLock held or inside the thread loop
3569 // Control methods on the track acquire the ThreadBase lock (e.g. start()
3571 // data / buffer methods on tracks from activeTracks without the ThreadBase lock.
3895 // removeTracks_l() must be called with ThreadBase::mLock held
4095 ThreadBase::toAudioPortConfig(config);
4529 // prepareTracks_l() must be called with ThreadBase::mLock held
5271 // trackCountForUid_l() must be called with ThreadBase::mLock held
5283 // isTrackAllowed_l() must be called with ThreadBase::mLock held
5303 // checkForNewParameter_l() must be called with ThreadBase::mLock held
5480 ThreadBase::type_t type, bool systemReady)
5864 // checkForNewParameter_l() must be called with ThreadBase::mLock held
6102 //FIXME: mStandby should be set to true by ThreadBase constructo
6515 const sp<ThreadBase> thread = track->thread().promote();
6592 sp<ThreadBase> strong = mOutputTracks[i]->thread().promote();
6607 sp<ThreadBase> thread = outputTracks[i]->thread().promote();
6657 ThreadBase(audioFlinger, id, outDevice, inDevice, RECORD, systemReady),
7607 sp<ThreadBase> strongMe = this;
7816 // destroyTrack_l() must be called with ThreadBase::mLock held
7926 sp<ThreadBase> threadBase = mRecordTrack->mThread.promote();
7927 RecordThread *recordThread = (RecordThread *) threadBase.get();
7935 sp<ThreadBase> threadBase = mRecordTrack->mThread.promote();
7936 RecordThread *recordThread = (RecordThread *) threadBase.get();
7969 sp<ThreadBase> threadBase = mRecordTrack->mThread.promote();
7970 if (threadBase == 0) {
7975 RecordThread *recordThread = (RecordThread *) threadBase.get();
8280 // this method must always be called either with ThreadBase mLock held or inside the thread loop
8409 ThreadBase::toAudioPortConfig(config);
8467 : ThreadBase(audioFlinger, id, outDevice, inDevice, MMAP, systemReady),
8825 // checkForNewParameter_l() must be called with ThreadBase::mLock held
9011 ThreadBase::toAudioPortConfig(config);