/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | LayerTestUtils.cpp | 52 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local 59 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler() 60 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler() 61 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler() 72 std::move(eventThread), std::move(sfEventThread), in setupScheduler()
|
D | TransactionFrameTracerTest.cpp | 73 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local 80 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler() 81 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler() 82 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler() 93 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 | 107 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local 114 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler() 115 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler() 116 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler() 127 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
|
D | RefreshRateSelectionTest.cpp | 116 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local 123 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler() 124 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler() 125 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler() 136 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
|
D | SurfaceFlinger_PowerHintTest.cpp | 105 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local 112 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler() 113 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler() 114 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler() 126 std::move(eventThread), std::move(sfEventThread), in setupScheduler()
|
D | FpsReporterTest.cpp | 127 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local 134 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler() 135 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler() 136 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler() 147 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 83 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local 90 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler() 91 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler() 92 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler() 104 std::move(eventThread), std::move(sfEventThread), in setupScheduler()
|
D | TransactionSurfaceFrameTest.cpp | 73 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local 80 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler() 81 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler() 82 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler() 93 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
|
D | TransactionApplicationTest.cpp | 59 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local 66 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler() 67 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler() 68 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler() 78 std::move(eventThread), std::move(sfEventThread)); in setupScheduler()
|
D | CompositionTest.cpp | 130 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() local 137 EXPECT_CALL(*sfEventThread, registerDisplayEventConnection(_)); in setupScheduler() 138 EXPECT_CALL(*sfEventThread, createEventConnection(_, _)) in setupScheduler() 139 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), /*callingUid=*/0, in setupScheduler() 151 std::move(eventThread), std::move(sfEventThread), in setupScheduler()
|
D | TestableSurfaceFlinger.h | 228 std::unique_ptr<EventThread> sfEventThread, 274 mFlinger->mSfConnectionHandle = mScheduler->createConnection(std::move(sfEventThread));
|
/frameworks/native/services/surfaceflinger/fuzzer/ |
D | surfaceflinger_fuzzers_utils.h | 680 std::unique_ptr<EventThread> sfEventThread, 705 mFlinger->mSfConnectionHandle = mScheduler->createConnection(std::move(sfEventThread));
|