Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionFrameTracerTest.cpp71 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local
78 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
79 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
80 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
91 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
DGameModeTest.cpp63 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local
70 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
71 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
72 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
83 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
DTunnelModeEnabledReporterTest.cpp110 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local
117 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
118 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
119 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
130 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
DFpsReporterTest.cpp124 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local
131 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
132 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
133 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
144 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
DRefreshRateSelectionTest.cpp125 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local
132 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
133 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
134 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
145 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
DTransactionApplicationTest.cpp61 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local
68 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
69 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
70 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
79 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
DTransactionSurfaceFrameTest.cpp71 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local
78 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
79 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
80 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
91 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
DSetFrameRateTest.cpp162 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local
169 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
170 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
171 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
182 std::move(eventThread), std::move(sfEventThread), /*callback*/ nullptr, in setupScheduler()
DCompositionTest.cpp121 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local
128 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler()
129 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler()
130 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler()
144 std::move(eventThread), std::move(sfEventThread), kCallback, in setupScheduler()
DTestableSurfaceFlinger.h208 std::unique_ptr<EventThread> sfEventThread,
240 mFlinger->mSfConnectionHandle = mScheduler->createConnection(std::move(sfEventThread));