Searched refs:eventThread (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SchedulerTest.cpp | 27 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()
|
D | TestableScheduler.h | 36 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()
|
D | EventThreadTest.cpp | 57 MockEventThreadConnection(android::impl::EventThread* eventThread, in MockEventThreadConnection() argument 60 : EventThreadConnection(eventThread, std::move(resyncCallback), configChanged) {} in MockEventThreadConnection()
|
D | DisplayTransactionTest.cpp | 1546 void HandleTransactionLockedTest::expectHotplugReceived(mock::EventThread* eventThread) { in expectHotplugReceived() argument 1551 EXPECT_CALL(*eventThread, in expectHotplugReceived()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | MessageQueue.cpp | 88 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()
|
D | Scheduler.cpp | 140 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()
|
D | Scheduler.h | 72 std::unique_ptr<EventThread> eventThread) in Connection() argument 73 : handle(handle), eventConnection(eventConnection), thread(std::move(eventThread)) {} in Connection()
|
D | EventThread.cpp | 113 EventThreadConnection::EventThreadConnection(EventThread* eventThread, in EventThreadConnection() argument 118 mEventThread(eventThread), in EventThreadConnection()
|