Home | History | Annotate | Download | only in audioflinger

Lines Matching refs:PlaybackThread

507         // are set by PlaybackThread::readOutputParameters_l() or
1173 status_t AudioFlinger::PlaybackThread::checkEffectCompatibility_l(
1415 // PlaybackThread::addEffect_l() must be called with AudioFlinger::mLock and
1416 // PlaybackThread::mLock held
1631 AudioFlinger::PlaybackThread::PlaybackThread(const sp<AudioFlinger>& audioFlinger,
1700 AudioFlinger::PlaybackThread::~PlaybackThread()
1708 void AudioFlinger::PlaybackThread::dump(int fd, const Vector<String16>& args)
1717 void AudioFlinger::PlaybackThread::dumpTracks(int fd, const Vector<String16>& args __unused)
1782 void AudioFlinger::PlaybackThread::dumpInternals(int fd, const Vector<String16>& args)
1815 void AudioFlinger::PlaybackThread::onFirstRef()
1821 void AudioFlinger::PlaybackThread::preExit()
1830 // PlaybackThread::createTrack_l() must be called with AudioFlinger::mLock held
1831 sp<AudioFlinger::PlaybackThread::Track> AudioFlinger::PlaybackThread::createTrack_l(
2059 uint32_t AudioFlinger::PlaybackThread::correctLatency_l(uint32_t latency) const
2064 uint32_t AudioFlinger::PlaybackThread::latency() const
2069 uint32_t AudioFlinger::PlaybackThread::latency_l() const
2078 void AudioFlinger::PlaybackThread::setMasterVolume(float value)
2090 void AudioFlinger::PlaybackThread::setMasterMute(bool muted)
2105 void AudioFlinger::PlaybackThread::setStreamVolume(audio_stream_type_t stream, float value)
2112 void AudioFlinger::PlaybackThread::setStreamMute(audio_stream_type_t stream, bool muted)
2119 float AudioFlinger::PlaybackThread::streamVolume(audio_stream_type_t stream) const
2126 status_t AudioFlinger::PlaybackThread::addTrack_l(const sp<Track>& track)
2195 bool AudioFlinger::PlaybackThread::destroyTrack_l(const sp<Track>& track)
2210 void AudioFlinger::PlaybackThread::removeTrack_l(const sp<Track>& track)
2236 String8 AudioFlinger::PlaybackThread::getParameters(const String8& keys)
2246 void AudioFlinger::PlaybackThread::ioConfigChanged(audio_io_config_event event, pid_t pid) {
2248 ALOGV("PlaybackThread::ioConfigChanged, thread %p, event %d", this, event);
2272 void AudioFlinger::PlaybackThread::onWriteReady()
2277 void AudioFlinger::PlaybackThread::onDrainReady()
2282 void AudioFlinger::PlaybackThread::onError()
2287 void AudioFlinger::PlaybackThread::resetWriteBlocked(uint32_t sequence)
2297 void AudioFlinger::PlaybackThread::resetDraining(uint32_t sequence)
2307 void AudioFlinger::PlaybackThread::readOutputParameters_l()
2467 status_t AudioFlinger::PlaybackThread::getRenderPosition(uint32_t *halFrames, uint32_t *dspFrames)
2495 uint32_t AudioFlinger::PlaybackThread::hasAudioSession_l(audio_session_t sessionId) const
2516 uint32_t AudioFlinger::PlaybackThread::getStrategyForSession_l(audio_session_t sessionId)
2533 AudioStreamOut* AudioFlinger::PlaybackThread::getOutput() const
2539 AudioStreamOut* AudioFlinger::PlaybackThread::clearOutput()
2553 sp<StreamHalInterface> AudioFlinger::PlaybackThread::stream() const
2561 uint32_t AudioFlinger::PlaybackThread::activeSleepTimeUs() const
2566 status_t AudioFlinger::PlaybackThread::setSyncEvent(const sp<SyncEvent>& event)
2585 bool AudioFlinger::PlaybackThread::isValidSyncEvent(const sp<SyncEvent>& event) const
2590 void AudioFlinger::PlaybackThread::threadLoop_removeTracks(
2613 void AudioFlinger::PlaybackThread::checkSilentMode_l()
2635 ssize_t AudioFlinger::PlaybackThread::threadLoop_write()
2694 void AudioFlinger::PlaybackThread::threadLoop_drain()
2710 void AudioFlinger::PlaybackThread::threadLoop_exit()
2746 void AudioFlinger::PlaybackThread::cacheParameters_l()
2762 bool AudioFlinger::PlaybackThread::invalidateTracks_l(audio_stream_type_t streamType)
2778 void AudioFlinger::PlaybackThread::invalidateTracks(audio_stream_type_t streamType)
2784 status_t AudioFlinger::PlaybackThread::addEffectChain_l(const sp<EffectChain>& chain)
2859 size_t AudioFlinger::PlaybackThread::removeEffectChain_l(const sp<EffectChain>& chain)
2891 status_t AudioFlinger::PlaybackThread::attachAuxEffect(
2892 const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId)
2898 status_t AudioFlinger::PlaybackThread::attachAuxEffect_l(
2899 const sp<AudioFlinger::PlaybackThread::Track>& track, int EffectId)
2921 void AudioFlinger::PlaybackThread::detachAuxEffect_l(int effectId)
2931 bool AudioFlinger::PlaybackThread::threadLoop()
3397 void AudioFlinger::PlaybackThread::removeTracks_l(const Vector< sp<Track> >& tracksToRemove)
3423 status_t AudioFlinger::PlaybackThread::getTimestamp_l(AudioTimestamp& timestamp)
3451 status = PlaybackThread::createAudioPatch_l(patch, handle);
3453 status = PlaybackThread::createAudioPatch_l(patch, handle);
3458 status_t AudioFlinger::PlaybackThread::createAudioPatch_l(const struct audio_patch *patch,
3539 status = PlaybackThread::releaseAudioPatch_l(handle);
3541 status = PlaybackThread::releaseAudioPatch_l(handle);
3546 status_t AudioFlinger::PlaybackThread::releaseAudioPatch_l(const audio_patch_handle_t handle)
3563 void AudioFlinger::PlaybackThread::addPatchTrack(const sp<PatchTrack>& track)
3569 void AudioFlinger::PlaybackThread::deletePatchTrack(const sp<PatchTrack>& track)
3575 void AudioFlinger::PlaybackThread::getAudioPortConfig(struct audio_port_config *config)
3587 : PlaybackThread(audioFlinger, output, id, device, type, systemReady),
3819 PlaybackThread::threadLoop_removeTracks(tracksToRemove);
3862 return PlaybackThread::threadLoop_write();
3900 PlaybackThread::threadLoop_standby();
3903 bool AudioFlinger::PlaybackThread::waitingAsyncCallback_l()
3908 bool AudioFlinger::PlaybackThread::shouldStandby_l()
3913 bool AudioFlinger::PlaybackThread::waitingAsyncCallback()
3920 void AudioFlinger::PlaybackThread::threadLoop_standby()
3935 void AudioFlinger::PlaybackThread::onAddNewTrack_l()
3941 void AudioFlinger::PlaybackThread::onAsyncError()
4002 AudioFlinger::PlaybackThread::mixer_state AudioFlinger::MixerThread::prepareTracks_l(
4582 // the PlaybackThread::threadLoop() copies mMixerBuffer into mSinkBuffer
4604 uint32_t AudioFlinger::PlaybackThread::trackCountForUid_l(uid_t uid)
4619 if (trackCountForUid_l(uid) > (PlaybackThread::kMaxTracksPerUid - 1)) {
4740 PlaybackThread::dumpInternals(fd, args);
4795 PlaybackThread::cacheParameters_l();
4808 : PlaybackThread(audioFlinger, output, id, device, DIRECT, systemReady)
4816 : PlaybackThread(audioFlinger, output, id, device, type, systemReady)
4896 PlaybackThread::onAddNewTrack_l();
4899 AudioFlinger::PlaybackThread::mixer_state AudioFlinger::DirectOutputThread::prepareTracks_l(
5155 PlaybackThread::threadLoop_exit();
5183 if (trackCountForUid_l(uid) > (PlaybackThread::kMaxTracksPerUid - 1)) {
5248 time = PlaybackThread::activeSleepTimeUs();
5279 PlaybackThread::cacheParameters_l();
5304 kMinNormalSinkBufferSizeMs * NS_PER_MS : PlaybackThread::computeWaitTimeNs_l();
5310 const wp<AudioFlinger::PlaybackThread>& playbackThread)
5312 mPlaybackThread(playbackThread),
5357 sp<AudioFlinger::PlaybackThread> playbackThread = mPlaybackThread.promote();
5358 if (playbackThread != 0) {
5360 playbackThread->resetWriteBlocked(writeAckSequence >> 1);
5363 playbackThread->resetDraining(drainSequence >> 1);
5366 playbackThread->onAsyncError();
5449 PlaybackThread::threadLoop_exit();
5452 AudioFlinger::PlaybackThread::mixer_state AudioFlinger::OffloadThread::prepareTracks_l(
5733 if (PlaybackThread::invalidateTracks_l(streamType)) {
5894 PlaybackThread *playbackThread = (PlaybackThread *)thread.get();
5896 if (playbackThread->standby() && !playbackThread->isSuspended()) {