/aosp12/frameworks/native/services/surfaceflinger/Scheduler/ |
H A D | EventThread.cpp | 213 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 D | EventThread.h | 40 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 D | Scheduler.cpp | 232 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 D | Scheduler.h | 82 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 D | MockEventThread.cpp | 22 EventThread::EventThread() = default; 23 EventThread::~EventThread() = default;
|
H A D | MockEventThread.h | 25 class EventThread : public android::EventThread { 27 EventThread(); 28 ~EventThread() override;
|
/aosp12/frameworks/native/services/surfaceflinger/tests/unittests/ |
H A D | SurfaceFlinger_SetPowerModeInternalTest.cpp | 136 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 D | TransactionApplicationTest.cpp | 60 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 D | SchedulerTest.cpp | 43 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection() 82 mock::EventThread* mEventThread; 89 auto eventThread = std::make_unique<mock::EventThread>(); in SchedulerTest()
|
H A D | GameModeTest.cpp | 62 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 63 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
H A D | TransactionFrameTracerTest.cpp | 70 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 71 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
H A D | DisplayTransactionTest.cpp | 80 std::unique_ptr<EventThread>(mEventThread), in injectMockScheduler() 81 std::unique_ptr<EventThread>(mSFEventThread), &mSchedulerCallback); in injectMockScheduler()
|
H A D | TunnelModeEnabledReporterTest.cpp | 109 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 110 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
H A D | FpsReporterTest.cpp | 123 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 124 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
H A D | RefreshRateSelectionTest.cpp | 124 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 125 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
H A D | TestableScheduler.h | 50 ConnectionHandle createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
|
H A D | EventThreadTest.cpp | 67 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 D | DisplayTransactionTestHelpers.h | 127 mock::EventThread* mEventThread = new mock::EventThread; 128 mock::EventThread* mSFEventThread = new mock::EventThread;
|
H A D | TestableSurfaceFlinger.h | 50 class EventThread; variable 207 std::unique_ptr<EventThread> appEventThread, 208 std::unique_ptr<EventThread> sfEventThread,
|
H A D | TransactionSurfaceFrameTest.cpp | 70 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 71 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
H A D | SetFrameRateTest.cpp | 161 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 162 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
H A D | SurfaceFlinger_HandleTransactionLockedTest.cpp | 31 static void expectHotplugReceived(mock::EventThread*); 71 void HandleTransactionLockedTest::expectHotplugReceived(mock::EventThread* eventThread) { in expectHotplugReceived()
|
/aosp12/frameworks/native/libs/vr/libvrflinger/ |
H A D | epoll_event_dispatcher.cpp | 35 thread_ = std::thread(&EpollEventDispatcher::EventThread, this); in EpollEventDispatcher() 87 void EpollEventDispatcher::EventThread() { in EventThread() function in android::dvr::EpollEventDispatcher
|
H A D | epoll_event_dispatcher.h | 37 void EventThread();
|
/aosp12/frameworks/base/cmds/incident_helper/testdata/ |
H A D | ps.txt | 4 … 499 534 1 73940 22024 futex_wait_queue_me 0 S 42 -9 2 1 fg 00:00:00 EventThread
|