/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
H A D | MockEventThread.cpp | 23 EventThread::EventThread() = default; 24 EventThread::~EventThread() = default;
|
H A D | MockEventThread.h | 21 #include "EventThread.h" 26 class EventThread : public android::EventThread { class in namespace:android::mock 28 EventThread(); 29 ~EventThread() override;
|
H A D | MockMessageQueue.h | 32 MOCK_METHOD1(setEventThread, void(android::EventThread*));
|
/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.cpp | 34 #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 D | EventThread.h | 60 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 D | MessageQueue.h | 37 class EventThread; 88 virtual void setEventThread(EventThread* events) = 0; 116 android::EventThread* mEventThread; 127 void setEventThread(android::EventThread* events) override;
|
H A D | VSyncModulator.h | 59 void setEventThread(EventThread* eventThread) { 129 EventThread* mEventThread = nullptr;
|
H A D | MessageQueue.cpp | 30 #include "EventThread.h" 88 void MessageQueue::setEventThread(android::EventThread* eventThread) {
|
H A D | SurfaceFlinger.h | 58 #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 D | SurfaceFlinger.cpp | 73 #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 D | epoll_event_dispatcher.h | 37 void EventThread();
|
H A D | epoll_event_dispatcher.cpp | 35 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 D | touchlag.cpp | 141 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 D | EventThreadTest.cpp | 28 #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 D | DisplayTransactionTest.cpp | 112 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 D | TestableSurfaceFlinger.h | 24 class EventThread;
|