Lines Matching refs:AudioFlinger
67 AudioFlinger::ThreadBase::TrackBase::TrackBase( in TrackBase()
227 status_t AudioFlinger::ThreadBase::TrackBase::initCheck() const in initCheck()
238 AudioFlinger::ThreadBase::TrackBase::~TrackBase() in ~TrackBase()
264 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer) in releaseBuffer()
278 status_t AudioFlinger::ThreadBase::TrackBase::setSyncEvent(const sp<SyncEvent>& event) in setSyncEvent()
284 AudioFlinger::ThreadBase::PatchTrackBase::PatchTrackBase(sp<ClientProxy> proxy, in PatchTrackBase()
299 void AudioFlinger::ThreadBase::PatchTrackBase::setPeerTimeout(std::chrono::nanoseconds timeout) { in setPeerTimeout()
311 AudioFlinger::TrackHandle::TrackHandle(const sp<AudioFlinger::PlaybackThread::Track>& track) in TrackHandle()
317 AudioFlinger::TrackHandle::~TrackHandle() { in ~TrackHandle()
325 sp<IMemory> AudioFlinger::TrackHandle::getCblk() const { in getCblk()
329 status_t AudioFlinger::TrackHandle::start() { in start()
333 void AudioFlinger::TrackHandle::stop() { in stop()
337 void AudioFlinger::TrackHandle::flush() { in flush()
341 void AudioFlinger::TrackHandle::pause() { in pause()
345 status_t AudioFlinger::TrackHandle::attachAuxEffect(int EffectId) in attachAuxEffect()
350 status_t AudioFlinger::TrackHandle::setParameters(const String8& keyValuePairs) { in setParameters()
354 status_t AudioFlinger::TrackHandle::selectPresentation(int presentationId, int programId) { in selectPresentation()
358 VolumeShaper::Status AudioFlinger::TrackHandle::applyVolumeShaper( in applyVolumeShaper()
364 sp<VolumeShaper::State> AudioFlinger::TrackHandle::getVolumeShaperState(int id) { in getVolumeShaperState()
368 status_t AudioFlinger::TrackHandle::getTimestamp(AudioTimestamp& timestamp) in getTimestamp()
374 void AudioFlinger::TrackHandle::signal() in signal()
379 status_t AudioFlinger::TrackHandle::onTransact( in onTransact()
390 sp<AudioFlinger::PlaybackThread::OpPlayAudioMonitor>
391 AudioFlinger::PlaybackThread::OpPlayAudioMonitor::createIfNeeded( in createIfNeeded()
419 AudioFlinger::PlaybackThread::OpPlayAudioMonitor::OpPlayAudioMonitor( in OpPlayAudioMonitor()
425 AudioFlinger::PlaybackThread::OpPlayAudioMonitor::~OpPlayAudioMonitor() in ~OpPlayAudioMonitor()
433 void AudioFlinger::PlaybackThread::OpPlayAudioMonitor::onFirstRef() in onFirstRef()
443 bool AudioFlinger::PlaybackThread::OpPlayAudioMonitor::hasOpPlayAudio() const { in hasOpPlayAudio()
450 void AudioFlinger::PlaybackThread::OpPlayAudioMonitor::checkPlayAudioForUsage() in checkPlayAudioForUsage()
469 AudioFlinger::PlaybackThread::OpPlayAudioMonitor::PlayAudioOpCallback::PlayAudioOpCallback( in PlayAudioOpCallback()
473 void AudioFlinger::PlaybackThread::OpPlayAudioMonitor::PlayAudioOpCallback::opChanged(int32_t op, in opChanged()
487 void AudioFlinger::PlaybackThread::OpPlayAudioMonitor::getPackagesForUid( in getPackagesForUid()
499 AudioFlinger::PlaybackThread::Track::Track( in Track()
600 AudioFlinger::PlaybackThread::Track::~Track() in ~Track()
613 status_t AudioFlinger::PlaybackThread::Track::initCheck() const in initCheck()
622 void AudioFlinger::PlaybackThread::Track::destroy() in destroy()
648 void AudioFlinger::PlaybackThread::Track::appendDumpHeader(String8& result) in appendDumpHeader()
659 void AudioFlinger::PlaybackThread::Track::appendDump(String8& result, bool active) in appendDump()
786 uint32_t AudioFlinger::PlaybackThread::Track::sampleRate() const { in sampleRate()
791 status_t AudioFlinger::PlaybackThread::Track::getNextBuffer(AudioBufferProvider::Buffer* buffer) in getNextBuffer()
809 void AudioFlinger::PlaybackThread::Track::releaseBuffer(AudioBufferProvider::Buffer* buffer) in releaseBuffer()
816 void AudioFlinger::PlaybackThread::Track::interceptBuffer( in interceptBuffer()
847 size_t AudioFlinger::PlaybackThread::Track::framesReady() const { in framesReady()
856 int64_t AudioFlinger::PlaybackThread::Track::framesReleased() const in framesReleased()
861 void AudioFlinger::PlaybackThread::Track::onTimestamp(const ExtendedTimestamp ×tamp) in onTimestamp()
878 bool AudioFlinger::PlaybackThread::Track::isReady() const { in isReady()
903 status_t AudioFlinger::PlaybackThread::Track::start(AudioSystem::sync_event_t event __unused, in start()
996 void AudioFlinger::PlaybackThread::Track::stop() in stop()
1029 void AudioFlinger::PlaybackThread::Track::pause() in pause()
1063 void AudioFlinger::PlaybackThread::Track::flush() in flush()
1127 void AudioFlinger::PlaybackThread::Track::flushAck() in flushAck()
1139 void AudioFlinger::PlaybackThread::Track::reset() in reset()
1155 status_t AudioFlinger::PlaybackThread::Track::setParameters(const String8& keyValuePairs) in setParameters()
1169 status_t AudioFlinger::PlaybackThread::Track::selectPresentation(int presentationId, in selectPresentation()
1182 VolumeShaper::Status AudioFlinger::PlaybackThread::Track::applyVolumeShaper( in applyVolumeShaper()
1217 sp<VolumeShaper::State> AudioFlinger::PlaybackThread::Track::getVolumeShaperState(int id) in getVolumeShaperState()
1225 void AudioFlinger::PlaybackThread::Track::setFinalVolume(float volume) in setFinalVolume()
1233 void AudioFlinger::PlaybackThread::Track::copyMetadataTo(MetadataInserter& backInserter) const in copyMetadataTo()
1242 void AudioFlinger::PlaybackThread::Track::setTeePatches(TeePatches teePatches) { in setTeePatches()
1247 status_t AudioFlinger::PlaybackThread::Track::getTimestamp(AudioTimestamp& timestamp) in getTimestamp()
1262 status_t AudioFlinger::PlaybackThread::Track::attachAuxEffect(int EffectId) in attachAuxEffect()
1271 sp<AudioFlinger> af = mClient->audioFlinger(); in attachAuxEffect()
1287 void AudioFlinger::PlaybackThread::Track::setAuxBuffer(int EffectId, int32_t *buffer) in setAuxBuffer()
1293 bool AudioFlinger::PlaybackThread::Track::presentationComplete( in presentationComplete()
1335 void AudioFlinger::PlaybackThread::Track::triggerEvents(AudioSystem::sync_event_t type) in triggerEvents()
1349 gain_minifloat_packed_t AudioFlinger::PlaybackThread::Track::getVolumeLR() in getVolumeLR()
1374 status_t AudioFlinger::PlaybackThread::Track::setSyncEvent(const sp<SyncEvent>& event) in setSyncEvent()
1389 void AudioFlinger::PlaybackThread::Track::invalidate() in invalidate()
1395 void AudioFlinger::PlaybackThread::Track::disable() in disable()
1401 void AudioFlinger::PlaybackThread::Track::signalClientFlag(int32_t flag) in signalClientFlag()
1411 void AudioFlinger::PlaybackThread::Track::signal() in signal()
1422 bool AudioFlinger::PlaybackThread::Track::isResumePending() { in isResumePending()
1435 void AudioFlinger::PlaybackThread::Track::resumeAck() { in resumeAck()
1450 void AudioFlinger::PlaybackThread::Track::updateTrackFrameInfo( in updateTrackFrameInfo()
1501 binder::Status AudioFlinger::PlaybackThread::Track::AudioVibrationController::mute( in mute()
1518 binder::Status AudioFlinger::PlaybackThread::Track::AudioVibrationController::unmute( in unmute()
1539 AudioFlinger::PlaybackThread::OutputTrack::OutputTrack( in OutputTrack()
1576 AudioFlinger::PlaybackThread::OutputTrack::~OutputTrack() in ~OutputTrack()
1582 status_t AudioFlinger::PlaybackThread::OutputTrack::start(AudioSystem::sync_event_t event, in start()
1595 void AudioFlinger::PlaybackThread::OutputTrack::stop() in stop()
1603 ssize_t AudioFlinger::PlaybackThread::OutputTrack::write(void* data, uint32_t frames) in write()
1713 void AudioFlinger::PlaybackThread::OutputTrack::copyMetadataTo(MetadataInserter& backInserter) const in copyMetadataTo()
1719 void AudioFlinger::PlaybackThread::OutputTrack::setMetadatas(const SourceMetadatas& metadatas) { in setMetadatas()
1728 status_t AudioFlinger::PlaybackThread::OutputTrack::obtainBuffer( in obtainBuffer()
1742 void AudioFlinger::PlaybackThread::OutputTrack::clearBufferQueue() in clearBufferQueue()
1754 void AudioFlinger::PlaybackThread::OutputTrack::restartIfDisabled() in restartIfDisabled()
1766 AudioFlinger::PlaybackThread::PatchTrack::PatchTrack(PlaybackThread *playbackThread, in PatchTrack()
1792 AudioFlinger::PlaybackThread::PatchTrack::~PatchTrack() in ~PatchTrack()
1797 size_t AudioFlinger::PlaybackThread::PatchTrack::framesReady() const in framesReady()
1806 status_t AudioFlinger::PlaybackThread::PatchTrack::start(AudioSystem::sync_event_t event, in start()
1818 status_t AudioFlinger::PlaybackThread::PatchTrack::getNextBuffer( in getNextBuffer()
1844 void AudioFlinger::PlaybackThread::PatchTrack::releaseBuffer(AudioBufferProvider::Buffer* buffer) in releaseBuffer()
1854 status_t AudioFlinger::PlaybackThread::PatchTrack::obtainBuffer(Proxy::Buffer* buffer, in obtainBuffer()
1871 void AudioFlinger::PlaybackThread::PatchTrack::releaseBuffer(Proxy::Buffer* buffer) in releaseBuffer()
1896 void AudioFlinger::PlaybackThread::PatchTrack::restartIfDisabled() in restartIfDisabled()
1917 sp<AudioFlinger::RecordThread::OpRecordAudioMonitor>
1918 AudioFlinger::RecordThread::OpRecordAudioMonitor::createIfNeeded( in createIfNeeded()
1944 AudioFlinger::RecordThread::OpRecordAudioMonitor::OpRecordAudioMonitor( in OpRecordAudioMonitor()
1950 AudioFlinger::RecordThread::OpRecordAudioMonitor::~OpRecordAudioMonitor() in ~OpRecordAudioMonitor()
1958 void AudioFlinger::RecordThread::OpRecordAudioMonitor::onFirstRef() in onFirstRef()
1966 bool AudioFlinger::RecordThread::OpRecordAudioMonitor::hasOpRecordAudio() const { in hasOpRecordAudio()
1976 void AudioFlinger::RecordThread::OpRecordAudioMonitor::checkRecordAudio() in checkRecordAudio()
1988 AudioFlinger::RecordThread::OpRecordAudioMonitor::RecordAudioOpCallback::RecordAudioOpCallback( in RecordAudioOpCallback()
1992 void AudioFlinger::RecordThread::OpRecordAudioMonitor::RecordAudioOpCallback::opChanged(int32_t op, in opChanged()
2009 AudioFlinger::RecordHandle::RecordHandle( in RecordHandle()
2010 const sp<AudioFlinger::RecordThread::RecordTrack>& recordTrack) in RecordHandle()
2016 AudioFlinger::RecordHandle::~RecordHandle() { in ~RecordHandle()
2021 binder::Status AudioFlinger::RecordHandle::start(int /*AudioSystem::sync_event_t*/ event, in start()
2028 binder::Status AudioFlinger::RecordHandle::stop() { in stop()
2033 void AudioFlinger::RecordHandle::stop_nonvirtual() { in stop_nonvirtual()
2038 binder::Status AudioFlinger::RecordHandle::getActiveMicrophones( in getActiveMicrophones()
2045 binder::Status AudioFlinger::RecordHandle::setPreferredMicrophoneDirection( in setPreferredMicrophoneDirection()
2052 binder::Status AudioFlinger::RecordHandle::setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension()
2062 AudioFlinger::RecordThread::RecordTrack::RecordTrack( in RecordTrack()
2133 AudioFlinger::RecordThread::RecordTrack::~RecordTrack() in ~RecordTrack()
2140 status_t AudioFlinger::RecordThread::RecordTrack::initCheck() const in initCheck()
2150 status_t AudioFlinger::RecordThread::RecordTrack::getNextBuffer(AudioBufferProvider::Buffer* buffer) in getNextBuffer()
2164 status_t AudioFlinger::RecordThread::RecordTrack::start(AudioSystem::sync_event_t event, in start()
2176 void AudioFlinger::RecordThread::RecordTrack::stop() in stop()
2187 void AudioFlinger::RecordThread::RecordTrack::destroy() in destroy()
2224 void AudioFlinger::RecordThread::RecordTrack::invalidate() in invalidate()
2236 void AudioFlinger::RecordThread::RecordTrack::appendDumpHeader(String8& result) in appendDumpHeader()
2244 void AudioFlinger::RecordThread::RecordTrack::appendDump(String8& result, bool active) in appendDump()
2282 void AudioFlinger::RecordThread::RecordTrack::handleSyncStartEvent(const sp<SyncEvent>& event) in handleSyncStartEvent()
2296 void AudioFlinger::RecordThread::RecordTrack::clearSyncStartEvent() in clearSyncStartEvent()
2305 void AudioFlinger::RecordThread::RecordTrack::updateTrackFrameInfo( in updateTrackFrameInfo()
2343 bool AudioFlinger::RecordThread::RecordTrack::isSilenced() const { in isSilenced()
2351 status_t AudioFlinger::RecordThread::RecordTrack::getActiveMicrophones( in getActiveMicrophones()
2363 status_t AudioFlinger::RecordThread::RecordTrack::setPreferredMicrophoneDirection( in setPreferredMicrophoneDirection()
2374 status_t AudioFlinger::RecordThread::RecordTrack::setPreferredMicrophoneFieldDimension(float zoom) { in setPreferredMicrophoneFieldDimension()
2388 AudioFlinger::RecordThread::PatchRecord::PatchRecord(RecordThread *recordThread, in PatchRecord()
2411 AudioFlinger::RecordThread::PatchRecord::~PatchRecord() in ~PatchRecord()
2435 size_t AudioFlinger::RecordThread::PatchRecord::writeFrames( in writeFrames()
2450 status_t AudioFlinger::RecordThread::PatchRecord::getNextBuffer( in getNextBuffer()
2472 void AudioFlinger::RecordThread::PatchRecord::releaseBuffer(AudioBufferProvider::Buffer* buffer) in releaseBuffer()
2482 status_t AudioFlinger::RecordThread::PatchRecord::obtainBuffer(Proxy::Buffer* buffer, in obtainBuffer()
2488 void AudioFlinger::RecordThread::PatchRecord::releaseBuffer(Proxy::Buffer* buffer) in releaseBuffer()
2503 AudioFlinger::RecordThread::PassthruPatchRecord::PassthruPatchRecord( in PassthruPatchRecord()
2519 sp<StreamInHalInterface> AudioFlinger::RecordThread::PassthruPatchRecord::obtainStream( in obtainStream()
2530 status_t AudioFlinger::RecordThread::PassthruPatchRecord::obtainBuffer( in obtainBuffer()
2596 void AudioFlinger::RecordThread::PassthruPatchRecord::releaseBuffer(Proxy::Buffer* buffer) in releaseBuffer()
2613 status_t AudioFlinger::RecordThread::PassthruPatchRecord::read( in read()
2632 status_t AudioFlinger::RecordThread::PassthruPatchRecord::getCapturePosition( in getCapturePosition()
2640 status_t AudioFlinger::RecordThread::PassthruPatchRecord::standby() in standby()
2652 status_t AudioFlinger::RecordThread::PassthruPatchRecord::getNextBuffer( in getNextBuffer()
2660 void AudioFlinger::RecordThread::PassthruPatchRecord::releaseBuffer( in releaseBuffer()
2671 AudioFlinger::MmapThread::MmapTrack::MmapTrack(ThreadBase *thread, in MmapTrack()
2692 AudioFlinger::MmapThread::MmapTrack::~MmapTrack() in ~MmapTrack()
2696 status_t AudioFlinger::MmapThread::MmapTrack::initCheck() const in initCheck()
2701 status_t AudioFlinger::MmapThread::MmapTrack::start(AudioSystem::sync_event_t event __unused, in start()
2707 void AudioFlinger::MmapThread::MmapTrack::stop() in stop()
2712 status_t AudioFlinger::MmapThread::MmapTrack::getNextBuffer(AudioBufferProvider::Buffer* buffer) in getNextBuffer()
2720 size_t AudioFlinger::MmapThread::MmapTrack::framesReady() const { in framesReady()
2724 int64_t AudioFlinger::MmapThread::MmapTrack::framesReleased() const in framesReleased()
2729 void AudioFlinger::MmapThread::MmapTrack::onTimestamp(const ExtendedTimestamp ×tamp __unused) in onTimestamp()
2733 void AudioFlinger::MmapThread::MmapTrack::appendDumpHeader(String8& result) in appendDumpHeader()
2739 void AudioFlinger::MmapThread::MmapTrack::appendDump(String8& result, bool active __unused) in appendDump()