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); 73 virtual ~EventThreadConnection(); 96 virtual sp<EventThreadConnection> createEventConnection(ResyncCallback) const = 0; 114 const sp<EventThreadConnection>& connection) = 0; 115 virtual void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) = 0; 117 virtual void requestNextVsync(const sp<EventThreadConnection>& connection) = 0; 131 sp<EventThreadConnection> createEventConnection(ResyncCallback) const override; 133 status_t registerDisplayEventConnection(const sp<EventThreadConnection>& connection) override; 134 void setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) override; [all …]
|
D | EventThread.cpp | 64 std::string toString(const EventThreadConnection& connection) { in toString() 109 EventThreadConnection::EventThreadConnection(EventThread* eventThread, in EventThreadConnection() function in android::EventThreadConnection 115 EventThreadConnection::~EventThreadConnection() { in ~EventThreadConnection() 120 void EventThreadConnection::onFirstRef() { in onFirstRef() 125 status_t EventThreadConnection::stealReceiveChannel(gui::BitTube* outChannel) { in stealReceiveChannel() 130 status_t EventThreadConnection::setVsyncRate(uint32_t rate) { in setVsyncRate() 135 void EventThreadConnection::requestNextVsync() { in requestNextVsync() 140 status_t EventThreadConnection::postEvent(const DisplayEventReceiver::Event& event) { in postEvent() 206 sp<EventThreadConnection> EventThread::createEventConnection(ResyncCallback resyncCallback) const { in createEventConnection() 207 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 | 72 Connection(sp<ConnectionHandle> handle, sp<EventThreadConnection> eventConnection, in Connection() 79 sp<EventThreadConnection> eventConnection; 112 sp<EventThreadConnection> getEventConnection(const sp<ConnectionHandle>& handle); 195 sp<EventThreadConnection> createConnectionInternal(EventThread*, ResyncCallback&&);
|
D | MessageQueue.cpp | 105 void MessageQueue::setEventConnection(const sp<EventThreadConnection>& connection) { in setEventConnection()
|
D | Scheduler.cpp | 149 sp<EventThreadConnection> Scheduler::createConnectionInternal(EventThread* eventThread, in createConnectionInternal() 166 sp<EventThreadConnection> Scheduler::getEventConnection(const sp<ConnectionHandle>& handle) { in getEventConnection()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockEventThread.h | 31 MOCK_CONST_METHOD1(createEventConnection, sp<EventThreadConnection>(ResyncCallback)); 39 status_t(const sp<android::EventThreadConnection> &)); 40 MOCK_METHOD2(setVsyncRate, void(uint32_t, const sp<android::EventThreadConnection> &)); 41 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 | 36 sp<EventThreadConnection> eventThreadConnection = in addConnection() 37 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 { 59 : EventThreadConnection(eventThread, std::move(resyncCallback)) {} in MockEventThreadConnection()
|