Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DLayerTestUtils.cpp52 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()
DTransactionFrameTracerTest.cpp73 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()
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.cpp107 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()
DRefreshRateSelectionTest.cpp116 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()
DSurfaceFlinger_PowerHintTest.cpp105 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()
DFpsReporterTest.cpp127 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()
DSurfaceFlinger_DisplayModeSwitching.cpp83 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()
DTransactionSurfaceFrameTest.cpp73 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()
DTransactionApplicationTest.cpp59 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()
DCompositionTest.cpp130 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()
DTestableSurfaceFlinger.h228 std::unique_ptr<EventThread> sfEventThread,
274 mFlinger->mSfConnectionHandle = mScheduler->createConnection(std::move(sfEventThread));
/frameworks/native/services/surfaceflinger/fuzzer/
Dsurfaceflinger_fuzzers_utils.h680 std::unique_ptr<EventThread> sfEventThread,
705 mFlinger->mSfConnectionHandle = mScheduler->createConnection(std::move(sfEventThread));