Home
last modified time | relevance | path

Searched refs:EventThreadConnection (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.h73 class EventThreadConnection : public BnDisplayEventConnection {
75 EventThreadConnection(EventThread*, ResyncCallback,
77 virtual ~EventThreadConnection();
108 virtual sp<EventThreadConnection> createEventConnection(
128 const sp<EventThreadConnection>& connection) = 0;
129 virtual void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) = 0;
131 virtual void requestNextVsync(const sp<EventThreadConnection>& connection) = 0;
135 virtual void requestLatestConfig(const sp<EventThreadConnection>& connection) = 0;
150 sp<EventThreadConnection> createEventConnection(
153 status_t registerDisplayEventConnection(const sp<EventThreadConnection>& connection) override;
[all …]
DEventThread.cpp69 std::string toString(const EventThreadConnection& connection) { in toString()
122 EventThreadConnection::EventThreadConnection(EventThread* eventThread, in EventThreadConnection() function in android::EventThreadConnection
130 EventThreadConnection::~EventThreadConnection() { in ~EventThreadConnection()
135 void EventThreadConnection::onFirstRef() { in onFirstRef()
140 status_t EventThreadConnection::stealReceiveChannel(gui::BitTube* outChannel) { in stealReceiveChannel()
145 status_t EventThreadConnection::setVsyncRate(uint32_t rate) { in setVsyncRate()
150 void EventThreadConnection::requestNextVsync() { in requestNextVsync()
155 void EventThreadConnection::requestLatestConfig() { in requestLatestConfig()
160 status_t EventThreadConnection::postEvent(const DisplayEventReceiver::Event& event) { in postEvent()
214 sp<EventThreadConnection> EventThread::createEventConnection( in createEventConnection()
[all …]
DMessageQueue.h66 virtual void setEventConnection(const sp<EventThreadConnection>& connection) = 0;
95 sp<EventThreadConnection> mEvents;
105 void setEventConnection(const sp<EventThreadConnection>& connection) override;
DScheduler.h92 sp<EventThreadConnection> getEventConnection(ConnectionHandle);
184 sp<EventThreadConnection> createConnectionInternal(EventThread*,
210 sp<EventThreadConnection> connection;
DMessageQueue.cpp70 void MessageQueue::setEventConnection(const sp<EventThreadConnection>& connection) { in setEventConnection()
DScheduler.cpp199 sp<EventThreadConnection> Scheduler::createConnectionInternal( in createConnectionInternal()
210 sp<EventThreadConnection> Scheduler::getEventConnection(ConnectionHandle handle) { in getEventConnection()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventThread.h32 sp<EventThreadConnection>(ResyncCallback, ISurfaceComposer::ConfigChanged));
40 status_t(const sp<android::EventThreadConnection> &));
41 MOCK_METHOD2(setVsyncRate, void(uint32_t, const sp<android::EventThreadConnection> &));
42 MOCK_METHOD1(requestNextVsync, void(const sp<android::EventThreadConnection> &));
43 MOCK_METHOD1(requestLatestConfig, void(const sp<android::EventThreadConnection> &));
DMockMessageQueue.h32 MOCK_METHOD1(setEventConnection, void(const sp<EventThreadConnection>& connection));
/frameworks/native/services/surfaceflinger/tests/unittests/
DSchedulerTest.cpp46 class MockEventThreadConnection : public android::EventThreadConnection {
49 : EventThreadConnection(eventThread, ResyncCallback(), in MockEventThreadConnection()
DRefreshRateSelectionTest.cpp135 .WillOnce(Return(new EventThreadConnection(eventThread.get(), ResyncCallback(), in setupScheduler()
140 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), ResyncCallback(), in setupScheduler()
DTransactionApplicationTest.cpp70 new EventThreadConnection(eventThread.get(), ResyncCallback(), in setupScheduler()
76 new EventThreadConnection(sfEventThread.get(), ResyncCallback(), in setupScheduler()
DEventThreadTest.cpp58 class MockEventThreadConnection : public EventThreadConnection {
62 : EventThreadConnection(eventThread, std::move(resyncCallback), configChanged) {} in MockEventThreadConnection()
DSetFrameRateTest.cpp171 .WillOnce(Return(new EventThreadConnection(eventThread.get(), ResyncCallback(), in setupScheduler()
176 .WillOnce(Return(new EventThreadConnection(sfEventThread.get(), ResyncCallback(), in setupScheduler()
DCompositionTest.cpp136 new EventThreadConnection(eventThread.get(), ResyncCallback(), in setupScheduler()
142 new EventThreadConnection(sfEventThread.get(), ResyncCallback(), in setupScheduler()
DDisplayTransactionTest.cpp205 .WillOnce(Return(new EventThreadConnection(mEventThread, ResyncCallback(), in injectMockScheduler()
210 .WillOnce(Return(new EventThreadConnection(mSFEventThread, ResyncCallback(), in injectMockScheduler()