Home
last modified time | relevance | path

Searched refs:cachedModeChangedParams (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp368 mFeatures.cachedModeChangedParams = {handle, displayId, modeId, vsyncPeriod}; in onPrimaryDisplayModeChanged()
383 if (!mFeatures.cachedModeChangedParams.has_value()) { in dispatchCachedReportedMode()
392 if (modeId == mFeatures.cachedModeChangedParams->modeId && in dispatchCachedReportedMode()
393 vsyncPeriod == mFeatures.cachedModeChangedParams->vsyncPeriod) { in dispatchCachedReportedMode()
397 mFeatures.cachedModeChangedParams->modeId = modeId; in dispatchCachedReportedMode()
398 mFeatures.cachedModeChangedParams->vsyncPeriod = vsyncPeriod; in dispatchCachedReportedMode()
399 onNonPrimaryDisplayModeChanged(mFeatures.cachedModeChangedParams->handle, in dispatchCachedReportedMode()
400 mFeatures.cachedModeChangedParams->displayId, in dispatchCachedReportedMode()
401 mFeatures.cachedModeChangedParams->modeId, in dispatchCachedReportedMode()
402 mFeatures.cachedModeChangedParams->vsyncPeriod); in dispatchCachedReportedMode()
DScheduler.h304 std::optional<ModeChangedParams> cachedModeChangedParams; member
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableScheduler.h95 mFeatures.cachedModeChangedParams.reset(); in clearOptionalFieldsInFeatures()