Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DVSyncDispatchRealtimeTest.cpp208 std::thread eventThread([&] { cb_receiver.repeatedly_schedule(mIterations, on_each_frame); }); in TEST_F() local
209 eventThread.join(); in TEST_F()
230 std::thread eventThread([&] { cb_receiver.repeatedly_schedule(mIterations, on_each_frame); }); in TEST_F() local
231 eventThread.join(); in TEST_F()
DSurfaceFlinger_DisplayModeSwitching.cpp141 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local
142 mAppEventThread = eventThread.get(); in setupScheduler()
145 EXPECT_CALL(*eventThread, registerDisplayEventConnection(_)); in setupScheduler()
146 EXPECT_CALL(*eventThread, createEventConnection(_, _)) in setupScheduler()
147 .WillOnce(Return(sp<EventThreadConnection>::make(eventThread.get(), in setupScheduler()
167 std::move(eventThread), std::move(sfEventThread), in setupScheduler()
DTestableSurfaceFlinger.h277 auto eventThread = makeMock<mock::EventThread>(options.useNiceMock); variable
280 EXPECT_CALL(*eventThread, registerDisplayEventConnection(_));
281 EXPECT_CALL(*eventThread, createEventConnection(_, _))
282 .WillOnce(Return(sp<EventThreadConnection>::make(eventThread.get(),
300 setupScheduler(std::move(vsyncController), std::move(vsyncTracker), std::move(eventThread),
DSchedulerTest.cpp69 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection() argument
70 : EventThreadConnection(eventThread, /*callingUid*/ static_cast<uid_t>(0)) {} in MockEventThreadConnection()
113 auto eventThread = std::make_unique<MockEventThread>(); in SchedulerTest() local
114 mEventThread = eventThread.get(); in SchedulerTest()
124 mScheduler->setEventThread(Cycle::Render, std::move(eventThread)); in SchedulerTest()
DSurfaceFlinger_DisplayTransactionCommitTest.cpp70 void DisplayTransactionCommitTest::expectHotplugReceived(mock::EventThread* eventThread) { in expectHotplugReceived() argument
75 EXPECT_CALL(*eventThread, in expectHotplugReceived()
DEventThreadTest.cpp70 MockEventThreadConnection(impl::EventThread* eventThread, uid_t callingUid, in MockEventThreadConnection() argument
72 : EventThreadConnection(eventThread, callingUid, eventRegistration) {} in MockEventThreadConnection()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp351 auto eventThread = in createEventThread() local
357 mRenderEventThread = std::move(eventThread); in createEventThread()
360 mLastCompositeEventThread = std::move(eventThread); in createEventThread()
DEventThread.cpp194 EventThreadConnection::EventThreadConnection(EventThread* eventThread, uid_t callingUid, in EventThreadConnection() argument
198 mEventThread(eventThread), in EventThreadConnection()