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() 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()
|
D | TestableScheduler.h | 35 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()
|
D | EventThreadTest.cpp | 57 MockEventThreadConnection(android::impl::EventThread* eventThread, in MockEventThreadConnection() argument 59 : EventThreadConnection(eventThread, std::move(resyncCallback)) {} in MockEventThreadConnection()
|
D | DisplayTransactionTest.cpp | 1536 void HandleTransactionLockedTest::expectHotplugReceived(mock::EventThread* eventThread) { in expectHotplugReceived() argument 1541 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 | 127 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()
|
D | Scheduler.h | 73 std::unique_ptr<EventThread> eventThread) in Connection() argument 74 : handle(handle), eventConnection(eventConnection), thread(std::move(eventThread)) {} in Connection()
|
D | EventThread.cpp | 109 EventThreadConnection::EventThreadConnection(EventThread* eventThread, in EventThreadConnection() argument 112 mEventThread(eventThread), in EventThreadConnection()
|