diff options
author | Ana Krulec <akrulec@google.com> | 2018-12-26 17:29:57 -0800 |
---|---|---|
committer | Ana Krulec <akrulec@google.com> | 2018-12-27 11:08:29 -0800 |
commit | 85c39afcd961afd35d31050aadf3fb6cd16003a4 (patch) | |
tree | 24dbfd57afa173de7ca017715826c7a0226c22c9 /services/surfaceflinger/tests/unittests/EventThreadTest.cpp | |
parent | 5302ea983dbd0c961e33e441aa49bd6667efc4f0 (diff) |
SF: Moving EventThread::Connection out of impl class
This is part of Scheduler refactoring. EventThread::Connection should be
a wrapper that translates IDisplayEventConnection into EventThread calls.
Test: SF tests pass.
Bug: 113612090
Change-Id: I2bcf0c45a33638c59f7828085c563dbc52b2d66e
Diffstat (limited to 'services/surfaceflinger/tests/unittests/EventThreadTest.cpp')
-rw-r--r-- | services/surfaceflinger/tests/unittests/EventThreadTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/services/surfaceflinger/tests/unittests/EventThreadTest.cpp b/services/surfaceflinger/tests/unittests/EventThreadTest.cpp index fb3b7a2951..acbed51e9d 100644 --- a/services/surfaceflinger/tests/unittests/EventThreadTest.cpp +++ b/services/surfaceflinger/tests/unittests/EventThreadTest.cpp @@ -47,10 +47,10 @@ public: class EventThreadTest : public testing::Test { protected: - class MockEventThreadConnection : public android::impl::EventThread::Connection { + class MockEventThreadConnection : public android::EventThreadConnection { public: explicit MockEventThreadConnection(android::impl::EventThread* eventThread) - : android::impl::EventThread::Connection(eventThread) {} + : android::EventThreadConnection(eventThread) {} MOCK_METHOD1(postEvent, status_t(const DisplayEventReceiver::Event& event)); }; |