Home
last modified time | relevance | path

Searched refs:eventThread (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp27 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection() argument
28 : EventThreadConnection(eventThread, ResyncCallback(), in MockEventThreadConnection()
46 std::unique_ptr<EventThread> eventThread) in MockScheduler() argument
47 : Scheduler([](bool) {}, refreshRateConfigs), mEventThread(std::move(eventThread)) {} in MockScheduler()
81 std::unique_ptr<mock::EventThread> eventThread = std::make_unique<mock::EventThread>(); in SchedulerTest() local
82 mEventThread = eventThread.get(); in SchedulerTest()
83 mScheduler = std::make_unique<MockScheduler>(*mRefreshRateConfigs, std::move(eventThread)); in SchedulerTest()
DTestableScheduler.h36 sp<Scheduler::ConnectionHandle> addConnection(std::unique_ptr<EventThread> eventThread) { in addConnection() argument
38 new EventThreadConnection(eventThread.get(), ResyncCallback(), in addConnection()
44 std::move(eventThread))); in addConnection()
DEventThreadTest.cpp57 MockEventThreadConnection(android::impl::EventThread* eventThread, in MockEventThreadConnection() argument
60 : EventThreadConnection(eventThread, std::move(resyncCallback), configChanged) {} in MockEventThreadConnection()
DDisplayTransactionTest.cpp1546 void HandleTransactionLockedTest::expectHotplugReceived(mock::EventThread* eventThread) { in expectHotplugReceived() argument
1551 EXPECT_CALL(*eventThread, in expectHotplugReceived()
/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.cpp88 void MessageQueue::setEventThread(android::EventThread* eventThread, in setEventThread() argument
90 if (mEventThread == eventThread) { in setEventThread()
98 mEventThread = eventThread; in setEventThread()
99 mEvents = eventThread->createEventConnection(std::move(resyncCallback), in setEventThread()
DScheduler.cpp140 std::unique_ptr<EventThread> eventThread = in createConnection() local
145 createConnectionInternal(eventThread.get(), ISurfaceComposer::eConfigChangedSuppress); in createConnection()
149 std::move(eventThread))); in createConnection()
165 EventThread* eventThread, ISurfaceComposer::ConfigChanged configChanged) { in createConnectionInternal() argument
166 return eventThread->createEventConnection([&] { resync(); }, configChanged); in createConnectionInternal()
DScheduler.h72 std::unique_ptr<EventThread> eventThread) in Connection() argument
73 : handle(handle), eventConnection(eventConnection), thread(std::move(eventThread)) {} in Connection()
DEventThread.cpp113 EventThreadConnection::EventThreadConnection(EventThread* eventThread, in EventThreadConnection() argument
118 mEventThread(eventThread), in EventThreadConnection()