Lines Matching refs:EventThread

31 #include "EventThread.h"
41 EventThread *ev = (EventThread *)val.sival_ptr;
46 EventThread::EventThread(const sp<VSyncSource>& src, SurfaceFlinger& flinger, bool interceptVSyncs)
69 void EventThread::sendVsyncHintOff() {
75 void EventThread::setPhaseOffset(nsecs_t phaseOffset) {
80 void EventThread::sendVsyncHintOnLocked() {
93 void EventThread::onFirstRef() {
94 run("EventThread", PRIORITY_URGENT_DISPLAY + PRIORITY_MORE_FAVORABLE);
97 sp<EventThread::Connection> EventThread::createEventConnection() const {
98 return new Connection(const_cast<EventThread*>(this));
101 status_t EventThread::registerDisplayEventConnection(
102 const sp<EventThread::Connection>& connection) {
109 void EventThread::removeDisplayEventConnection(
110 const wp<EventThread::Connection>& connection) {
115 void EventThread::setVsyncRate(uint32_t count,
116 const sp<EventThread::Connection>& connection) {
127 void EventThread::requestNextVsync(
128 const sp<EventThread::Connection>& connection) {
139 void EventThread::onScreenReleased() {
148 void EventThread::onScreenAcquired() {
157 void EventThread::onVSyncEvent(nsecs_t timestamp) {
166 void EventThread::onHotplugReceived(int type, bool connected) {
182 bool EventThread::threadLoop() {
184 Vector< sp<EventThread::Connection> > signalConnections;
199 ALOGW("EventThread: dropping event (%08x) for connection %p",
213 Vector< sp<EventThread::Connection> > EventThread::waitForEvent(
217 Vector< sp<EventThread::Connection> > signalConnections;
349 void EventThread::enableVSyncLocked() {
362 void EventThread::disableVSyncLocked() {
370 void EventThread::dump(String8& result) const {
389 EventThread::Connection::Connection(
390 const sp<EventThread>& eventThread)
395 EventThread::Connection::~Connection() {
400 void EventThread::Connection::onFirstRef() {
405 status_t EventThread::Connection::stealReceiveChannel(gui::BitTube* outChannel) {
410 status_t EventThread::Connection::setVsyncRate(uint32_t count) {
415 void EventThread::Connection::requestNextVsync() {
419 status_t EventThread::Connection::postEvent(