Home
last modified time | relevance | path

Searched refs:sfEventThread (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_DisplayModeSwitching.cpp143 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local
150 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
151 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
152 .WillOnce(Return(sp<EventThreadConnection>::make(sfEventThread.get(), in setupScheduler()
167 std::move(eventThread), std::move(sfEventThread), in setupScheduler()
DTestableSurfaceFlinger.h229 std::unique_ptr<EventThread> sfEventThread,
268 mScheduler->setEventThread(scheduler::Cycle::LastComposite, std::move(sfEventThread));
278 auto sfEventThread = makeMock<mock::EventThread>(options.useNiceMock); variable
285 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_));
286 EXPECT_CALL(*sfEventThread, createEventConnection(_, _))
287 .WillOnce(Return(sp<EventThreadConnection>::make(sfEventThread.get(),
301 std::move(sfEventThread), DefaultDisplayMode{options.displayId},