Searched refs:EventThread (Results 1 - 11 of 11) sorted by relevance

/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp31 #include "EventThread.h"
41 EventThread *ev = (EventThread *)val.sival_ptr;
46 EventThread::EventThread(const sp<VSyncSource>& src, SurfaceFlinger& flinger, bool interceptVSyncs) function in class:android::EventThread
69 void EventThread::sendVsyncHintOff() {
75 void EventThread::setPhaseOffset(nsecs_t phaseOffset) {
80 void EventThread::sendVsyncHintOnLocked() {
93 void EventThread::onFirstRef() {
94 run("EventThread", PRIORITY_URGENT_DISPLA
[all...]
H A DEventThread.h58 class EventThread : public Thread, private VSyncSource::Callback { class in namespace:android
61 explicit Connection(const sp<EventThread>& eventThread);
75 sp<EventThread> const mEventThread;
81 EventThread(const sp<VSyncSource>& src, SurfaceFlinger& flinger, bool interceptVSyncs);
98 Vector< sp<EventThread::Connection> > waitForEvent(
H A DMessageQueue.h36 class EventThread;
83 sp<EventThread> mEventThread;
101 void setEventThread(const sp<EventThread>& events);
H A DMessageQueue.cpp30 #include "EventThread.h"
92 void MessageQueue::setEventThread(const sp<EventThread>& eventThread)
H A DSurfaceFlinger.h78 class EventThread;
195 // TODO: this should be made accessible only to EventThread
221 friend class EventThread;
616 sp<EventThread> mEventThread;
617 sp<EventThread> mSFEventThread;
618 sp<EventThread> mInjectorEventThread;
H A DAndroid.mk13 EventThread.cpp \
H A DSurfaceFlinger.cpp70 #include "EventThread.h"
542 // start the EventThread
545 mEventThread = new EventThread(vsyncSrc, *this, false);
548 mSFEventThread = new EventThread(sfVsyncSrc, *this, true);
551 // set EventThread and SFEventThread to SCHED_FIFO to minimize jitter
558 ALOGE("Couldn't set SCHED_FIFO for EventThread");
1001 mInjectorEventThread = new EventThread(mVSyncInjector, *this, false);
1125 // No explicit locking is needed here since EventThread holds a lock while calling this method
1227 // Defer EventThread notification until SF has updated mDisplays.
H A DSurfaceFlinger_hwc1.cpp70 #include "EventThread.h"
514 // start the EventThread
517 mEventThread = new EventThread(vsyncSrc, *this, false);
520 mSFEventThread = new EventThread(sfVsyncSrc, *this, true);
523 // set EventThread and SFEventThread to SCHED_FIFO to minimize jitter
530 ALOGE("Couldn't set SCHED_FIFO for EventThread");
909 mInjectorEventThread = new EventThread(mVSyncInjector, *this, false);
1063 // does not mean EventThread has finished initializing, so this
1065 ALOGW("WARNING: EventThread not started, ignoring hotplug");
1079 // Defer EventThread notificatio
[all...]
/frameworks/native/libs/vr/libvrflinger/
H A Depoll_event_dispatcher.h37 void EventThread();
H A Depoll_event_dispatcher.cpp35 thread_ = std::thread(&EpollEventDispatcher::EventThread, this);
87 void EpollEventDispatcher::EventThread() { function in class:android::dvr::EpollEventDispatcher
93 "EpollEventDispatcher::EventThread: Failed to set scheduler class: %s",
104 ALOGD_IF(TRACE, "EpollEventDispatcher::EventThread: num_events=%d",
110 "EpollEventDispatcher::EventThread: event %d: handler=%p events=0x%x",
133 "EpollEventDispatcher::EventThread: removing handler: fd=%d",
/frameworks/base/tests/touchlag/
H A Dtouchlag.cpp141 class EventThread : public Thread { class in class:TouchEvents
167 EventThread() : Thread(false), function in class:TouchEvents::EventThread
173 sp<EventThread> thread;
177 thread = new EventThread();
178 thread->run("EventThread", PRIORITY_URGENT_DISPLAY);

Completed in 764 milliseconds