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

/frameworks/native/services/surfaceflinger/tests/unittests/mock/
H A DMockEventThread.cpp23 EventThread::EventThread() = default;
24 EventThread::~EventThread() = default;
H A DMockEventThread.h21 #include "EventThread.h"
26 class EventThread : public android::EventThread { class in namespace:android::mock
28 EventThread();
29 ~EventThread() override;
H A DMockMessageQueue.h32 MOCK_METHOD1(setEventThread, void(android::EventThread*));
/frameworks/native/services/surfaceflinger/
H A DEventThread.cpp34 #include "EventThread.h"
44 EventThread::~EventThread() = default;
48 EventThread::EventThread(VSyncSource* src, ResyncWithRateLimitCallback resyncWithRateLimitCallback, function in class:android::impl::EventThread
60 mThread = std::thread(&EventThread::threadMain, this);
71 ALOGE("Couldn't set SCHED_FIFO for EventThread");
77 EventThread::~EventThread() {
86 void EventThread
[all...]
H A DEventThread.h60 class EventThread { class in namespace:android
62 virtual ~EventThread();
82 class EventThread : public android::EventThread, private VSyncSource::Callback { class in namespace:android::impl
85 explicit Connection(EventThread* eventThread);
100 EventThread* const mEventThread;
108 EventThread(VSyncSource* src, ResyncWithRateLimitCallback resyncWithRateLimitCallback,
110 ~EventThread();
135 Vector<sp<EventThread::Connection>> waitForEventLocked(std::unique_lock<std::mutex>* lock,
H A DMessageQueue.h37 class EventThread;
88 virtual void setEventThread(EventThread* events) = 0;
116 android::EventThread* mEventThread;
127 void setEventThread(android::EventThread* events) override;
H A DVSyncModulator.h59 void setEventThread(EventThread* eventThread) {
129 EventThread* mEventThread = nullptr;
H A DMessageQueue.cpp30 #include "EventThread.h"
88 void MessageQueue::setEventThread(android::EventThread* eventThread) {
H A DSurfaceFlinger.h58 #include "EventThread.h"
94 class EventThread;
104 class EventThread;
327 // TODO: this should be made accessible only to EventThread
349 friend class impl::EventThread;
790 std::unique_ptr<EventThread> mEventThread;
791 std::unique_ptr<EventThread> mSFEventThread;
792 std::unique_ptr<EventThread> mInjectorEventThread;
H A DSurfaceFlinger.cpp73 #include "EventThread.h"
645 // start the EventThread
649 mEventThread = std::make_unique<impl::EventThread>(mEventThreadSource.get(),
651 impl::EventThread::InterceptVSyncsCallback(),
658 std::make_unique<impl::EventThread>(mSfEventThreadSource.get(),
1156 impl::EventThread>(mVSyncInjector.get(),
1158 impl::EventThread::InterceptVSyncsCallback(),
1316 // No explicit locking is needed here since EventThread holds a lock while calling this method
/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 > 1, "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);
/frameworks/native/services/surfaceflinger/tests/unittests/
H A DEventThreadTest.cpp28 #include "EventThread.h"
50 class MockEventThreadConnection : public android::impl::EventThread::Connection {
52 explicit MockEventThreadConnection(android::impl::EventThread* eventThread)
53 : android::impl::EventThread::Connection(eventThread) {}
84 std::unique_ptr<android::impl::EventThread> mThread;
114 std::make_unique<android::impl::EventThread>(&mVSyncSource,
201 // EventThread should immediately request a resync.
204 // EventThread should enable vsync callbacks, and set a callback interface
223 // EventThread should also detect that at this point that it does not need
244 // EventThread shoul
[all...]
H A DDisplayTransactionTest.cpp112 mock::EventThread* mEventThread = new mock::EventThread();
2443 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test);
2458 Case::EventThread::setupEventAndEventControlThreadNoCallExpectations(test);
2472 Case::EventThread::setupReleaseAndDisableVsyncCallExpectations(test);
2485 Case::EventThread::setupEventAndEventControlThreadNoCallExpectations(test);
2498 Case::EventThread::setupEventAndEventControlThreadNoCallExpectations(test);
2507 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test);
2516 Case::EventThread::setupEventAndEventControlThreadNoCallExpectations(test);
2525 Case::EventThread
[all...]
H A DTestableSurfaceFlinger.h24 class EventThread;

Completed in 109 milliseconds