Home
last modified time | relevance | path

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

12

/aosp12/frameworks/native/services/surfaceflinger/Scheduler/
H A DEventThread.cpp213 EventThread::~EventThread() = default;
217 EventThread::EventThread(std::unique_ptr<VSyncSource> vsyncSource, in EventThread() function in android::impl::EventThread
254 EventThread::~EventThread() { in ~EventThread()
271 sp<EventThreadConnection> EventThread::createEventConnection( in createEventConnection()
333 void EventThread::onScreenReleased() { in onScreenReleased()
343 void EventThread::onScreenAcquired() { in onScreenAcquired()
378 void EventThread::onModeChanged(DisplayModePtr mode) { in onModeChanged()
397 size_t EventThread::getEventThreadConnectionCount() { in getEventThreadConnectionCount()
402 void EventThread::threadMain(std::unique_lock<std::mutex>& lock) { in threadMain()
594 void EventThread::dump(std::string& result) const { in dump()
[all …]
H A DEventThread.h40 class EventThread; variable
85 EventThreadConnection(EventThread*, uid_t callingUid, ResyncCallback,
104 EventThread* const mEventThread;
110 class EventThread {
112 virtual ~EventThread();
150 class EventThread : public android::EventThread, private VSyncSource::Callback {
156 EventThread(std::unique_ptr<VSyncSource>, frametimeline::TokenManager*, InterceptVSyncsCallback,
158 ~EventThread();
H A DScheduler.cpp232 impl::EventThread::ThrottleVsyncCallback Scheduler::makeThrottleVsyncCallback() const { in makeThrottleVsyncCallback()
243 impl::EventThread::GetVsyncPeriodFunction Scheduler::makeGetVsyncPeriodFunction() const { in makeGetVsyncPeriodFunction()
267 impl::EventThread::InterceptVSyncsCallback interceptCallback) { in createConnection()
309 android::EventThread* thread; in onHotplugReceived()
320 android::EventThread* thread; in onScreenAcquired()
331 android::EventThread* thread; in onScreenReleased()
354 android::EventThread* thread; in onFrameRateOverridesChanged()
406 android::EventThread* thread; in onNonPrimaryDisplayModeChanged()
422 android::EventThread* thread; in dump()
433 android::EventThread* thread; in setDuration()
[all …]
H A DScheduler.h82 impl::EventThread::InterceptVSyncsCallback);
248 ConnectionHandle createConnection(std::unique_ptr<EventThread>);
250 EventThread*, ISurfaceComposer::EventRegistrationFlags eventRegistration = {});
276 impl::EventThread::ThrottleVsyncCallback makeThrottleVsyncCallback() const
278 impl::EventThread::GetVsyncPeriodFunction makeGetVsyncPeriodFunction() const;
289 std::unique_ptr<EventThread> thread;
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/mock/
H A DMockEventThread.cpp22 EventThread::EventThread() = default;
23 EventThread::~EventThread() = default;
H A DMockEventThread.h25 class EventThread : public android::EventThread {
27 EventThread();
28 ~EventThread() override;
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/
H A DSurfaceFlinger_SetPowerModeInternalTest.cpp136 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test); in setupCallExpectations()
152 Case::EventThread::setupVsyncAndEventThreadNoCallExpectations(test); in setupCallExpectations()
165 Case::EventThread::setupReleaseAndDisableVsyncCallExpectations(test); in setupCallExpectations()
178 Case::EventThread::setupVsyncAndEventThreadNoCallExpectations(test); in setupCallExpectations()
190 Case::EventThread::setupVsyncAndEventThreadNoCallExpectations(test); in setupCallExpectations()
199 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test); in setupCallExpectations()
208 Case::EventThread::setupVsyncAndEventThreadNoCallExpectations(test); in setupCallExpectations()
217 Case::EventThread::setupAcquireAndEnableVsyncCallExpectations(test); in setupCallExpectations()
227 Case::EventThread::setupReleaseAndDisableVsyncCallExpectations(test); in setupCallExpectations()
236 Case::EventThread::setupVsyncAndEventThreadNoCallExpectations(test); in setupCallExpectations()
[all …]
H A DTransactionApplicationTest.cpp60 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
61 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
86 std::unique_ptr<mock::EventThread> mEventThread = std::make_unique<mock::EventThread>();
H A DSchedulerTest.cpp43 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection()
82 mock::EventThread* mEventThread;
89 auto eventThread = std::make_unique<mock::EventThread>(); in SchedulerTest()
H A DGameModeTest.cpp62 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
63 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
H A DTransactionFrameTracerTest.cpp70 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
71 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
H A DDisplayTransactionTest.cpp80 std::unique_ptr<EventThread>(mEventThread), in injectMockScheduler()
81 std::unique_ptr<EventThread>(mSFEventThread), &mSchedulerCallback); in injectMockScheduler()
H A DTunnelModeEnabledReporterTest.cpp109 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
110 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
H A DFpsReporterTest.cpp123 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
124 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
H A DRefreshRateSelectionTest.cpp124 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
125 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
H A DTestableScheduler.h50 ConnectionHandle createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
H A DEventThreadTest.cpp67 MockEventThreadConnection(impl::EventThread* eventThread, uid_t callingUid, in MockEventThreadConnection()
117 std::unique_ptr<impl::EventThread> mThread;
173 mThread = std::make_unique<impl::EventThread>(std::move(source), in createThread()
H A DDisplayTransactionTestHelpers.h127 mock::EventThread* mEventThread = new mock::EventThread;
128 mock::EventThread* mSFEventThread = new mock::EventThread;
H A DTestableSurfaceFlinger.h50 class EventThread; variable
207 std::unique_ptr<EventThread> appEventThread,
208 std::unique_ptr<EventThread> sfEventThread,
H A DTransactionSurfaceFrameTest.cpp70 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
71 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
H A DSetFrameRateTest.cpp161 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
162 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
H A DSurfaceFlinger_HandleTransactionLockedTest.cpp31 static void expectHotplugReceived(mock::EventThread*);
71 void HandleTransactionLockedTest::expectHotplugReceived(mock::EventThread* eventThread) { in expectHotplugReceived()
/aosp12/frameworks/native/libs/vr/libvrflinger/
H A Depoll_event_dispatcher.cpp35 thread_ = std::thread(&EpollEventDispatcher::EventThread, this); in EpollEventDispatcher()
87 void EpollEventDispatcher::EventThread() { in EventThread() function in android::dvr::EpollEventDispatcher
H A Depoll_event_dispatcher.h37 void EventThread();
/aosp12/frameworks/base/cmds/incident_helper/testdata/
H A Dps.txt4 … 499 534 1 73940 22024 futex_wait_queue_me 0 S 42 -9 2 1 fg 00:00:00 EventThread

12