/frameworks/base/libs/hwui/tests/unit/ |
D | ThreadBaseTests.cpp | 28 static ThreadBase& thread() { in thread() 29 class TestThread : public ThreadBase, public virtual RefBase {}; in thread() 43 TEST(ThreadBase, post) { in TEST() argument 52 TEST(ThreadBase, postDelay) { in TEST() argument 63 TEST(ThreadBase, runSync) { in TEST() argument 76 TEST(ThreadBase, async) { in TEST() argument 89 TEST(ThreadBase, lifecyclePerf) { in TEST() argument 144 TEST(ThreadBase, lifecycle) { in TEST() argument
|
/frameworks/base/libs/hwui/thread/ |
D | ThreadBase.h | 30 class ThreadBase : public Thread { 31 PREVENT_COPY_AND_ASSIGN(ThreadBase); 34 ThreadBase() in ThreadBase() function
|
/frameworks/av/services/audioflinger/ |
D | Tracks.cpp | 79 AudioFlinger::ThreadBase::TrackBase::TrackBase( in TrackBase() 80 ThreadBase *thread, in TrackBase() 250 status_t AudioFlinger::ThreadBase::TrackBase::initCheck() const in initCheck() 261 AudioFlinger::ThreadBase::TrackBase::~TrackBase() in ~TrackBase() 282 void AudioFlinger::ThreadBase::TrackBase::releaseBuffer(AudioBufferProvider::Buffer* buffer) in releaseBuffer() 296 status_t AudioFlinger::ThreadBase::TrackBase::setSyncEvent(const sp<SyncEvent>& event) in setSyncEvent() 302 AudioFlinger::ThreadBase::PatchTrackBase::PatchTrackBase(sp<ClientProxy> proxy, in PatchTrackBase() 303 const ThreadBase& thread, in PatchTrackBase() 317 void AudioFlinger::ThreadBase::PatchTrackBase::setPeerTimeout(std::chrono::nanoseconds timeout) { in setPeerTimeout() 712 mServerLatencySupported = thread->type() == ThreadBase::MIXER in Track() [all …]
|
D | Effects.h | 405 EffectChain(const wp<ThreadBase>& wThread, audio_session_t sessionId); 505 bool isCompatibleWithThread_l(const sp<ThreadBase>& thread) const; 512 wp<ThreadBase> thread() const { return mEffectCallback->thread(); } in thread() 529 const wp<ThreadBase>& thread) in EffectCallback() 569 wp<ThreadBase> thread() const { return mThread.load(); } in thread() 571 void setThread(const wp<ThreadBase>& thread) { in setThread() 577 mediautils::atomic_wp<ThreadBase> mThread; 608 void setThread(const sp<ThreadBase>& thread);
|
D | Threads.cpp | 493 const char *AudioFlinger::ThreadBase::threadTypeToString(AudioFlinger::ThreadBase::type_t type) in threadTypeToString() 515 AudioFlinger::ThreadBase::ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, in ThreadBase() function in android::AudioFlinger::ThreadBase 538 AudioFlinger::ThreadBase::~ThreadBase() in ~ThreadBase() 553 status_t AudioFlinger::ThreadBase::readyToRun() in readyToRun() 564 void AudioFlinger::ThreadBase::exit() in exit() 588 status_t AudioFlinger::ThreadBase::setParameters(const String8& keyValuePairs) in setParameters() 598 status_t AudioFlinger::ThreadBase::sendConfigEvent_l(sp<ConfigEvent>& event) in sendConfigEvent_l() 625 void AudioFlinger::ThreadBase::sendIoConfigEvent(audio_io_config_event event, pid_t pid, in sendIoConfigEvent() 633 void AudioFlinger::ThreadBase::sendIoConfigEvent_l(audio_io_config_event event, pid_t pid, in sendIoConfigEvent_l() 649 void AudioFlinger::ThreadBase::sendPrioConfigEvent(pid_t pid, pid_t tid, int32_t prio, bool forApp) in sendPrioConfigEvent() [all …]
|
D | Threads.h | 22 class ThreadBase : public Thread { 40 ThreadBase(const sp<AudioFlinger>& audioFlinger, audio_io_handle_t id, 42 virtual ~ThreadBase(); 270 explicit PMDeathRecipient(const wp<ThreadBase>& thread) : mThread(thread) {} in PMDeathRecipient() 279 wp<ThreadBase> mThread; 743 void updatePowerState(sp<ThreadBase> thread, bool force = false); 794 class PlaybackThread : public ThreadBase, public StreamOutHalInterfaceCallback, 880 ThreadBase::acquireWakeLock_l(); in acquireWakeLock_l() 962 return ThreadBase::hasAudioSession_l(sessionId, mTracks); in hasAudioSession_l() 1152 ThreadBase::invalidateTracksForAudioSession_l(sessionId, mTracks); in invalidateTracksForAudioSession_l() [all …]
|
D | TrackBase.h | 57 TrackBase(ThreadBase *thread, 349 const wp<ThreadBase> mThread; 428 PatchTrackBase(sp<ClientProxy> proxy, const ThreadBase& thread,
|
D | PatchPanel.h | 203 void setThread(sp<ThreadBase> thread) { mThread = thread; } in setThread() 204 wp<ThreadBase> thread() const { return mThread; } in thread() 224 wp<ThreadBase> mThread;
|
D | AudioFlinger.cpp | 938 if (sessions & ThreadBase::EFFECT_SESSION) { in createTrack() 1036 ThreadBase *thread = checkThread_l(ioHandle); in sampleRate() 1058 ThreadBase *thread = checkThread_l(ioHandle); in frameCount() 1071 ThreadBase *thread = checkThread_l(ioHandle); in frameCountHAL() 1611 sp<ThreadBase> thread; in setParameters() 1660 ThreadBase *thread = (ThreadBase *)checkPlaybackThread_l(ioHandle); in getParameters() 1662 thread = (ThreadBase *)checkRecordThread_l(ioHandle); in getParameters() 1664 thread = (ThreadBase *)checkMmapThread_l(ioHandle); in getParameters() 1903 sp<AudioFlinger::ThreadBase> AudioFlinger::getEffectThread_l(audio_session_t sessionId, in getEffectThread_l() 1906 sp<ThreadBase> thread; in getEffectThread_l() [all …]
|
D | Effects.cpp | 2044 AudioFlinger::EffectChain::EffectChain(const wp<ThreadBase>& thread, in EffectChain() 2052 sp<ThreadBase> p = thread.promote(); in EffectChain() 2769 void AudioFlinger::EffectChain::setThread(const sp<ThreadBase>& thread) in setThread() 2821 bool AudioFlinger::EffectChain::isCompatibleWithThread_l(const sp<ThreadBase>& thread) const in isCompatibleWithThread_l() 2858 sp<ThreadBase> t = thread().promote(); in addEffectToHal() 2874 sp<ThreadBase> t = thread().promote(); in removeEffectFromHal() 2888 sp<ThreadBase> t = thread().promote(); in io() 2896 sp<ThreadBase> t = thread().promote(); in isOutput() 2904 sp<ThreadBase> t = thread().promote(); in isOffload() 2908 return t->type() == ThreadBase::OFFLOAD; in isOffload() [all …]
|
D | AudioFlinger.h | 476 class ThreadBase; variable 477 void dumpToThreadLog_l(const sp<ThreadBase> &thread); 628 if ((sessionType & AudioFlinger::ThreadBase::EFFECT_SESSION) != 0) { in findIoHandleBySessionId_l() 719 ThreadBase *checkThread_l(audio_io_handle_t ioHandle) const; 727 sp<ThreadBase> openInput_l(audio_module_handle_t module, 736 sp<ThreadBase> openOutput_l(audio_module_handle_t module, 781 sp<ThreadBase> getEffectThread_l(audio_session_t sessionId, int effectId); 783 ThreadBase *hapticPlaybackThread_l() const;
|
D | PatchPanel.cpp | 249 sp<ThreadBase> thread = in createAudioPatch() 275 sp<ThreadBase> thread = mAudioFlinger.openOutput_l( in createAudioPatch() 314 sp<ThreadBase> thread = mAudioFlinger.openInput_l(srcModule, in createAudioPatch() 339 sp<ThreadBase> thread = mAudioFlinger.checkRecordThread_l( in createAudioPatch() 401 sp<ThreadBase> thread = in createAudioPatch() 651 ThreadBase::TrackBase::FrameTime recordFT{}, playFT{}; in getLatencyMs() 735 sp<ThreadBase> thread = mAudioFlinger.checkRecordThread_l(ioHandle); in releaseAudioPatch() 756 sp<ThreadBase> thread = mAudioFlinger.checkPlaybackThread_l(ioHandle); in releaseAudioPatch()
|
D | MmapTracks.h | 25 MmapTrack(ThreadBase *thread,
|
D | RecordTracks.h | 206 sp<StreamInHalInterface> obtainStream(sp<ThreadBase>* thread);
|
D | PlaybackTracks.h | 363 const wp<ThreadBase>& thread() const { return mThread; } in thread()
|
/frameworks/base/libs/hwui/hwui/ |
D | AnimatedImageThread.h | 29 class AnimatedImageThread : private ThreadBase {
|
/frameworks/base/libs/hwui/renderthread/ |
D | RenderThread.h | 129 class RenderThread : private ThreadBase { 137 WorkQueue& queue() { return ThreadBase::queue(); } in queue()
|
D | RenderThread.cpp | 196 : ThreadBase() in RenderThread()
|
/frameworks/base/libs/hwui/ |
D | HardwareBitmapUploader.cpp | 85 sp<ThreadBase> mUploadThread = nullptr; 114 mUploadThread = new ThreadBase{}; in beginUpload()
|