Home
last modified time | relevance | path

Searched refs:EventThread (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventThread.cpp22 EventThread::EventThread() = default;
23 EventThread::~EventThread() = default;
DMockEventThread.h25 class EventThread : public android::EventThread {
27 EventThread();
28 ~EventThread() override;
/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp161 EventThread* eventThread, uid_t callingUid, ResyncCallback resyncCallback, in EventThreadConnection()
232 EventThread::~EventThread() = default;
236 EventThread::EventThread(std::unique_ptr<VSyncSource> vsyncSource, in EventThread() function in android::impl::EventThread
273 EventThread::~EventThread() { in ~EventThread()
284 void EventThread::setDuration(std::chrono::nanoseconds workDuration, in setDuration()
290 sp<EventThreadConnection> EventThread::createEventConnection( in createEventConnection()
293 return new EventThreadConnection(const_cast<EventThread*>(this), in createEventConnection()
298 status_t EventThread::registerDisplayEventConnection(const sp<EventThreadConnection>& connection) { in registerDisplayEventConnection()
315 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThreadConnection>& connection) { in removeDisplayEventConnectionLocked()
323 void EventThread::setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) { in setVsyncRate()
[all …]
DEventThread.h40 class EventThread; variable
94 EventThreadConnection(EventThread*, uid_t callingUid, ResyncCallback,
114 EventThread* const mEventThread;
121 class EventThread {
123 virtual ~EventThread();
163 class EventThread : public android::EventThread, private VSyncSource::Callback {
169 EventThread(std::unique_ptr<VSyncSource>, frametimeline::TokenManager*, InterceptVSyncsCallback,
171 ~EventThread();
DScheduler.cpp164 impl::EventThread::ThrottleVsyncCallback Scheduler::makeThrottleVsyncCallback() const { in makeThrottleVsyncCallback()
172 impl::EventThread::GetVsyncPeriodFunction Scheduler::makeGetVsyncPeriodFunction() const { in makeGetVsyncPeriodFunction()
194 impl::EventThread::InterceptVSyncsCallback interceptCallback) { in createConnection()
198 auto eventThread = std::make_unique<impl::EventThread>(std::move(vsyncSource), tokenManager, in createConnection()
205 ConnectionHandle Scheduler::createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
217 EventThread* eventThread, ISurfaceComposer::EventRegistrationFlags eventRegistration) { in createConnectionInternal()
236 android::EventThread* thread; in onHotplugReceived()
247 android::EventThread* thread; in onScreenAcquired()
258 android::EventThread* thread; in onScreenReleased()
276 android::EventThread* thread; in onFrameRateOverridesChanged()
[all …]
DScheduler.h131 impl::EventThread::InterceptVSyncsCallback);
249 ConnectionHandle createConnection(std::unique_ptr<EventThread>);
251 EventThread*, ISurfaceComposer::EventRegistrationFlags eventRegistration = {});
277 impl::EventThread::ThrottleVsyncCallback makeThrottleVsyncCallback() const
279 impl::EventThread::GetVsyncPeriodFunction makeGetVsyncPeriodFunction() const;
290 std::unique_ptr<EventThread> thread;
/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_SetPowerModeInternalTest.cpp136 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test); in setupCallExpectations()
152 Case::EventThread::setupVsyncAndEventThreadNoCallExpectations(test); in setupCallExpectations()
165 Case::EventThread::setupReleaseAndDisableVsyncCallExpectations(test); in setupCallExpectations()
178 Case::EventThread::setupVsyncAndEventThreadNoCallExpectations(test); in setupCallExpectations()
190 Case::EventThread::setupVsyncAndEventThreadNoCallExpectations(test); in setupCallExpectations()
199 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test); in setupCallExpectations()
208 Case::EventThread::setupVsyncAndEventThreadNoCallExpectations(test); in setupCallExpectations()
217 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test); in setupCallExpectations()
227 Case::EventThread::setupReleaseAndDisableVsyncCallExpectations(test); in setupCallExpectations()
236 Case::EventThread::setupVsyncAndEventThreadNoCallExpectations(test); in setupCallExpectations()
[all …]
DLayerTestUtils.cpp51 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
52 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DDisplayTransactionTest.cpp79 std::unique_ptr<EventThread>(mEventThread), in injectMockScheduler()
80 std::unique_ptr<EventThread>(mSFEventThread), in injectMockScheduler()
DTransactionFrameTracerTest.cpp72 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
73 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DGameModeTest.cpp62 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
63 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DTunnelModeEnabledReporterTest.cpp106 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
107 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DRefreshRateSelectionTest.cpp115 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
116 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DSurfaceFlinger_PowerHintTest.cpp104 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
105 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DFpsReporterTest.cpp126 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
127 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DSurfaceFlinger_DisplayModeSwitching.cpp61 mock::EventThread* mAppEventThread;
81 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
83 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DSchedulerTest.cpp41 using MockEventThread = android::mock::EventThread;
50 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection()
DTestableScheduler.h57 ConnectionHandle createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
DDisplayTransactionTestHelpers.h132 mock::EventThread* mEventThread = new mock::EventThread;
133 mock::EventThread* mSFEventThread = new mock::EventThread;
/frameworks/native/services/surfaceflinger/Tracing/tools/
DLayerTraceGenerator.cpp194 mock::EventThread* mEventThread = new testing::NiceMock<mock::EventThread>(); in generate()
195 mock::EventThread* mSFEventThread = new testing::NiceMock<mock::EventThread>(); in generate()
198 std::unique_ptr<EventThread>(mEventThread), in generate()
199 std::unique_ptr<EventThread>(mSFEventThread), in generate()
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_scheduler_fuzzer.cpp90 std::unique_ptr<android::impl::EventThread> thread = std::make_unique< in fuzzEventThread()
91 android::impl::EventThread>(std::move(std::make_unique<FuzzImplVSyncSource>()), nullptr, in fuzzEventThread()
106 dump<android::impl::EventThread>(thread.get(), &mFdp); in fuzzEventThread()
212 std::make_unique<android::mock::EventThread>(), in fuzzLayerHistory()
213 std::make_unique<android::mock::EventThread>()); in fuzzLayerHistory()
241 scheduler->createConnection(std::make_unique<android::mock::EventThread>()); in fuzzLayerHistory()
315 std::make_unique<android::mock::EventThread>(), in fuzzRefreshRateSelection()
316 std::make_unique<android::mock::EventThread>()); in fuzzRefreshRateSelection()
Dsurfaceflinger_layer_fuzzer.cpp70 std::make_unique<android::mock::EventThread>(), in createLayerCreationArgs()
71 std::make_unique<android::mock::EventThread>()); in createLayerCreationArgs()
Dsurfaceflinger_fuzzer.cpp214 std::make_unique<android::mock::EventThread>(), in setUp()
215 std::make_unique<android::mock::EventThread>()); in setUp()
Dsurfaceflinger_fuzzers_utils.h189 class EventThread; variable
232 ConnectionHandle createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
679 std::unique_ptr<EventThread> appEventThread,
680 std::unique_ptr<EventThread> sfEventThread,
/frameworks/base/cmds/incident_helper/testdata/
Dps.txt4 … 499 534 1 73940 22024 futex_wait_queue_me 0 S 42 -9 2 1 fg 00:00:00 EventThread

12