Searched refs:Cycle (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | Scheduler.h | 80 enum class Cycle { enum 140 void createEventThread(Cycle, frametimeline::TokenManager*, 145 Cycle, EventRegistrationFlags eventRegistration = {}, 148 const sp<EventThreadConnection>& getEventConnection(Cycle cycle) const { in getEventConnection() 149 return cycle == Cycle::Render ? mRenderEventConnection : mLastCompositeEventConnection; in getEventConnection() 157 void onPrimaryDisplayModeChanged(Cycle, const FrameRateMode&) EXCLUDES(mPolicyLock); 158 void onNonPrimaryDisplayModeChanged(Cycle, const FrameRateMode&); 162 void onFrameRateOverridesChanged(Cycle, PhysicalDisplayId); 164 void onHdcpLevelsChanged(Cycle, PhysicalDisplayId, int32_t, int32_t); 167 void setDuration(Cycle, std::chrono::nanoseconds workDuration, [all …]
|
D | Scheduler.cpp | 348 void Scheduler::createEventThread(Cycle cycle, frametimeline::TokenManager* tokenManager, in createEventThread() 352 std::make_unique<android::impl::EventThread>(cycle == Cycle::Render ? "app" : "appSf", in createEventThread() 356 if (cycle == Cycle::Render) { in createEventThread() 366 Cycle cycle, EventRegistrationFlags eventRegistration, const sp<IBinder>& layerHandle) { in createDisplayEventConnection() 390 eventThreadFor(Cycle::Render).onHotplugReceived(displayId, connected); in dispatchHotplug() 391 eventThreadFor(Cycle::LastComposite).onHotplugReceived(displayId, connected); in dispatchHotplug() 397 eventThreadFor(Cycle::Render).onHotplugConnectionError(errorCode); in dispatchHotplugError() 398 eventThreadFor(Cycle::LastComposite).onHotplugConnectionError(errorCode); in dispatchHotplugError() 403 eventThreadFor(Cycle::Render).enableSyntheticVsync(enable); in enableSyntheticVsync() 406 void Scheduler::onFrameRateOverridesChanged(Cycle cycle, PhysicalDisplayId displayId) { in onFrameRateOverridesChanged() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | SchedulerTest.cpp | 124 mScheduler->setEventThread(Cycle::Render, std::move(eventThread)); in SchedulerTest() 719 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer->getHandle()); in TEST_F() 748 mScheduler->createDisplayEventConnection(Cycle::Render, {}, handle); in TEST_F() 750 mScheduler->createDisplayEventConnection(Cycle::Render, {}, handle); in TEST_F() 768 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer1->getHandle()); in TEST_F() 770 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer2->getHandle()); in TEST_F() 797 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer->getHandle()); in TEST_F() 827 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer->getHandle()); in TEST_F() 841 mScheduler->createDisplayEventConnection(Cycle::Render, {}, layer->getHandle()); in frameRateTestScenario() 901 mScheduler->createDisplayEventConnection(Cycle::Render, {}, parent->getHandle()); in TEST_F() [all …]
|
D | TestableScheduler.h | 74 void setEventThread(Cycle cycle, std::unique_ptr<EventThread> eventThreadPtr) { in setEventThread() 75 if (cycle == Cycle::Render) { in setEventThread()
|
D | TestableSurfaceFlinger.h | 267 mScheduler->setEventThread(scheduler::Cycle::Render, std::move(appEventThread)); 268 mScheduler->setEventThread(scheduler::Cycle::LastComposite, std::move(sfEventThread));
|
/frameworks/native/services/surfaceflinger/ |
D | SurfaceFlinger.cpp | 2164 return scheduler::Cycle::Render; in createDisplayEventConnection() 2168 ? scheduler::Cycle::LastComposite in createDisplayEventConnection() 2169 : scheduler::Cycle::Render; in createDisplayEventConnection() 3707 ((*mScheduler).*onDisplayModeChanged)(scheduler::Cycle::Render, mode); in dispatchDisplayModeChangeEvent() 4319 mScheduler->onFrameRateOverridesChanged(scheduler::Cycle::Render, displayId); in triggerOnFrameRateOverridesChanged() 4532 mScheduler->createEventThread(scheduler::Cycle::Render, mFrameTimeline->getTokenManager(), in initScheduler() 4535 mScheduler->createEventThread(scheduler::Cycle::LastComposite, in initScheduler() 6500 mScheduler->dump(scheduler::Cycle::Render, result); in dumpEvents() 7270 mScheduler->setDuration(scheduler::Cycle::Render, std::chrono::nanoseconds(n), 0ns); in onTransact() 7275 mScheduler->setDuration(scheduler::Cycle::LastComposite, in onTransact() [all …]
|