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()
45 std::unique_ptr<EventThread> eventThread) in MockScheduler() argument
46 : Scheduler([](bool) {}, refreshRateConfigs), mEventThread(std::move(eventThread)) {} in MockScheduler()
75 std::unique_ptr<mock::EventThread> eventThread = std::make_unique<mock::EventThread>(); in SchedulerTest() local
76 mEventThread = eventThread.get(); in SchedulerTest()
77 mScheduler = std::make_unique<MockScheduler>(mRefreshRateConfigs, std::move(eventThread)); in SchedulerTest()
DTestableScheduler.h35 sp<Scheduler::ConnectionHandle> addConnection(std::unique_ptr<EventThread> eventThread) { in addConnection() argument
37 new EventThreadConnection(eventThread.get(), ResyncCallback()); in addConnection()
42 std::move(eventThread))); in addConnection()
DEventThreadTest.cpp57 MockEventThreadConnection(android::impl::EventThread* eventThread, in MockEventThreadConnection() argument
59 : EventThreadConnection(eventThread, std::move(resyncCallback)) {} in MockEventThreadConnection()
DDisplayTransactionTest.cpp1536 void HandleTransactionLockedTest::expectHotplugReceived(mock::EventThread* eventThread) { in expectHotplugReceived() argument
1541 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.cpp127 std::unique_ptr<EventThread> eventThread = in createConnection() local
132 createConnectionInternal(eventThread.get(), std::move(resyncCallback)); in createConnection()
136 std::move(eventThread))); in createConnection()
149 sp<EventThreadConnection> Scheduler::createConnectionInternal(EventThread* eventThread, in createConnectionInternal() argument
151 return eventThread->createEventConnection(std::move(resyncCallback)); in createConnectionInternal()
DScheduler.h73 std::unique_ptr<EventThread> eventThread) in Connection() argument
74 : handle(handle), eventConnection(eventConnection), thread(std::move(eventThread)) {} in Connection()
DEventThread.cpp109 EventThreadConnection::EventThreadConnection(EventThread* eventThread, in EventThreadConnection() argument
112 mEventThread(eventThread), in EventThreadConnection()