/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 | 161 EventThread* eventThread, uid_t callingUid, ResyncCallback resyncCallback, in EventThreadConnection() 232 EventThread::~EventThread() = default; 236 EventThread::EventThread(std::unique_ptr<VSyncSource> vsyncSource, in EventThread() function in android::impl::EventThread 273 EventThread::~EventThread() { in ~EventThread() 284 void EventThread::setDuration(std::chrono::nanoseconds workDuration, in setDuration() 290 sp<EventThreadConnection> EventThread::createEventConnection( in createEventConnection() 293 return new EventThreadConnection(const_cast<EventThread*>(this), in createEventConnection() 298 status_t EventThread::registerDisplayEventConnection(const sp<EventThreadConnection>& connection) { in registerDisplayEventConnection() 315 void EventThread::removeDisplayEventConnectionLocked(const wp<EventThreadConnection>& connection) { in removeDisplayEventConnectionLocked() 323 void EventThread::setVsyncRate(uint32_t rate, const sp<EventThreadConnection>& connection) { in setVsyncRate() [all …]
|
D | EventThread.h | 40 class EventThread; variable 94 EventThreadConnection(EventThread*, uid_t callingUid, ResyncCallback, 114 EventThread* const mEventThread; 121 class EventThread { 123 virtual ~EventThread(); 163 class EventThread : public android::EventThread, private VSyncSource::Callback { 169 EventThread(std::unique_ptr<VSyncSource>, frametimeline::TokenManager*, InterceptVSyncsCallback, 171 ~EventThread();
|
D | Scheduler.cpp | 164 impl::EventThread::ThrottleVsyncCallback Scheduler::makeThrottleVsyncCallback() const { in makeThrottleVsyncCallback() 172 impl::EventThread::GetVsyncPeriodFunction Scheduler::makeGetVsyncPeriodFunction() const { in makeGetVsyncPeriodFunction() 194 impl::EventThread::InterceptVSyncsCallback interceptCallback) { in createConnection() 198 auto eventThread = std::make_unique<impl::EventThread>(std::move(vsyncSource), tokenManager, in createConnection() 205 ConnectionHandle Scheduler::createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection() 217 EventThread* eventThread, ISurfaceComposer::EventRegistrationFlags eventRegistration) { in createConnectionInternal() 236 android::EventThread* thread; in onHotplugReceived() 247 android::EventThread* thread; in onScreenAcquired() 258 android::EventThread* thread; in onScreenReleased() 276 android::EventThread* thread; in onFrameRateOverridesChanged() [all …]
|
D | Scheduler.h | 131 impl::EventThread::InterceptVSyncsCallback); 249 ConnectionHandle createConnection(std::unique_ptr<EventThread>); 251 EventThread*, ISurfaceComposer::EventRegistrationFlags eventRegistration = {}); 277 impl::EventThread::ThrottleVsyncCallback makeThrottleVsyncCallback() const 279 impl::EventThread::GetVsyncPeriodFunction makeGetVsyncPeriodFunction() const; 290 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 | LayerTestUtils.cpp | 51 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 52 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
D | DisplayTransactionTest.cpp | 79 std::unique_ptr<EventThread>(mEventThread), in injectMockScheduler() 80 std::unique_ptr<EventThread>(mSFEventThread), in injectMockScheduler()
|
D | TransactionFrameTracerTest.cpp | 72 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 73 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 | TunnelModeEnabledReporterTest.cpp | 106 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 107 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
D | RefreshRateSelectionTest.cpp | 115 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 116 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
D | SurfaceFlinger_PowerHintTest.cpp | 104 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 105 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
D | FpsReporterTest.cpp | 126 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 127 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 61 mock::EventThread* mAppEventThread; 81 auto eventThread = std::make_unique<mock::EventThread>(); in setupScheduler() 83 auto sfEventThread = std::make_unique<mock::EventThread>(); in setupScheduler()
|
D | SchedulerTest.cpp | 41 using MockEventThread = android::mock::EventThread; 50 explicit MockEventThreadConnection(EventThread* eventThread) in MockEventThreadConnection()
|
D | TestableScheduler.h | 57 ConnectionHandle createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection()
|
D | DisplayTransactionTestHelpers.h | 132 mock::EventThread* mEventThread = new mock::EventThread; 133 mock::EventThread* mSFEventThread = new mock::EventThread;
|
/frameworks/native/services/surfaceflinger/Tracing/tools/ |
D | LayerTraceGenerator.cpp | 194 mock::EventThread* mEventThread = new testing::NiceMock<mock::EventThread>(); in generate() 195 mock::EventThread* mSFEventThread = new testing::NiceMock<mock::EventThread>(); in generate() 198 std::unique_ptr<EventThread>(mEventThread), in generate() 199 std::unique_ptr<EventThread>(mSFEventThread), in generate()
|
/frameworks/native/services/surfaceflinger/fuzzer/ |
D | surfaceflinger_scheduler_fuzzer.cpp | 90 std::unique_ptr<android::impl::EventThread> thread = std::make_unique< in fuzzEventThread() 91 android::impl::EventThread>(std::move(std::make_unique<FuzzImplVSyncSource>()), nullptr, in fuzzEventThread() 106 dump<android::impl::EventThread>(thread.get(), &mFdp); in fuzzEventThread() 212 std::make_unique<android::mock::EventThread>(), in fuzzLayerHistory() 213 std::make_unique<android::mock::EventThread>()); in fuzzLayerHistory() 241 scheduler->createConnection(std::make_unique<android::mock::EventThread>()); in fuzzLayerHistory() 315 std::make_unique<android::mock::EventThread>(), in fuzzRefreshRateSelection() 316 std::make_unique<android::mock::EventThread>()); in fuzzRefreshRateSelection()
|
D | surfaceflinger_layer_fuzzer.cpp | 70 std::make_unique<android::mock::EventThread>(), in createLayerCreationArgs() 71 std::make_unique<android::mock::EventThread>()); in createLayerCreationArgs()
|
D | surfaceflinger_fuzzer.cpp | 214 std::make_unique<android::mock::EventThread>(), in setUp() 215 std::make_unique<android::mock::EventThread>()); in setUp()
|
D | surfaceflinger_fuzzers_utils.h | 189 class EventThread; variable 232 ConnectionHandle createConnection(std::unique_ptr<EventThread> eventThread) { in createConnection() 679 std::unique_ptr<EventThread> appEventThread, 680 std::unique_ptr<EventThread> sfEventThread,
|
/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
|