Home | History | Annotate | Download | only in surfaceflinger

Lines Matching refs:EventThread

34 #include "EventThread.h"
44 EventThread::~EventThread() = default;
48 EventThread::EventThread(VSyncSource* src, ResyncWithRateLimitCallback resyncWithRateLimitCallback,
60 mThread = std::thread(&EventThread::threadMain, this);
71 ALOGE("Couldn't set SCHED_FIFO for EventThread");
77 EventThread::~EventThread() {
86 void EventThread::setPhaseOffset(nsecs_t phaseOffset) {
91 sp<BnDisplayEventConnection> EventThread::createEventConnection() const {
92 return new Connection(const_cast<EventThread*>(this));
95 status_t EventThread::registerDisplayEventConnection(
96 const sp<EventThread::Connection>& connection) {
103 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThread::Connection>& connection) {
107 void EventThread::setVsyncRate(uint32_t count, const sp<EventThread::Connection>& connection) {
118 void EventThread::requestNextVsync(const sp<EventThread::Connection>& connection) {
131 void EventThread::onScreenReleased() {
140 void EventThread::onScreenAcquired() {
149 void EventThread::onVSyncEvent(nsecs_t timestamp) {
158 void EventThread::onHotplugReceived(int type, bool connected) {
174 void EventThread::threadMain() NO_THREAD_SAFETY_ANALYSIS {
178 Vector<sp<EventThread::Connection> > signalConnections;
193 ALOGW("EventThread: dropping event (%08x) for connection %p", event.header.type,
207 Vector<sp<EventThread::Connection> > EventThread::waitForEventLocked(
209 Vector<sp<EventThread::Connection> > signalConnections;
342 void EventThread::enableVSyncLocked() {
354 void EventThread::disableVSyncLocked() {
362 void EventThread::dump(String8& result) const {
378 EventThread::Connection::Connection(EventThread* eventThread)
379 : count(-1), mEventThread(eventThread), mChannel(gui::BitTube::DefaultSize) {}
381 EventThread::Connection::~Connection() {
386 void EventThread::Connection::onFirstRef() {
391 status_t EventThread::Connection::stealReceiveChannel(gui::BitTube* outChannel) {
396 status_t EventThread::Connection::setVsyncRate(uint32_t count) {
401 void EventThread::Connection::requestNextVsync() {
405 status_t EventThread::Connection::postEvent(const DisplayEventReceiver::Event& event) {