Searched refs:mPowerModeState (Results 1 – 7 of 7) sorted by relevance
53 mPowerModeState = (hwc2_power_mode_t)HWC_POWER_MODE_OFF; in ExynosExternalDisplay()96 if (mPowerModeState.has_value() && in closeExternalDisplay()97 (*mPowerModeState != (hwc2_power_mode_t)HWC_POWER_MODE_OFF)) { in closeExternalDisplay()104 mPowerModeState = (hwc2_power_mode_t)HWC_POWER_MODE_OFF; in closeExternalDisplay()311 (mPowerModeState.has_value() && in canSkipValidate()312 (*mPowerModeState == (hwc2_power_mode_t)HWC_POWER_MODE_NORMAL))) in canSkipValidate()440 mPowerModeState = (hwc2_power_mode_t)HWC_POWER_MODE_NORMAL; in enable()471 mPowerModeState = (hwc2_power_mode_t)HWC_POWER_MODE_OFF; in disable()
202 if (!mPowerModeState.has_value() || (*mPowerModeState != HWC2_POWER_MODE_ON) || in doDisplayConfigInternal()228 if (!mPowerModeState.has_value() || (*mPowerModeState != HWC2_POWER_MODE_ON) || in setActiveConfigInternal()316 if (!mPowerModeState.has_value() || (*mPowerModeState == HWC2_POWER_MODE_OFF)) { in setPowerOn()327 mPowerModeState = HWC2_POWER_MODE_ON; in setPowerOn()353 mPowerModeState = HWC2_POWER_MODE_OFF; in setPowerOff()377 if (mPowerModeState.has_value() && in setPowerDoze()378 ((*mPowerModeState == HWC2_POWER_MODE_OFF) || (*mPowerModeState == HWC2_POWER_MODE_ON))) { in setPowerDoze()387 mPowerModeState = mode; in setPowerDoze()414 if (mPowerModeState.has_value() && (mode == static_cast<int32_t>(mPowerModeState.value()))) { in setPowerMode()644 if (mPowerModeState != HWC2_POWER_MODE_ON) { in setLhbmState()[all …]
252 (!mDisplays[i]->mPowerModeState.has_value() || in isFirstValidate()253 (mDisplays[i]->mPowerModeState.value() == (hwc2_power_mode_t)HWC_POWER_MODE_OFF))) in isFirstValidate()270 (!mDisplays[i]->mPowerModeState.has_value() || in isLastValidate()271 (mDisplays[i]->mPowerModeState.value() == (hwc2_power_mode_t)HWC_POWER_MODE_OFF))) in isLastValidate()285 mDisplays[i]->mPowerModeState.has_value() && in hasOtherDisplayOn()286 (mDisplays[i]->mPowerModeState.value() != (hwc2_power_mode_t)HWC_POWER_MODE_OFF)) in hasOtherDisplayOn()549 if (!display->mPowerModeState.has_value() || in onRefresh()550 (display->mPowerModeState.value() == (hwc2_power_mode_t)HWC_POWER_MODE_OFF)) in onRefresh()887 if (mDisplays[i]->mPlugState && mDisplays[i]->mPowerModeState.has_value() && in canSkipValidate()888 mDisplays[i]->mPowerModeState.value() != HWC2_POWER_MODE_OFF) { in canSkipValidate()[all …]
426 std::optional<hwc2_power_mode_t> mPowerModeState; variable1430 hwc2_power_mode_t mPowerModeState; variable
76 mPowerModeState(HWC2_POWER_MODE_OFF), in PowerHalHintWorker()514 mPowerModeState = powerMode; in signalRefreshRate()581 hwc2_power_mode_t powerMode = mPowerModeState; in Routine()608 if (mPowerModeState == HWC2_POWER_MODE_ON) { in Routine()1055 mPowerModeState = std::nullopt;4324 mPowerHalHint.signalRefreshRate(mPowerModeState.value_or(HWC2_POWER_MODE_OFF), in updateRefreshRateHint()4508 mPowerModeState = (hwc2_power_mode_t)mode; in setPowerMode()5361 return mPowerModeState.has_value() && mPowerModeState.value() == HWC2_POWER_MODE_OFF; in isPowerModeOff()
1196 hwc2_power_mode_t prevPowerModeState = mPowerModeState.value_or(HWC2_POWER_MODE_OFF); in setPowerMode()
1985 (display->mPowerModeState.has_value() && in preAssignResources()1986 (display->mPowerModeState.value() != HWC2_POWER_MODE_OFF))))) { in preAssignResources()