Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DEventThreadTest.cpp68 class MockEventThreadConnection : public EventThreadConnection { class in android::EventThreadTest
70 MockEventThreadConnection(impl::EventThread* eventThread, uid_t callingUid, in MockEventThreadConnection() function in android::EventThreadTest::MockEventThreadConnection
91 sp<MockEventThreadConnection> createConnection(ConnectionEventRecorder& recorder,
144 sp<MockEventThreadConnection> mConnection;
145 sp<MockEventThreadConnection> mThrottledConnection;
224 sp<EventThreadTest::MockEventThreadConnection> EventThreadTest::createConnection( in createConnection()
227 sp<MockEventThreadConnection> connection = in createConnection()
228 sp<MockEventThreadConnection>::make(mThread.get(), ownerUid, eventRegistration); in createConnection()
544 sp<MockEventThreadConnection> firstConnection = createConnection(firstConnectionEventRecorder); in TEST_F()
552 sp<MockEventThreadConnection> secondConnection = in TEST_F()
[all …]
DSchedulerTest.cpp67 class MockEventThreadConnection : public android::EventThreadConnection { class in android::scheduler::__anon810a6bab0111::SchedulerTest
69 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection() function in android::scheduler::__anon810a6bab0111::SchedulerTest::MockEventThreadConnection
71 ~MockEventThreadConnection() = default;
109 sp<MockEventThreadConnection> mEventThreadConnection;
117 mEventThreadConnection = sp<MockEventThreadConnection>::make(mEventThread); in SchedulerTest()
741 const auto mockConnection1 = sp<MockEventThreadConnection>::make(mEventThread); in TEST_F()
742 const auto mockConnection2 = sp<MockEventThreadConnection>::make(mEventThread); in TEST_F()
807 sp<MockEventThreadConnection> mockConnection = in TEST_F()
808 sp<MockEventThreadConnection>::make(mEventThread); in TEST_F()