Home
last modified time | relevance | path

Searched refs:EventThread (Results 1 – 25 of 29) 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.cpp155 EventThread* eventThread, uid_t callingUid, ResyncCallback resyncCallback, in EventThreadConnection()
213 EventThread::~EventThread() = default;
217 EventThread::EventThread(std::unique_ptr<VSyncSource> vsyncSource, in EventThread() function in android::impl::EventThread
254 EventThread::~EventThread() { in ~EventThread()
265 void EventThread::setDuration(std::chrono::nanoseconds workDuration, in setDuration()
271 sp<EventThreadConnection> EventThread::createEventConnection( in createEventConnection()
274 return new EventThreadConnection(const_cast<EventThread*>(this), in createEventConnection()
279 status_t EventThread::registerDisplayEventConnection(const sp<EventThreadConnection>& connection) { in registerDisplayEventConnection()
296 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThreadConnection>& connection) { in removeDisplayEventConnectionLocked()
304 void EventThread::setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) { in setVsyncRate()
[all …]
DEventThread.h40 class EventThread; variable
85 EventThreadConnection(EventThread*, uid_t callingUid, ResyncCallback,
104 EventThread* const mEventThread;
110 class EventThread {
112 virtual ~EventThread();
151 class EventThread : public android::EventThread, private VSyncSource::Callback {
157 EventThread(std::unique_ptr<VSyncSource>, frametimeline::TokenManager*, InterceptVSyncsCallback,
159 ~EventThread();
DScheduler.cpp239 impl::EventThread::ThrottleVsyncCallback Scheduler::makeThrottleVsyncCallback() const { in makeThrottleVsyncCallback()
249 impl::EventThread::GetVsyncPeriodFunction Scheduler::makeGetVsyncPeriodFunction() const { in makeGetVsyncPeriodFunction()
269 impl::EventThread::InterceptVSyncsCallback interceptCallback) { in createConnection()
273 auto eventThread = std::make_unique<impl::EventThread>(std::move(vsyncSource), tokenManager, in createConnection()
280 Scheduler::ConnectionHandle Scheduler::createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
292 EventThread* eventThread, ISurfaceComposer::EventRegistrationFlags eventRegistration) { in createConnectionInternal()
311 android::EventThread* thread; in onHotplugReceived()
322 android::EventThread* thread; in onScreenAcquired()
332 android::EventThread* thread; in onScreenReleased()
354 android::EventThread* thread; in onFrameRateOverridesChanged()
[all …]
DScheduler.h82 impl::EventThread::InterceptVSyncsCallback);
216 ConnectionHandle createConnection(std::unique_ptr<EventThread>);
218 EventThread*, ISurfaceComposer::EventRegistrationFlags eventRegistration = {});
244 impl::EventThread::ThrottleVsyncCallback makeThrottleVsyncCallback() const;
245 impl::EventThread::GetVsyncPeriodFunction makeGetVsyncPeriodFunction() const;
250 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 …]
DTransactionApplicationTest.cpp60 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
61 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
85 std::unique_ptr<mock::EventThread> mEventThread = std::make_unique<mock::EventThread>();
DSchedulerTest.cpp43 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection()
79 mock::EventThread* mEventThread;
86 auto eventThread = std::make_unique<mock::EventThread>(); in SchedulerTest()
DTransactionFrameTracerTest.cpp70 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
71 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()
DDisplayTransactionTest.cpp80 std::unique_ptr<EventThread>(mEventThread), in injectMockScheduler()
81 std::unique_ptr<EventThread>(mSFEventThread), &mSchedulerCallback); in injectMockScheduler()
DTunnelModeEnabledReporterTest.cpp109 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
110 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DFpsReporterTest.cpp123 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
124 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DTestableScheduler.h47 ConnectionHandle createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
DRefreshRateSelectionTest.cpp124 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
125 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DEventThreadTest.cpp67 MockEventThreadConnection(impl::EventThread* eventThread, uid_t callingUid, in MockEventThreadConnection()
117 std::unique_ptr<impl::EventThread> mThread;
173 mThread = std::make_unique<impl::EventThread>(std::move(source), in createThread()
DDisplayTransactionTestHelpers.h127 mock::EventThread* mEventThread = new mock::EventThread;
128 mock::EventThread* mSFEventThread = new mock::EventThread;
DTestableSurfaceFlinger.h50 class EventThread; variable
207 std::unique_ptr<EventThread> appEventThread,
208 std::unique_ptr<EventThread> sfEventThread,
DTransactionSurfaceFrameTest.cpp70 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
71 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DSurfaceFlinger_HandleTransactionLockedTest.cpp31 static void expectHotplugReceived(mock::EventThread*);
71 void HandleTransactionLockedTest::expectHotplugReceived(mock::EventThread* eventThread) { in expectHotplugReceived()
DSetFrameRateTest.cpp161 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
162 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
/frameworks/native/libs/vr/libvrflinger/
Depoll_event_dispatcher.cpp35 thread_ = std::thread(&EpollEventDispatcher::EventThread, this); in EpollEventDispatcher()
87 void EpollEventDispatcher::EventThread() { in EventThread() function in android::dvr::EpollEventDispatcher
Depoll_event_dispatcher.h37 void EventThread();
/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