Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/tests/unittests/
DEventThreadTest.cpp55 class MockEventThreadConnection : public EventThreadConnection { class in android::EventThreadTest
57 MockEventThreadConnection(android::impl::EventThread* eventThread, in MockEventThreadConnection() function in android::EventThreadTest::MockEventThreadConnection
70 sp<MockEventThreadConnection> createConnection(ConnectionEventRecorder& recorder);
95 sp<MockEventThreadConnection> mConnection;
140 sp<EventThreadTest::MockEventThreadConnection> EventThreadTest::createConnection( in createConnection()
142 sp<MockEventThreadConnection> connection = in createConnection()
143 new MockEventThreadConnection(mThread.get(), mResyncCallRecorder.getInvocable()); in createConnection()
270 sp<MockEventThreadConnection> firstConnection = createConnection(firstConnectionEventRecorder); in TEST_F()
279 sp<MockEventThreadConnection> secondConnection = in TEST_F()
366 sp<MockEventThreadConnection> errorConnection = createConnection(errorConnectionEventRecorder); in TEST_F()
[all …]
DSchedulerTest.cpp25 class MockEventThreadConnection : public android::EventThreadConnection { class in android::SchedulerTest
27 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection() function in android::SchedulerTest::MockEventThreadConnection
29 ~MockEventThreadConnection() = default;
67 sp<MockEventThreadConnection> mEventThreadConnection;
80 mEventThreadConnection = new MockEventThreadConnection(mEventThread); in SchedulerTest()