Home
last modified time | relevance | path

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

/aosp_15_r20/frameworks/native/services/surfaceflinger/tests/unittests/
H A DEventThreadTest.cpp69 class MockEventThreadConnection : public EventThreadConnection { class in android::EventThreadTest
71 MockEventThreadConnection(impl::EventThread* eventThread, uid_t callingUid, in MockEventThreadConnection() function in android::EventThreadTest::MockEventThreadConnection
92 sp<MockEventThreadConnection> createConnection(ConnectionEventRecorder& recorder,
147 sp<MockEventThreadConnection> mConnection;
148 sp<MockEventThreadConnection> mThrottledConnection;
228 sp<EventThreadTest::MockEventThreadConnection> EventThreadTest::createConnection( in createConnection()
231 sp<MockEventThreadConnection> connection = in createConnection()
232 sp<MockEventThreadConnection>::make(mThread.get(), ownerUid, eventRegistration); in createConnection()
556 sp<MockEventThreadConnection> firstConnection = createConnection(firstConnectionEventRecorder); in TEST_F()
564 sp<MockEventThreadConnection> secondConnection = in TEST_F()
[all …]
H A DSchedulerTest.cpp68 class MockEventThreadConnection : public android::EventThreadConnection { class in android::scheduler::__anon5086c9210111::SchedulerTest
70 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection() function in android::scheduler::__anon5086c9210111::SchedulerTest::MockEventThreadConnection
72 ~MockEventThreadConnection() = default;
115 sp<MockEventThreadConnection> mEventThreadConnection;
123 mEventThreadConnection = sp<MockEventThreadConnection>::make(mEventThread); in SchedulerTest()
798 const auto mockConnection1 = sp<MockEventThreadConnection>::make(mEventThread); in TEST_F()
799 const auto mockConnection2 = sp<MockEventThreadConnection>::make(mEventThread); in TEST_F()
864 sp<MockEventThreadConnection> mockConnection = in TEST_F()
865 sp<MockEventThreadConnection>::make(mEventThread); in TEST_F()