Searched refs:eventThread (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | VSyncDispatchRealtimeTest.cpp | 208 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()
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 141 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()
|
D | TestableSurfaceFlinger.h | 277 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),
|
D | SchedulerTest.cpp | 69 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()
|
D | SurfaceFlinger_DisplayTransactionCommitTest.cpp | 70 void DisplayTransactionCommitTest::expectHotplugReceived(mock::EventThread* eventThread) { in expectHotplugReceived() argument 75 EXPECT_CALL(*eventThread, in expectHotplugReceived()
|
D | EventThreadTest.cpp | 70 MockEventThreadConnection(impl::EventThread* eventThread, uid_t callingUid, in MockEventThreadConnection() argument 72 : EventThreadConnection(eventThread, callingUid, eventRegistration) {} in MockEventThreadConnection()
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.cpp | 351 auto eventThread = in createEventThread() local 357 mRenderEventThread = std::move(eventThread); in createEventThread() 360 mLastCompositeEventThread = std::move(eventThread); in createEventThread()
|
D | EventThread.cpp | 194 EventThreadConnection::EventThreadConnection(EventThread* eventThread, uid_t callingUid, in EventThreadConnection() argument 198 mEventThread(eventThread), in EventThreadConnection()
|