Lines Matching refs:EventThread

32 #include "EventThread.h"
42 EventThread *ev = (EventThread *)val.sival_ptr;
47 EventThread::EventThread(const sp<VSyncSource>& src)
68 void EventThread::sendVsyncHintOff() {
74 void EventThread::sendVsyncHintOnLocked() {
87 void EventThread::onFirstRef() {
88 run("EventThread", PRIORITY_URGENT_DISPLAY + PRIORITY_MORE_FAVORABLE);
91 sp<EventThread::Connection> 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::removeDisplayEventConnection(
104 const wp<EventThread::Connection>& connection) {
109 void EventThread::setVsyncRate(uint32_t count,
110 const sp<EventThread::Connection>& connection) {
121 void EventThread::requestNextVsync(
122 const sp<EventThread::Connection>& connection) {
130 void EventThread::onScreenReleased() {
139 void EventThread::onScreenAcquired() {
148 void EventThread::onVSyncEvent(nsecs_t timestamp) {
157 void EventThread::onHotplugReceived(int type, bool connected) {
173 bool EventThread::threadLoop() {
175 Vector< sp<EventThread::Connection> > signalConnections;
190 ALOGW("EventThread: dropping event (%08x) for connection %p",
204 Vector< sp<EventThread::Connection> > EventThread::waitForEvent(
208 Vector< sp<EventThread::Connection> > signalConnections;
337 void EventThread::enableVSyncLocked() {
350 void EventThread::disableVSyncLocked() {
358 void EventThread::dump(String8& result) const {
377 EventThread::Connection::Connection(
378 const sp<EventThread>& eventThread)
383 EventThread::Connection::~Connection() {
388 void EventThread::Connection::onFirstRef() {
393 sp<BitTube> EventThread::Connection::getDataChannel() const {
397 void EventThread::Connection::setVsyncRate(uint32_t count) {
401 void EventThread::Connection::requestNextVsync() {
405 status_t EventThread::Connection::postEvent(