Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DEventThread.h70 class EventThreadConnection : public BnDisplayEventConnection {
72 EventThreadConnection(EventThread*, ResyncCallback,
74 virtual ~EventThreadConnection();
98 virtual sp<EventThreadConnection> createEventConnection(
117 const sp<EventThreadConnection>& connection) = 0;
118 virtual void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) = 0;
120 virtual void requestNextVsync(const sp<EventThreadConnection>& connection) = 0;
134 sp<EventThreadConnection> createEventConnection(
137 status_t registerDisplayEventConnection(const sp<EventThreadConnection>& connection) override;
138 void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) override;
[all …]
DEventThread.cpp64 std::string toString(const EventThreadConnection& connection) { in toString()
113 EventThreadConnection::EventThreadConnection(EventThread* eventThread, in EventThreadConnection() function in android::EventThreadConnection
121 EventThreadConnection::~EventThreadConnection() { in ~EventThreadConnection()
126 void EventThreadConnection::onFirstRef() { in onFirstRef()
131 status_t EventThreadConnection::stealReceiveChannel(gui::BitTube* outChannel) { in stealReceiveChannel()
136 status_t EventThreadConnection::setVsyncRate(uint32_t rate) { in setVsyncRate()
141 void EventThreadConnection::requestNextVsync() { in requestNextVsync()
146 status_t EventThreadConnection::postEvent(const DisplayEventReceiver::Event& event) { in postEvent()
212 sp<EventThreadConnection> EventThread::createEventConnection( in createEventConnection()
214 return new EventThreadConnection(const_cast<EventThread*>(this), std::move(resyncCallback), in createEventConnection()
[all …]
DMessageQueue.h90 virtual void setEventConnection(const sp<EventThreadConnection>& connection) = 0;
119 sp<EventThreadConnection> mEvents;
130 void setEventConnection(const sp<EventThreadConnection>& connection) override;
DScheduler.h71 Connection(sp<ConnectionHandle> handle, sp<EventThreadConnection> eventConnection, in Connection()
78 sp<EventThreadConnection> eventConnection;
101 sp<EventThreadConnection> getEventConnection(const sp<ConnectionHandle>& handle);
192 sp<EventThreadConnection> createConnectionInternal(EventThread*,
DMessageQueue.cpp106 void MessageQueue::setEventConnection(const sp<EventThreadConnection>& connection) { in setEventConnection()
DScheduler.cpp164 sp<EventThreadConnection> Scheduler::createConnectionInternal( in createConnectionInternal()
181 sp<EventThreadConnection> Scheduler::getEventConnection(const sp<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> &));
DMockMessageQueue.h34 MOCK_METHOD1(setEventConnection, void(const sp<EventThreadConnection>& connection));
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableScheduler.h37 sp<EventThreadConnection> eventThreadConnection = in addConnection()
38 new EventThreadConnection(eventThread.get(), ResyncCallback(), in addConnection()
DSchedulerTest.cpp25 class MockEventThreadConnection : public android::EventThreadConnection {
28 : EventThreadConnection(eventThread, ResyncCallback(), in MockEventThreadConnection()
DEventThreadTest.cpp55 class MockEventThreadConnection : public EventThreadConnection {
60 : EventThreadConnection(eventThread, std::move(resyncCallback), configChanged) {} in MockEventThreadConnection()