Searched refs:EventThreadConnection (Results 1 – 11 of 11) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | EventThread.h | 70 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 …]
|
D | EventThread.cpp | 64 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 …]
|
D | MessageQueue.h | 90 virtual void setEventConnection(const sp<EventThreadConnection>& connection) = 0; 119 sp<EventThreadConnection> mEvents; 130 void setEventConnection(const sp<EventThreadConnection>& connection) override;
|
D | Scheduler.h | 71 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*,
|
D | MessageQueue.cpp | 106 void MessageQueue::setEventConnection(const sp<EventThreadConnection>& connection) { in setEventConnection()
|
D | Scheduler.cpp | 164 sp<EventThreadConnection> Scheduler::createConnectionInternal( in createConnectionInternal() 181 sp<EventThreadConnection> Scheduler::getEventConnection(const sp<ConnectionHandle>& handle) { in getEventConnection()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockEventThread.h | 32 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> &));
|
D | MockMessageQueue.h | 34 MOCK_METHOD1(setEventConnection, void(const sp<EventThreadConnection>& connection));
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | TestableScheduler.h | 37 sp<EventThreadConnection> eventThreadConnection = in addConnection() 38 new EventThreadConnection(eventThread.get(), ResyncCallback(), in addConnection()
|
D | SchedulerTest.cpp | 25 class MockEventThreadConnection : public android::EventThreadConnection { 28 : EventThreadConnection(eventThread, ResyncCallback(), in MockEventThreadConnection()
|
D | EventThreadTest.cpp | 55 class MockEventThreadConnection : public EventThreadConnection { 60 : EventThreadConnection(eventThread, std::move(resyncCallback), configChanged) {} in MockEventThreadConnection()
|