Lines Matching defs:EventThread

32 #include "EventThread.h"
42 EventThread *ev = (EventThread *)val.sival_ptr;
47 EventThread::EventThread(const sp<VSyncSource>& src, SurfaceFlinger& flinger)
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;
346 void EventThread::enableVSyncLocked() {
359 void EventThread::disableVSyncLocked() {
367 void EventThread::dump(String8& result) const {
386 EventThread::Connection::Connection(
387 const sp<EventThread>& eventThread)
392 EventThread::Connection::~Connection() {
397 void EventThread::Connection::onFirstRef() {
402 sp<BitTube> EventThread::Connection::getDataChannel() const {
406 void EventThread::Connection::setVsyncRate(uint32_t count) {
410 void EventThread::Connection::requestNextVsync() {
414 status_t EventThread::Connection::postEvent(