/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TransactionFrameTracerTest.cpp | 71 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()
|
D | GameModeTest.cpp | 63 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()
|
D | TunnelModeEnabledReporterTest.cpp | 110 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()
|
D | FpsReporterTest.cpp | 124 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()
|
D | RefreshRateSelectionTest.cpp | 125 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()
|
D | TransactionApplicationTest.cpp | 61 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()
|
D | TransactionSurfaceFrameTest.cpp | 71 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()
|
D | SetFrameRateTest.cpp | 162 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()
|
D | CompositionTest.cpp | 121 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()
|
D | TestableSurfaceFlinger.h | 208 std::unique_ptr<EventThread> sfEventThread, 240 mFlinger->mSfConnectionHandle = mScheduler->createConnection(std::move(sfEventThread));
|