Lines Matching refs:EventThreadConnection
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;
135 void requestNextVsync(const sp<EventThreadConnection>& connection) override;
154 using DisplayEventConsumers = std::vector<sp<EventThreadConnection>>;
163 const sp<EventThreadConnection>& connection) const REQUIRES(mMutex);
167 void removeDisplayEventConnectionLocked(const wp<EventThreadConnection>& connection)
184 std::vector<wp<EventThreadConnection>> mDisplayEventConnections GUARDED_BY(mMutex);