Home
last modified time | relevance | path

Searched refs:EventThread (Results 1 – 18 of 18) sorted by relevance

/frameworks/native/services/surfaceflinger/
DEventThread.cpp44 EventThread::~EventThread() = default;
48 EventThread::EventThread(VSyncSource* src, ResyncWithRateLimitCallback resyncWithRateLimitCallback, in EventThread() function in android::impl::EventThread
60 mThread = std::thread(&EventThread::threadMain, this); in EventThread()
77 EventThread::~EventThread() { in ~EventThread()
86 void EventThread::setPhaseOffset(nsecs_t phaseOffset) { in setPhaseOffset()
91 sp<BnDisplayEventConnection> EventThread::createEventConnection() const { in createEventConnection()
92 return new Connection(const_cast<EventThread*>(this)); in createEventConnection()
95 status_t EventThread::registerDisplayEventConnection( in registerDisplayEventConnection()
96 const sp<EventThread::Connection>& connection) { in registerDisplayEventConnection()
103 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThread::Connection>& connection)… in removeDisplayEventConnectionLocked()
[all …]
DEventThread.h60 class EventThread {
62 virtual ~EventThread();
82 class EventThread : public android::EventThread, private VSyncSource::Callback {
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,
DMessageQueue.h37 class EventThread; variable
88 virtual void setEventThread(EventThread* events) = 0;
116 android::EventThread* mEventThread;
127 void setEventThread(android::EventThread* events) override;
DVSyncModulator.h59 void setEventThread(EventThread* eventThread) { in setEventThread()
129 EventThread* mEventThread = nullptr;
DSurfaceFlinger.h94 class EventThread; variable
104 class EventThread; variable
349 friend class impl::EventThread;
790 std::unique_ptr<EventThread> mEventThread;
791 std::unique_ptr<EventThread> mSFEventThread;
792 std::unique_ptr<EventThread> mInjectorEventThread;
DMessageQueue.cpp88 void MessageQueue::setEventThread(android::EventThread* eventThread) { in setEventThread()
DAndroid.bp104 "EventThread.cpp",
DSurfaceFlinger.cpp649 mEventThread = std::make_unique<impl::EventThread>(mEventThreadSource.get(), in init()
651 impl::EventThread::InterceptVSyncsCallback(), in init()
658 std::make_unique<impl::EventThread>(mSfEventThreadSource.get(), in init()
1156 impl::EventThread>(mVSyncInjector.get(), in enableVSyncInjections()
1158 impl::EventThread::InterceptVSyncsCallback(), in enableVSyncInjections()
/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockEventThread.cpp23 EventThread::EventThread() = default;
24 EventThread::~EventThread() = default;
DMockEventThread.h26 class EventThread : public android::EventThread {
28 EventThread();
29 ~EventThread() override;
DMockMessageQueue.h32 MOCK_METHOD1(setEventThread, void(android::EventThread*));
/frameworks/native/services/surfaceflinger/tests/unittests/
DEventThreadTest.cpp50 class MockEventThreadConnection : public android::impl::EventThread::Connection {
52 explicit MockEventThreadConnection(android::impl::EventThread* eventThread) in MockEventThreadConnection()
53 : android::impl::EventThread::Connection(eventThread) {} in MockEventThreadConnection()
84 std::unique_ptr<android::impl::EventThread> mThread;
114 std::make_unique<android::impl::EventThread>(&mVSyncSource, in createThread()
DDisplayTransactionTest.cpp112 mock::EventThread* mEventThread = new mock::EventThread();
2443 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test); in setupCallExpectations()
2458 Case::EventThread::setupEventAndEventControlThreadNoCallExpectations(test); in setupCallExpectations()
2472 Case::EventThread::setupReleaseAndDisableVsyncCallExpectations(test); in setupCallExpectations()
2485 Case::EventThread::setupEventAndEventControlThreadNoCallExpectations(test); in setupCallExpectations()
2498 Case::EventThread::setupEventAndEventControlThreadNoCallExpectations(test); in setupCallExpectations()
2507 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test); in setupCallExpectations()
2516 Case::EventThread::setupEventAndEventControlThreadNoCallExpectations(test); in setupCallExpectations()
2525 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test); in setupCallExpectations()
2534 Case::EventThread::setupReleaseAndDisableVsyncCallExpectations(test); in setupCallExpectations()
[all …]
DTestableSurfaceFlinger.h24 class EventThread; variable
/frameworks/base/tests/touchlag/
Dtouchlag.cpp141 class EventThread : public Thread { class in TouchEvents
167 EventThread() : Thread(false), in EventThread() function in TouchEvents::EventThread
173 sp<EventThread> thread;
177 thread = new EventThread(); in TouchEvents()
/frameworks/native/libs/vr/libvrflinger/
Depoll_event_dispatcher.cpp35 thread_ = std::thread(&EpollEventDispatcher::EventThread, this); in EpollEventDispatcher()
87 void EpollEventDispatcher::EventThread() { in EventThread() function in android::dvr::EpollEventDispatcher
Depoll_event_dispatcher.h37 void EventThread();
/frameworks/base/cmds/incident_helper/testdata/
Dps.txt4 … 499 534 1 73940 22024 futex_wait_queue_me 0 S 42 -9 2 1 fg 00:00:00 EventThread