Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/Scheduler/
DRefreshRateSelector.cpp1253 const auto activeModeOpt = mDisplayModes.get(modeId); in setActiveMode() local
1254 LOG_ALWAYS_FATAL_IF(!activeModeOpt); in setActiveMode()
1256 mActiveModeOpt.emplace(FrameRateMode{renderFrameRate, ftl::as_non_null(activeModeOpt->get())}); in setActiveMode()
1258 activeModeOpt->get()->getVrrConfig().has_value(); in setActiveMode()
1295 const auto activeModeOpt = mDisplayModes.get(activeModeId); in updateDisplayModes() local
1296 LOG_ALWAYS_FATAL_IF(!activeModeOpt); in updateDisplayModes()
1297 mActiveModeOpt = FrameRateMode{activeModeOpt->get()->getPeakFps(), in updateDisplayModes()
1298 ftl::as_non_null(activeModeOpt->get())}; in updateDisplayModes()
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h1095 const auto activeModeOpt = modes.get(activeModeId); in inject() local
1096 LOG_ALWAYS_FATAL_IF(!activeModeOpt); in inject()
1099 const Fps refreshRate = activeModeOpt->get()->getPeakFps(); in inject()
1103 .activeMode = activeModeOpt->get()}; in inject()
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.cpp1468 const auto activeModeOpt = mDisplayModeController.getDesiredMode(displayId); in applyActiveMode() local
1469 auto activeModePtr = activeModeOpt->mode.modePtr; in applyActiveMode()
1470 const auto renderFps = activeModeOpt->mode.fps; in applyActiveMode()