Lines Matching refs:AudioFlinger
445 const char *AudioFlinger::ThreadBase::threadTypeToString(AudioFlinger::ThreadBase::type_t type) in threadTypeToString()
465 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, in ThreadBase()
484 AudioFlinger::ThreadBase::~ThreadBase() in ~ThreadBase()
499 status_t AudioFlinger::ThreadBase::readyToRun() in readyToRun()
510 void AudioFlinger::ThreadBase::exit() in exit()
534 status_t AudioFlinger::ThreadBase::setParameters(const String8& keyValuePairs) in setParameters()
544 status_t AudioFlinger::ThreadBase::sendConfigEvent_l(sp<ConfigEvent>& event) in sendConfigEvent_l()
571 void AudioFlinger::ThreadBase::sendIoConfigEvent(audio_io_config_event event, pid_t pid, in sendIoConfigEvent()
579 void AudioFlinger::ThreadBase::sendIoConfigEvent_l(audio_io_config_event event, pid_t pid, in sendIoConfigEvent_l()
595 void AudioFlinger::ThreadBase::sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp) in sendPrioConfigEvent()
602 void AudioFlinger::ThreadBase::sendPrioConfigEvent_l( in sendPrioConfigEvent_l()
610 status_t AudioFlinger::ThreadBase::sendSetParameterConfigEvent_l(const String8& keyValuePair) in sendSetParameterConfigEvent_l()
628 status_t AudioFlinger::ThreadBase::sendCreateAudioPatchConfigEvent( in sendCreateAudioPatchConfigEvent()
643 status_t AudioFlinger::ThreadBase::sendReleaseAudioPatchConfigEvent( in sendReleaseAudioPatchConfigEvent()
651 status_t AudioFlinger::ThreadBase::sendUpdateOutDeviceConfigEvent( in sendUpdateOutDeviceConfigEvent()
665 void AudioFlinger::ThreadBase::processConfigEvents_l() in processConfigEvents_l()
812 void AudioFlinger::ThreadBase::dump(int fd, const Vector<String16>& args) in dump()
817 bool locked = AudioFlinger::dumpTryLock(mLock); in dump()
835 void AudioFlinger::ThreadBase::dumpBase_l(int fd, const Vector<String16>& args __unused) in dumpBase_l()
901 void AudioFlinger::ThreadBase::dumpEffectChains_l(int fd, const Vector<String16>& args) in dumpEffectChains_l()
918 void AudioFlinger::ThreadBase::acquireWakeLock() in acquireWakeLock()
924 String16 AudioFlinger::ThreadBase::getWakeLockTag() in getWakeLockTag()
945 void AudioFlinger::ThreadBase::acquireWakeLock_l() in acquireWakeLock_l()
967 void AudioFlinger::ThreadBase::releaseWakeLock() in releaseWakeLock()
973 void AudioFlinger::ThreadBase::releaseWakeLock_l() in releaseWakeLock_l()
986 void AudioFlinger::ThreadBase::getPowerManager_l() { in getPowerManager_l()
1000 void AudioFlinger::ThreadBase::updateWakeLockUids_l(const SortedVector<uid_t> &uids) { in updateWakeLockUids_l()
1028 void AudioFlinger::ThreadBase::clearPowerManager() in clearPowerManager()
1035 void AudioFlinger::ThreadBase::updateOutDevices( in updateOutDevices()
1041 void AudioFlinger::ThreadBase::PMDeathRecipient::binderDied(const wp<IBinder>& who __unused) in binderDied()
1050 void AudioFlinger::ThreadBase::setEffectSuspended_l( in setEffectSuspended_l()
1065 void AudioFlinger::ThreadBase::checkSuspendOnAddEffectChain_l(const sp<EffectChain>& chain) in checkSuspendOnAddEffectChain_l()
1089 void AudioFlinger::ThreadBase::updateSuspendedSessions_l(const effect_uuid_t *type, in updateSuspendedSessions_l()
1150 void AudioFlinger::ThreadBase::checkSuspendOnEffectEnabled(bool enabled, in checkSuspendOnEffectEnabled()
1174 status_t AudioFlinger::RecordThread::checkEffectCompatibility_l( in checkEffectCompatibility_l()
1213 status_t AudioFlinger::PlaybackThread::checkEffectCompatibility_l( in checkEffectCompatibility_l()
1325 sp<AudioFlinger::EffectHandle> AudioFlinger::ThreadBase::createEffect_l( in createEffect_l()
1326 const sp<AudioFlinger::Client>& client, in createEffect_l()
1416 void AudioFlinger::ThreadBase::disconnectEffectHandle(EffectHandle *handle, in disconnectEffectHandle()
1445 void AudioFlinger::ThreadBase::onEffectEnable(const sp<EffectModule>& effect) { in onEffectEnable()
1461 void AudioFlinger::ThreadBase::onEffectDisable() { in onEffectDisable()
1468 sp<AudioFlinger::EffectModule> AudioFlinger::ThreadBase::getEffect(audio_session_t sessionId, in getEffect()
1475 sp<AudioFlinger::EffectModule> AudioFlinger::ThreadBase::getEffect_l(audio_session_t sessionId, in getEffect_l()
1482 std::vector<int> AudioFlinger::ThreadBase::getEffectIds_l(audio_session_t sessionId) in getEffectIds_l()
1490 status_t AudioFlinger::ThreadBase::addEffect_l(const sp<EffectModule>& effect) in addEffect_l()
1535 void AudioFlinger::ThreadBase::removeEffect_l(const sp<EffectModule>& effect, bool release) { in removeEffect_l()
1554 void AudioFlinger::ThreadBase::lockEffectChains_l( in lockEffectChains_l()
1555 Vector< sp<AudioFlinger::EffectChain> >& effectChains) in lockEffectChains_l()
1563 void AudioFlinger::ThreadBase::unlockEffectChains( in unlockEffectChains()
1564 const Vector< sp<AudioFlinger::EffectChain> >& effectChains) in unlockEffectChains()
1571 sp<AudioFlinger::EffectChain> AudioFlinger::ThreadBase::getEffectChain(audio_session_t sessionId) in getEffectChain()
1577 sp<AudioFlinger::EffectChain> AudioFlinger::ThreadBase::getEffectChain_l(audio_session_t sessionId) in getEffectChain_l()
1589 void AudioFlinger::ThreadBase::setMode(audio_mode_t mode) in setMode()
1598 void AudioFlinger::ThreadBase::toAudioPortConfig(struct audio_port_config *config) in toAudioPortConfig()
1609 void AudioFlinger::ThreadBase::systemReady() in systemReady()
1624 ssize_t AudioFlinger::ThreadBase::ActiveTracks<T>::add(const sp<T> &track) { in add()
1639 ssize_t AudioFlinger::ThreadBase::ActiveTracks<T>::remove(const sp<T> &track) { in remove()
1657 void AudioFlinger::ThreadBase::ActiveTracks<T>::clear() { in clear()
1670 void AudioFlinger::ThreadBase::ActiveTracks<T>::updatePowerState( in updatePowerState()
1701 bool AudioFlinger::ThreadBase::ActiveTracks<T>::readAndClearHasChanged() { in readAndClearHasChanged()
1708 void AudioFlinger::ThreadBase::ActiveTracks<T>::logTrack( in logTrack()
1717 void AudioFlinger::ThreadBase::broadcast_l() in broadcast_l()
1729 void AudioFlinger::ThreadBase::sendStatistics(bool force) in sendStatistics()
1790 AudioFlinger::PlaybackThread::PlaybackThread(const sp<AudioFlinger>& audioFlinger, in PlaybackThread()
1797 mMixerBufferEnabled(AudioFlinger::kEnableExtendedPrecision), in PlaybackThread()
1802 mEffectBufferEnabled(AudioFlinger::kEnableExtendedPrecision), in PlaybackThread()
1817 mStandbyDelayNs(AudioFlinger::mStandbyTimeInNsecs), in PlaybackThread()
1823 mScreenState(AudioFlinger::mScreenState), in PlaybackThread()
1876 AudioFlinger::PlaybackThread::~PlaybackThread() in ~PlaybackThread()
1886 void AudioFlinger::PlaybackThread::onFirstRef() in onFirstRef()
1892 void AudioFlinger::PlaybackThread::preExit() in preExit()
1901 void AudioFlinger::PlaybackThread::dumpTracks_l(int fd, const Vector<String16>& args __unused) in dumpTracks_l()
1966 void AudioFlinger::PlaybackThread::dumpInternals_l(int fd, const Vector<String16>& args __unused) in dumpInternals_l()
1999 sp<AudioFlinger::PlaybackThread::Track> AudioFlinger::PlaybackThread::createTrack_l( in createTrack_l()
2000 const sp<AudioFlinger::Client>& client, in createTrack_l()
2332 ssize_t AudioFlinger::PlaybackThread::Tracks<T>::remove(const sp<T> &track) in remove()
2347 uint32_t AudioFlinger::PlaybackThread::correctLatency_l(uint32_t latency) const in correctLatency_l()
2352 uint32_t AudioFlinger::PlaybackThread::latency() const in latency()
2357 uint32_t AudioFlinger::PlaybackThread::latency_l() const in latency_l()
2366 void AudioFlinger::PlaybackThread::setMasterVolume(float value) in setMasterVolume()
2378 void AudioFlinger::PlaybackThread::setMasterBalance(float balance) in setMasterBalance()
2383 void AudioFlinger::PlaybackThread::setMasterMute(bool muted) in setMasterMute()
2398 void AudioFlinger::PlaybackThread::setStreamVolume(audio_stream_type_t stream, float value) in setStreamVolume()
2405 void AudioFlinger::PlaybackThread::setStreamMute(audio_stream_type_t stream, bool muted) in setStreamMute()
2412 float AudioFlinger::PlaybackThread::streamVolume(audio_stream_type_t stream) const in streamVolume()
2418 void AudioFlinger::PlaybackThread::setVolumeForOutput_l(float left, float right) const in setVolumeForOutput_l()
2424 status_t AudioFlinger::PlaybackThread::addTrack_l(const sp<Track>& track) in addTrack_l()
2476 const int intensity = AudioFlinger::onExternalVibrationStart( in addTrack_l()
2507 bool AudioFlinger::PlaybackThread::destroyTrack_l(const sp<Track>& track) in destroyTrack_l()
2522 void AudioFlinger::PlaybackThread::removeTrack_l(const sp<Track>& track) in removeTrack_l()
2545 String8 AudioFlinger::PlaybackThread::getParameters(const String8& keys) in getParameters()
2555 status_t AudioFlinger::DirectOutputThread::selectPresentation(int presentationId, int programId) { in selectPresentation()
2563 void AudioFlinger::PlaybackThread::ioConfigChanged(audio_io_config_event event, pid_t pid, in ioConfigChanged()
2594 void AudioFlinger::PlaybackThread::onWriteReady() in onWriteReady()
2599 void AudioFlinger::PlaybackThread::onDrainReady() in onDrainReady()
2604 void AudioFlinger::PlaybackThread::onError() in onError()
2609 void AudioFlinger::PlaybackThread::resetWriteBlocked(uint32_t sequence) in resetWriteBlocked()
2619 void AudioFlinger::PlaybackThread::resetDraining(uint32_t sequence) in resetDraining()
2634 void AudioFlinger::PlaybackThread::readOutputParameters_l() in readOutputParameters_l()
2677 mCallbackThread = new AudioFlinger::AsyncCallbackThread(this); in readOutputParameters_l()
2800 void AudioFlinger::PlaybackThread::updateMetadata_l() in updateMetadata_l()
2823 void AudioFlinger::PlaybackThread::sendMetadataToBackend_l( in sendMetadataToBackend_l()
2829 status_t AudioFlinger::PlaybackThread::getRenderPosition(uint32_t *halFrames, uint32_t *dspFrames) in getRenderPosition()
2856 uint32_t AudioFlinger::PlaybackThread::getStrategyForSession_l(audio_session_t sessionId) in getStrategyForSession_l()
2873 AudioStreamOut* AudioFlinger::PlaybackThread::getOutput() const in getOutput()
2879 AudioStreamOut* AudioFlinger::PlaybackThread::clearOutput() in clearOutput()
2893 sp<StreamHalInterface> AudioFlinger::PlaybackThread::stream() const in stream()
2901 uint32_t AudioFlinger::PlaybackThread::activeSleepTimeUs() const in activeSleepTimeUs()
2906 status_t AudioFlinger::PlaybackThread::setSyncEvent(const sp<SyncEvent>& event) in setSyncEvent()
2925 bool AudioFlinger::PlaybackThread::isValidSyncEvent(const sp<SyncEvent>& event) const in isValidSyncEvent()
2930 void AudioFlinger::PlaybackThread::threadLoop_removeTracks( in threadLoop_removeTracks()
2947 void AudioFlinger::PlaybackThread::checkSilentMode_l() in checkSilentMode_l()
2969 ssize_t AudioFlinger::PlaybackThread::threadLoop_write() in threadLoop_write()
2983 uint32_t screenState = AudioFlinger::mScreenState; in threadLoop_write()
3034 void AudioFlinger::PlaybackThread::threadLoop_drain() in threadLoop_drain()
3050 void AudioFlinger::PlaybackThread::threadLoop_exit() in threadLoop_exit()
3086 void AudioFlinger::PlaybackThread::cacheParameters_l() in cacheParameters_l()
3094 mStandbyDelayNs = AudioFlinger::mStandbyTimeInNsecs; in cacheParameters_l()
3102 bool AudioFlinger::PlaybackThread::invalidateTracks_l(audio_stream_type_t streamType) in invalidateTracks_l()
3118 void AudioFlinger::PlaybackThread::invalidateTracks(audio_stream_type_t streamType) in invalidateTracks()
3124 status_t AudioFlinger::PlaybackThread::addEffectChain_l(const sp<EffectChain>& chain) in addEffectChain_l()
3206 size_t AudioFlinger::PlaybackThread::removeEffectChain_l(const sp<EffectChain>& chain) in removeEffectChain_l()
3238 status_t AudioFlinger::PlaybackThread::attachAuxEffect( in attachAuxEffect()
3239 const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId) in attachAuxEffect()
3245 status_t AudioFlinger::PlaybackThread::attachAuxEffect_l( in attachAuxEffect_l()
3246 const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId) in attachAuxEffect_l()
3268 void AudioFlinger::PlaybackThread::detachAuxEffect_l(int effectId) in detachAuxEffect_l()
3278 bool AudioFlinger::PlaybackThread::threadLoop() in threadLoop()
3961 void AudioFlinger::PlaybackThread::removeTracks_l(const Vector< sp<Track> >& tracksToRemove) in removeTracks_l()
3989 AudioFlinger::onExternalVibrationStop(track->getExternalVibration()); in removeTracks_l()
3995 status_t AudioFlinger::PlaybackThread::getTimestamp_l(AudioTimestamp& timestamp) in getTimestamp_l()
4029 status_t AudioFlinger::PlaybackThread::handleVoipVolume_l(float *volume) in handleVoipVolume_l()
4050 status_t AudioFlinger::MixerThread::createAudioPatch_l(const struct audio_patch *patch, in createAudioPatch_l()
4065 status_t AudioFlinger::PlaybackThread::createAudioPatch_l(const struct audio_patch *patch, in createAudioPatch_l()
4146 status_t AudioFlinger::MixerThread::releaseAudioPatch_l(const audio_patch_handle_t handle) in releaseAudioPatch_l()
4160 status_t AudioFlinger::PlaybackThread::releaseAudioPatch_l(const audio_patch_handle_t handle) in releaseAudioPatch_l()
4178 void AudioFlinger::PlaybackThread::addPatchTrack(const sp<PatchTrack>& track) in addPatchTrack()
4184 void AudioFlinger::PlaybackThread::deletePatchTrack(const sp<PatchTrack>& track) in deletePatchTrack()
4190 void AudioFlinger::PlaybackThread::toAudioPortConfig(struct audio_port_config *config) in toAudioPortConfig()
4204 AudioFlinger::MixerThread::MixerThread(const sp<AudioFlinger>& audioFlinger, AudioStreamOut* output, in MixerThread()
4385 AudioFlinger::MixerThread::~MixerThread() in ~MixerThread()
4423 uint32_t AudioFlinger::MixerThread::correctLatency_l(uint32_t latency) const in correctLatency_l()
4432 ssize_t AudioFlinger::MixerThread::threadLoop_write() in threadLoop_write()
4475 void AudioFlinger::MixerThread::threadLoop_standby() in threadLoop_standby()
4513 bool AudioFlinger::PlaybackThread::waitingAsyncCallback_l() in waitingAsyncCallback_l()
4518 bool AudioFlinger::PlaybackThread::shouldStandby_l() in shouldStandby_l()
4523 bool AudioFlinger::PlaybackThread::waitingAsyncCallback() in waitingAsyncCallback()
4530 void AudioFlinger::PlaybackThread::threadLoop_standby() in threadLoop_standby()
4545 void AudioFlinger::PlaybackThread::onAddNewTrack_l() in onAddNewTrack_l()
4551 void AudioFlinger::PlaybackThread::onAsyncError() in onAsyncError()
4558 void AudioFlinger::MixerThread::threadLoop_mix() in threadLoop_mix()
4576 void AudioFlinger::MixerThread::threadLoop_sleepTime() in threadLoop_sleepTime()
4627 AudioFlinger::PlaybackThread::mixer_state AudioFlinger::MixerThread::prepareTracks_l( in prepareTracks_l()
5355 uint32_t AudioFlinger::PlaybackThread::trackCountForUid_l(uid_t uid) const in trackCountForUid_l()
5367 bool AudioFlinger::MixerThread::isTrackAllowed_l( in isTrackAllowed_l()
5387 bool AudioFlinger::MixerThread::checkForNewParameter_l(const String8& keyValuePair, in checkForNewParameter_l()
5465 void AudioFlinger::MixerThread::dumpInternals_l(int fd, const Vector<String16>& args) in dumpInternals_l()
5506 uint32_t AudioFlinger::MixerThread::idleSleepTimeUs() const in idleSleepTimeUs()
5511 uint32_t AudioFlinger::MixerThread::suspendSleepTimeUs() const in suspendSleepTimeUs()
5516 void AudioFlinger::MixerThread::cacheParameters_l() in cacheParameters_l()
5529 AudioFlinger::DirectOutputThread::DirectOutputThread(const sp<AudioFlinger>& audioFlinger, in DirectOutputThread()
5536 AudioFlinger::DirectOutputThread::~DirectOutputThread() in ~DirectOutputThread()
5540 void AudioFlinger::DirectOutputThread::dumpInternals_l(int fd, const Vector<String16>& args) in dumpInternals_l()
5547 void AudioFlinger::DirectOutputThread::setMasterBalance(float balance) in setMasterBalance()
5557 void AudioFlinger::DirectOutputThread::processVolume_l(Track *track, bool lastTrack) in processVolume_l()
5610 void AudioFlinger::DirectOutputThread::onAddNewTrack_l() in onAddNewTrack_l()
5634 AudioFlinger::PlaybackThread::mixer_state AudioFlinger::DirectOutputThread::prepareTracks_l( in prepareTracks_l()
5837 void AudioFlinger::DirectOutputThread::threadLoop_mix() in threadLoop_mix()
5864 void AudioFlinger::DirectOutputThread::threadLoop_sleepTime() in threadLoop_sleepTime()
5883 void AudioFlinger::DirectOutputThread::threadLoop_exit() in threadLoop_exit()
5901 bool AudioFlinger::DirectOutputThread::shouldStandby_l() in shouldStandby_l()
5922 bool AudioFlinger::DirectOutputThread::checkForNewParameter_l(const String8& keyValuePair, in checkForNewParameter_l()
5962 uint32_t AudioFlinger::DirectOutputThread::activeSleepTimeUs() const in activeSleepTimeUs()
5973 uint32_t AudioFlinger::DirectOutputThread::idleSleepTimeUs() const in idleSleepTimeUs()
5984 uint32_t AudioFlinger::DirectOutputThread::suspendSleepTimeUs() const in suspendSleepTimeUs()
5995 void AudioFlinger::DirectOutputThread::cacheParameters_l() in cacheParameters_l()
6011 void AudioFlinger::DirectOutputThread::flushHw_l() in flushHw_l()
6020 int64_t AudioFlinger::DirectOutputThread::computeWaitTimeNs_l() const { in computeWaitTimeNs_l()
6029 AudioFlinger::AsyncCallbackThread::AsyncCallbackThread( in AsyncCallbackThread()
6030 const wp<AudioFlinger::PlaybackThread>& playbackThread) in AsyncCallbackThread()
6039 AudioFlinger::AsyncCallbackThread::~AsyncCallbackThread() in ~AsyncCallbackThread()
6043 void AudioFlinger::AsyncCallbackThread::onFirstRef() in onFirstRef()
6048 bool AudioFlinger::AsyncCallbackThread::threadLoop() in threadLoop()
6077 sp<AudioFlinger::PlaybackThread> playbackThread = mPlaybackThread.promote(); in threadLoop()
6094 void AudioFlinger::AsyncCallbackThread::exit() in exit()
6102 void AudioFlinger::AsyncCallbackThread::setWriteBlocked(uint32_t sequence) in setWriteBlocked()
6109 void AudioFlinger::AsyncCallbackThread::resetWriteBlocked() in resetWriteBlocked()
6119 void AudioFlinger::AsyncCallbackThread::setDraining(uint32_t sequence) in setDraining()
6126 void AudioFlinger::AsyncCallbackThread::resetDraining() in resetDraining()
6136 void AudioFlinger::AsyncCallbackThread::setAsyncError() in setAsyncError()
6145 AudioFlinger::OffloadThread::OffloadThread(const sp<AudioFlinger>& audioFlinger, in OffloadThread()
6156 void AudioFlinger::OffloadThread::threadLoop_exit() in threadLoop_exit()
6172 AudioFlinger::PlaybackThread::mixer_state AudioFlinger::OffloadThread::prepareTracks_l( in prepareTracks_l()
6422 bool AudioFlinger::OffloadThread::waitingAsyncCallback_l() in waitingAsyncCallback_l()
6432 bool AudioFlinger::OffloadThread::waitingAsyncCallback() in waitingAsyncCallback()
6438 void AudioFlinger::OffloadThread::flushHw_l() in flushHw_l()
6460 void AudioFlinger::OffloadThread::invalidateTracks(audio_stream_type_t streamType) in invalidateTracks()
6470 AudioFlinger::DuplicatingThread::DuplicatingThread(const sp<AudioFlinger>& audioFlinger, in DuplicatingThread()
6471 AudioFlinger::MixerThread* mainThread, audio_io_handle_t id, bool systemReady) in DuplicatingThread()
6479 AudioFlinger::DuplicatingThread::~DuplicatingThread() in ~DuplicatingThread()
6486 void AudioFlinger::DuplicatingThread::threadLoop_mix() in threadLoop_mix()
6504 void AudioFlinger::DuplicatingThread::threadLoop_sleepTime() in threadLoop_sleepTime()
6524 ssize_t AudioFlinger::DuplicatingThread::threadLoop_write() in threadLoop_write()
6548 void AudioFlinger::DuplicatingThread::threadLoop_standby() in threadLoop_standby()
6556 void AudioFlinger::DuplicatingThread::dumpInternals_l(int fd, const Vector<String16>& args __unused) in dumpInternals_l()
6581 void AudioFlinger::DuplicatingThread::saveOutputTracks() in saveOutputTracks()
6586 void AudioFlinger::DuplicatingThread::clearOutputTracks() in clearOutputTracks()
6591 void AudioFlinger::DuplicatingThread::addOutputTrack(MixerThread *thread) in addOutputTrack()
6621 void AudioFlinger::DuplicatingThread::removeOutputTrack(MixerThread *thread) in removeOutputTrack()
6639 void AudioFlinger::DuplicatingThread::updateWaitTime_l() in updateWaitTime_l()
6654 bool AudioFlinger::DuplicatingThread::outputsReady( in outputsReady()
6675 void AudioFlinger::DuplicatingThread::sendMetadataToBackend_l( in sendMetadataToBackend_l()
6683 uint32_t AudioFlinger::DuplicatingThread::activeSleepTimeUs() const in activeSleepTimeUs()
6688 void AudioFlinger::DuplicatingThread::cacheParameters_l() in cacheParameters_l()
6701 AudioFlinger::RecordThread::RecordThread(const sp<AudioFlinger>& audioFlinger, in RecordThread()
6857 AudioFlinger::RecordThread::~RecordThread() in ~RecordThread()
6879 void AudioFlinger::RecordThread::onFirstRef() in onFirstRef()
6884 void AudioFlinger::RecordThread::preExit() in preExit()
6896 bool AudioFlinger::RecordThread::threadLoop() in threadLoop()
7431 void AudioFlinger::RecordThread::standbyIfNotAlreadyInStandby() in standbyIfNotAlreadyInStandby()
7439 void AudioFlinger::RecordThread::inputStandBy() in inputStandBy()
7480 sp<AudioFlinger::RecordThread::RecordTrack> AudioFlinger::RecordThread::createRecordTrack_l( in createRecordTrack_l()
7481 const sp<AudioFlinger::Client>& client, in createRecordTrack_l()
7654 status_t AudioFlinger::RecordThread::start(RecordThread::RecordTrack* recordTrack, in start()
7756 void AudioFlinger::RecordThread::syncStartEventCallback(const wp<SyncEvent>& event) in syncStartEventCallback()
7769 bool AudioFlinger::RecordThread::stop(RecordThread::RecordTrack* recordTrack) { in stop()
7797 bool AudioFlinger::RecordThread::isValidSyncEvent(const sp<SyncEvent>& event __unused) const in isValidSyncEvent()
7802 status_t AudioFlinger::RecordThread::setSyncEvent(const sp<SyncEvent>& event __unused) in setSyncEvent()
7827 status_t AudioFlinger::RecordThread::getActiveMicrophones( in getActiveMicrophones()
7836 status_t AudioFlinger::RecordThread::setPreferredMicrophoneDirection( in setPreferredMicrophoneDirection()
7844 status_t AudioFlinger::RecordThread::setPreferredMicrophoneFieldDimension(float zoom) in setPreferredMicrophoneFieldDimension()
7851 void AudioFlinger::RecordThread::updateMetadata_l() in updateMetadata_l()
7869 void AudioFlinger::RecordThread::destroyTrack_l(const sp<RecordTrack>& track) in destroyTrack_l()
7879 void AudioFlinger::RecordThread::removeTrack_l(const sp<RecordTrack>& track) in removeTrack_l()
7893 void AudioFlinger::RecordThread::dumpInternals_l(int fd, const Vector<String16>& args __unused) in dumpInternals_l()
7921 void AudioFlinger::RecordThread::dumpTracks_l(int fd, const Vector<String16>& args __unused) in dumpTracks_l()
7965 void AudioFlinger::RecordThread::setRecordSilenced(uid_t uid, bool silenced) in setRecordSilenced()
7976 void AudioFlinger::RecordThread::ResamplerBufferProvider::reset() in reset()
7984 void AudioFlinger::RecordThread::ResamplerBufferProvider::sync( in sync()
8018 status_t AudioFlinger::RecordThread::ResamplerBufferProvider::getNextBuffer( in getNextBuffer()
8060 void AudioFlinger::RecordThread::ResamplerBufferProvider::releaseBuffer( in releaseBuffer()
8074 void AudioFlinger::RecordThread::checkBtNrec() in checkBtNrec()
8080 void AudioFlinger::RecordThread::checkBtNrec_l() in checkBtNrec_l()
8095 bool AudioFlinger::RecordThread::checkForNewParameter_l(const String8& keyValuePair, in checkForNewParameter_l()
8184 String8 AudioFlinger::RecordThread::getParameters(const String8& keys) in getParameters()
8196 void AudioFlinger::RecordThread::ioConfigChanged(audio_io_config_event event, pid_t pid, in ioConfigChanged()
8225 void AudioFlinger::RecordThread::readInputParameters_l() in readInputParameters_l()
8277 uint32_t AudioFlinger::RecordThread::getInputFramesLost() in getInputFramesLost()
8287 KeyedVector<audio_session_t, bool> AudioFlinger::RecordThread::sessionIds() const in sessionIds()
8301 AudioFlinger::AudioStreamIn* AudioFlinger::RecordThread::clearInput() in clearInput()
8310 sp<StreamHalInterface> AudioFlinger::RecordThread::stream() const in stream()
8318 status_t AudioFlinger::RecordThread::addEffectChain_l(const sp<EffectChain>& chain) in addEffectChain_l()
8336 size_t AudioFlinger::RecordThread::removeEffectChain_l(const sp<EffectChain>& chain) in removeEffectChain_l()
8349 status_t AudioFlinger::RecordThread::createAudioPatch_l(const struct audio_patch *patch, in createAudioPatch_l()
8406 status_t AudioFlinger::RecordThread::releaseAudioPatch_l(const audio_patch_handle_t handle) in releaseAudioPatch_l()
8424 void AudioFlinger::RecordThread::updateOutDevices(const DeviceDescriptorBaseVector& outDevices) in updateOutDevices()
8433 void AudioFlinger::RecordThread::addPatchTrack(const sp<PatchRecord>& record) in addPatchTrack()
8442 void AudioFlinger::RecordThread::deletePatchTrack(const sp<PatchRecord>& record) in deletePatchTrack()
8451 void AudioFlinger::RecordThread::toAudioPortConfig(struct audio_port_config *config) in toAudioPortConfig()
8467 AudioFlinger::MmapThreadHandle::MmapThreadHandle(const sp<MmapThread>& thread) in MmapThreadHandle()
8473 AudioFlinger::MmapThreadHandle::~MmapThreadHandle() in ~MmapThreadHandle()
8478 status_t AudioFlinger::MmapThreadHandle::createMmapBuffer(int32_t minSizeFrames, in createMmapBuffer()
8484 status_t AudioFlinger::MmapThreadHandle::getMmapPosition(struct audio_mmap_position *position) in getMmapPosition()
8489 status_t AudioFlinger::MmapThreadHandle::start(const AudioClient& client, in start()
8496 status_t AudioFlinger::MmapThreadHandle::stop(audio_port_handle_t handle) in stop()
8501 status_t AudioFlinger::MmapThreadHandle::standby() in standby()
8507 AudioFlinger::MmapThread::MmapThread( in MmapThread()
8508 const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, in MmapThread()
8522 AudioFlinger::MmapThread::~MmapThread() in ~MmapThread()
8527 void AudioFlinger::MmapThread::onFirstRef() in onFirstRef()
8532 void AudioFlinger::MmapThread::disconnect() in disconnect()
8553 void AudioFlinger::MmapThread::configure(const audio_attributes_t *attr, in configure()
8567 status_t AudioFlinger::MmapThread::createMmapBuffer(int32_t minSizeFrames, in createMmapBuffer()
8578 status_t AudioFlinger::MmapThread::getMmapPosition(struct audio_mmap_position *position) in getMmapPosition()
8586 status_t AudioFlinger::MmapThread::exitStandby() in exitStandby()
8597 status_t AudioFlinger::MmapThread::start(const AudioClient& client, in start()
8719 status_t AudioFlinger::MmapThread::stop(audio_port_handle_t handle) in stop()
8768 status_t AudioFlinger::MmapThread::standby() in standby()
8785 void AudioFlinger::MmapThread::readHalParameters_l() in readHalParameters_l()
8798 bool AudioFlinger::MmapThread::threadLoop() in threadLoop()
8869 bool AudioFlinger::MmapThread::checkForNewParameter_l(const String8& keyValuePair, in checkForNewParameter_l()
8887 String8 AudioFlinger::MmapThread::getParameters(const String8& keys) in getParameters()
8897 void AudioFlinger::MmapThread::ioConfigChanged(audio_io_config_event event, pid_t pid, in ioConfigChanged()
8927 status_t AudioFlinger::MmapThread::createAudioPatch_l(const struct audio_patch *patch, in createAudioPatch_l()
9024 status_t AudioFlinger::MmapThread::releaseAudioPatch_l(const audio_patch_handle_t handle) in releaseAudioPatch_l()
9045 void AudioFlinger::MmapThread::toAudioPortConfig(struct audio_port_config *config) in toAudioPortConfig()
9059 status_t AudioFlinger::MmapThread::addEffectChain_l(const sp<EffectChain>& chain) in addEffectChain_l()
9083 size_t AudioFlinger::MmapThread::removeEffectChain_l(const sp<EffectChain>& chain) in removeEffectChain_l()
9106 void AudioFlinger::MmapThread::threadLoop_standby() in threadLoop_standby()
9111 void AudioFlinger::MmapThread::threadLoop_exit() in threadLoop_exit()
9117 status_t AudioFlinger::MmapThread::setSyncEvent(const sp<SyncEvent>& event __unused) in setSyncEvent()
9122 bool AudioFlinger::MmapThread::isValidSyncEvent(const sp<SyncEvent>& event __unused) const in isValidSyncEvent()
9127 status_t AudioFlinger::MmapThread::checkEffectCompatibility_l( in checkEffectCompatibility_l()
9156 void AudioFlinger::MmapThread::checkInvalidTracks_l() in checkInvalidTracks_l()
9173 void AudioFlinger::MmapThread::dumpInternals_l(int fd, const Vector<String16>& args __unused) in dumpInternals_l()
9183 void AudioFlinger::MmapThread::dumpTracks_l(int fd, const Vector<String16>& args __unused) in dumpTracks_l()
9203 AudioFlinger::MmapPlaybackThread::MmapPlaybackThread( in MmapPlaybackThread()
9204 const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, in MmapPlaybackThread()
9227 void AudioFlinger::MmapPlaybackThread::configure(const audio_attributes_t *attr, in configure()
9238 AudioStreamOut* AudioFlinger::MmapPlaybackThread::clearOutput() in clearOutput()
9246 void AudioFlinger::MmapPlaybackThread::setMasterVolume(float value) in setMasterVolume()
9258 void AudioFlinger::MmapPlaybackThread::setMasterMute(bool muted) in setMasterMute()
9269 void AudioFlinger::MmapPlaybackThread::setStreamVolume(audio_stream_type_t stream, float value) in setStreamVolume()
9278 float AudioFlinger::MmapPlaybackThread::streamVolume(audio_stream_type_t stream) const in streamVolume()
9287 void AudioFlinger::MmapPlaybackThread::setStreamMute(audio_stream_type_t stream, bool muted) in setStreamMute()
9296 void AudioFlinger::MmapPlaybackThread::invalidateTracks(audio_stream_type_t streamType) in invalidateTracks()
9307 void AudioFlinger::MmapPlaybackThread::processVolume_l() in processVolume_l()
9361 void AudioFlinger::MmapPlaybackThread::updateMetadata_l() in updateMetadata_l()
9379 void AudioFlinger::MmapPlaybackThread::checkSilentMode_l() in checkSilentMode_l()
9396 void AudioFlinger::MmapPlaybackThread::toAudioPortConfig(struct audio_port_config *config) in toAudioPortConfig()
9405 void AudioFlinger::MmapPlaybackThread::dumpInternals_l(int fd, const Vector<String16>& args) in dumpInternals_l()
9414 AudioFlinger::MmapCaptureThread::MmapCaptureThread( in MmapCaptureThread()
9415 const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, in MmapCaptureThread()
9424 status_t AudioFlinger::MmapCaptureThread::exitStandby() in exitStandby()
9436 AudioFlinger::AudioStreamIn* AudioFlinger::MmapCaptureThread::clearInput() in clearInput()
9445 void AudioFlinger::MmapCaptureThread::processVolume_l() in processVolume_l()
9472 void AudioFlinger::MmapCaptureThread::updateMetadata_l() in updateMetadata_l()
9489 void AudioFlinger::MmapCaptureThread::setRecordSilenced(uid_t uid, bool silenced) in setRecordSilenced()
9500 void AudioFlinger::MmapCaptureThread::toAudioPortConfig(struct audio_port_config *config) in toAudioPortConfig()