Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.cpp122 EventThreadConnection::EventThreadConnection(EventThread* eventThread, in EventThreadConnection()
167 EventThread::~EventThread() = default;
171 EventThread::EventThread(std::unique_ptr<VSyncSource> vsyncSource, in EventThread() function in android::impl::EventThread
198 EventThread::~EventThread() { in ~EventThread()
209 void EventThread::setPhaseOffset(nsecs_t phaseOffset) { in setPhaseOffset()
214 sp<EventThreadConnection> EventThread::createEventConnection( in createEventConnection()
216 return new EventThreadConnection(const_cast<EventThread*>(this), std::move(resyncCallback), in createEventConnection()
220 status_t EventThread::registerDisplayEventConnection(const sp<EventThreadConnection>& connection) { in registerDisplayEventConnection()
237 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThreadConnection>& connection) { in removeDisplayEventConnectionLocked()
245 void EventThread::setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) { in setVsyncRate()
[all …]
DEventThread.h40 class EventThread; variable
75 EventThreadConnection(EventThread*, ResyncCallback,
100 EventThread* const mEventThread;
104 class EventThread {
106 virtual ~EventThread();
143 class EventThread : public android::EventThread, private VSyncSource::Callback {
147 EventThread(std::unique_ptr<VSyncSource>, InterceptVSyncsCallback);
148 ~EventThread();
DScheduler.h87 impl::EventThread::InterceptVSyncsCallback);
183 ConnectionHandle createConnection(std::unique_ptr<EventThread>);
184 sp<EventThreadConnection> createConnectionInternal(EventThread*,
211 std::unique_ptr<EventThread> thread;
DScheduler.cpp181 impl::EventThread::InterceptVSyncsCallback interceptCallback) { in createConnection()
183 auto eventThread = std::make_unique<impl::EventThread>(std::move(vsyncSource), in createConnection()
188 Scheduler::ConnectionHandle Scheduler::createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
200 EventThread* eventThread, ISurfaceComposer::ConfigChanged configChanged) { in createConnectionInternal()
297 std::make_unique<impl::EventThread>(std::move(vsyncSource), in enableVSyncInjection()
298 impl::EventThread::InterceptVSyncsCallback()); in enableVSyncInjection()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventThread.cpp23 EventThread::EventThread() = default;
24 EventThread::~EventThread() = default;
DMockEventThread.h26 class EventThread : public android::EventThread {
28 EventThread();
29 ~EventThread() override;
/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp48 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection()
65 mock::EventThread* mEventThread;
85 auto eventThread = std::make_unique<mock::EventThread>(); in SchedulerTest()
DTransactionApplicationTest.cpp64 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
65 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
91 std::unique_ptr<mock::EventThread> mEventThread = std::make_unique<mock::EventThread>();
DTestableScheduler.h53 ConnectionHandle createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
DEventThreadTest.cpp60 MockEventThreadConnection(impl::EventThread* eventThread, ResyncCallback&& resyncCallback, in MockEventThreadConnection()
99 std::unique_ptr<impl::EventThread> mThread;
139 mThread = std::make_unique<impl::EventThread>(std::move(source), in createThread()
DDisplayTransactionTest.cpp157 mock::EventThread* mEventThread = new mock::EventThread;
158 mock::EventThread* mSFEventThread = new mock::EventThread;
215 std::unique_ptr<EventThread>(mEventThread), in injectMockScheduler()
216 std::unique_ptr<EventThread>(mSFEventThread)); in injectMockScheduler()
1883 static void expectHotplugReceived(mock::EventThread*);
1923 void HandleTransactionLockedTest::expectHotplugReceived(mock::EventThread* eventThread) { in expectHotplugReceived()
3266 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test); in setupCallExpectations()
3282 Case::EventThread::setupEventAndEventControlThreadNoCallExpectations(test); in setupCallExpectations()
3295 Case::EventThread::setupReleaseAndDisableVsyncCallExpectations(test); in setupCallExpectations()
3309 Case::EventThread::setupEventAndEventControlThreadNoCallExpectations(test); in setupCallExpectations()
[all …]
DRefreshRateSelectionTest.cpp130 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
131 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DTestableSurfaceFlinger.h46 class EventThread; variable
203 std::unique_ptr<EventThread> appEventThread,
204 std::unique_ptr<EventThread> sfEventThread,
DSetFrameRateTest.cpp166 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
167 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
DCompositionTest.cpp130 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
131 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
/frameworks/native/services/surfaceflinger/
DAndroid.bp164 "Scheduler/EventThread.cpp",
DSurfaceFlinger.h90 class EventThread; variable
DSurfaceFlinger.cpp2981 impl::EventThread::InterceptVSyncsCallback()); in initScheduler()