/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockEventThread.cpp | 22 EventThread::EventThread() = default; 23 EventThread::~EventThread() = default;
|
D | MockEventThread.h | 25 class EventThread : public android::EventThread { 27 EventThread(); 28 ~EventThread() override;
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | EventThread.cpp | 155 EventThread* eventThread, uid_t callingUid, ResyncCallback resyncCallback, in EventThreadConnection() 213 EventThread::~EventThread() = default; 217 EventThread::EventThread(std::unique_ptr<VSyncSource> vsyncSource, in EventThread() function in android::impl::EventThread 254 EventThread::~EventThread() { in ~EventThread() 265 void EventThread::setDuration(std::chrono::nanoseconds workDuration, in setDuration() 271 sp<EventThreadConnection> EventThread::createEventConnection( in createEventConnection() 274 return new EventThreadConnection(const_cast<EventThread*>(this), in createEventConnection() 279 status_t EventThread::registerDisplayEventConnection(const sp<EventThreadConnection>& connection) { in registerDisplayEventConnection() 296 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThreadConnection>& connection) { in removeDisplayEventConnectionLocked() 304 void EventThread::setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) { in setVsyncRate() [all …]
|
D | EventThread.h | 40 class EventThread; variable 85 EventThreadConnection(EventThread*, uid_t callingUid, ResyncCallback, 104 EventThread* const mEventThread; 110 class EventThread { 112 virtual ~EventThread(); 151 class EventThread : public android::EventThread, private VSyncSource::Callback { 157 EventThread(std::unique_ptr<VSyncSource>, frametimeline::TokenManager*, InterceptVSyncsCallback, 159 ~EventThread();
|
D | Scheduler.cpp | 239 impl::EventThread::ThrottleVsyncCallback Scheduler::makeThrottleVsyncCallback() const { in makeThrottleVsyncCallback() 249 impl::EventThread::GetVsyncPeriodFunction Scheduler::makeGetVsyncPeriodFunction() const { in makeGetVsyncPeriodFunction() 269 impl::EventThread::InterceptVSyncsCallback interceptCallback) { in createConnection() 273 auto eventThread = std::make_unique<impl::EventThread>(std::move(vsyncSource), tokenManager, in createConnection() 280 Scheduler::ConnectionHandle Scheduler::createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection() 292 EventThread* eventThread, ISurfaceComposer::EventRegistrationFlags eventRegistration) { in createConnectionInternal() 311 android::EventThread* thread; in onHotplugReceived() 322 android::EventThread* thread; in onScreenAcquired() 332 android::EventThread* thread; in onScreenReleased() 354 android::EventThread* thread; in onFrameRateOverridesChanged() [all …]
|
D | Scheduler.h | 82 impl::EventThread::InterceptVSyncsCallback); 216 ConnectionHandle createConnection(std::unique_ptr<EventThread>); 218 EventThread*, ISurfaceComposer::EventRegistrationFlags eventRegistration = {}); 244 impl::EventThread::ThrottleVsyncCallback makeThrottleVsyncCallback() const; 245 impl::EventThread::GetVsyncPeriodFunction makeGetVsyncPeriodFunction() const; 250 std::unique_ptr<EventThread> thread;
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
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 …]
|
D | TransactionApplicationTest.cpp | 60 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 61 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 85 std::unique_ptr<mock::EventThread> mEventThread = std::make_unique<mock::EventThread>();
|
D | SchedulerTest.cpp | 43 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection() 79 mock::EventThread* mEventThread; 86 auto eventThread = std::make_unique<mock::EventThread>(); in SchedulerTest()
|
D | TransactionFrameTracerTest.cpp | 70 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 71 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
D | GameModeTest.cpp | 62 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 63 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
D | DisplayTransactionTest.cpp | 80 std::unique_ptr<EventThread>(mEventThread), in injectMockScheduler() 81 std::unique_ptr<EventThread>(mSFEventThread), &mSchedulerCallback); in injectMockScheduler()
|
D | TunnelModeEnabledReporterTest.cpp | 109 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 110 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
D | FpsReporterTest.cpp | 123 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 124 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
D | TestableScheduler.h | 47 ConnectionHandle createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
|
D | RefreshRateSelectionTest.cpp | 124 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 125 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
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()
|
D | DisplayTransactionTestHelpers.h | 127 mock::EventThread* mEventThread = new mock::EventThread; 128 mock::EventThread* mSFEventThread = new mock::EventThread;
|
D | TestableSurfaceFlinger.h | 50 class EventThread; variable 207 std::unique_ptr<EventThread> appEventThread, 208 std::unique_ptr<EventThread> sfEventThread,
|
D | TransactionSurfaceFrameTest.cpp | 70 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 71 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
D | SurfaceFlinger_HandleTransactionLockedTest.cpp | 31 static void expectHotplugReceived(mock::EventThread*); 71 void HandleTransactionLockedTest::expectHotplugReceived(mock::EventThread* eventThread) { in expectHotplugReceived()
|
D | SetFrameRateTest.cpp | 161 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 162 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
/frameworks/native/libs/vr/libvrflinger/ |
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
|
D | epoll_event_dispatcher.h | 37 void EventThread();
|
/frameworks/base/cmds/incident_helper/testdata/ |
D | ps.txt | 4 … 499 534 1 73940 22024 futex_wait_queue_me 0 S 42 -9 2 1 fg 00:00:00 EventThread
|