Home
last modified time | relevance | path

Searched refs:mPowerModeState (Results 1 – 9 of 9) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplay.cpp338 if (!mPowerModeState.has_value() || (*mPowerModeState != HWC2_POWER_MODE_ON) || in doDisplayConfigInternal()
364 if (!mPowerModeState.has_value() || (*mPowerModeState != HWC2_POWER_MODE_ON) || in setActiveConfigInternal()
377 if (mPowerModeState.has_value() && (*mPowerModeState == HWC2_POWER_MODE_ON)) { in applyPendingConfig()
476 if (!mPowerModeState.has_value() || (*mPowerModeState == HWC2_POWER_MODE_OFF)) { in setPowerOn()
487 mPowerModeState = HWC2_POWER_MODE_ON; in setPowerOn()
515 mPowerModeState = HWC2_POWER_MODE_OFF; in setPowerOff()
539 if (mPowerModeState.has_value() && in setPowerDoze()
540 ((*mPowerModeState == HWC2_POWER_MODE_OFF) || (*mPowerModeState == HWC2_POWER_MODE_ON))) { in setPowerDoze()
549 mPowerModeState = mode; in setPowerDoze()
578 if (mPowerModeState.has_value() && (mode == static_cast<int32_t>(mPowerModeState.value()))) { in setPowerMode()
[all …]
/hardware/google/graphics/common/libhwc2.1/libexternaldisplay/
DExynosExternalDisplay.cpp57 mPowerModeState = (hwc2_power_mode_t)HWC_POWER_MODE_OFF; in ExynosExternalDisplay()
100 if (mPowerModeState.has_value() && in closeExternalDisplay()
101 (*mPowerModeState != (hwc2_power_mode_t)HWC_POWER_MODE_OFF)) { in closeExternalDisplay()
108 mPowerModeState = (hwc2_power_mode_t)HWC_POWER_MODE_OFF; in closeExternalDisplay()
324 (mPowerModeState.has_value() && in canSkipValidate()
325 (*mPowerModeState == (hwc2_power_mode_t)HWC_POWER_MODE_NORMAL))) in canSkipValidate()
453 mPowerModeState = (hwc2_power_mode_t)HWC_POWER_MODE_NORMAL; in enable()
493 mPowerModeState = (hwc2_power_mode_t)HWC_POWER_MODE_OFF; in disable()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDevice.cpp254 (!mDisplays[i]->mPowerModeState.has_value() || in isFirstValidate()
255 (mDisplays[i]->mPowerModeState.value() == (hwc2_power_mode_t)HWC_POWER_MODE_OFF))) in isFirstValidate()
272 (!mDisplays[i]->mPowerModeState.has_value() || in isLastValidate()
273 (mDisplays[i]->mPowerModeState.value() == (hwc2_power_mode_t)HWC_POWER_MODE_OFF))) in isLastValidate()
287 mDisplays[i]->mPowerModeState.has_value() && in hasOtherDisplayOn()
288 (mDisplays[i]->mPowerModeState.value() != (hwc2_power_mode_t)HWC_POWER_MODE_OFF)) in hasOtherDisplayOn()
542 disp->mPowerModeState == HWC_POWER_MODE_OFF) in findPoweredOffPrimaryDisplay()
651 if (!display->mPowerModeState.has_value() || in onRefresh()
652 (display->mPowerModeState.value() == (hwc2_power_mode_t)HWC_POWER_MODE_OFF)) in onRefresh()
1009 if (mDisplays[i]->mPlugState && mDisplays[i]->mPowerModeState.has_value() && in canSkipValidate()
[all …]
DExynosDisplay.h475 std::optional<hwc2_power_mode_t> mPowerModeState; variable
867 virtual std::optional<hwc2_power_mode_t> getPowerMode() { return mPowerModeState; } in getPowerMode()
1542 hwc2_power_mode_t mPowerModeState; variable
DExynosDisplay.cpp83 mPowerModeState(HWC2_POWER_MODE_OFF), in PowerHalHintWorker()
522 mPowerModeState = powerMode; in signalRefreshRate()
589 hwc2_power_mode_t powerMode = mPowerModeState; in Routine()
615 if (mPowerModeState == HWC2_POWER_MODE_ON) { in Routine()
1066 mPowerModeState = std::nullopt;
4639 mPowerHalHint.signalRefreshRate(mPowerModeState.value_or(HWC2_POWER_MODE_OFF), in updateRefreshRateHint()
4827 mPowerModeState = (hwc2_power_mode_t)mode; in setPowerMode()
5692 return mPowerModeState.has_value() && mPowerModeState.value() == HWC2_POWER_MODE_OFF; in isPowerModeOff()
6282 if (mPowerModeState.has_value() && mPowerModeState.value() == HWC2_POWER_MODE_OFF) { in uncacheLayerBuffers()
/hardware/google/graphics/zuma/libhwc2.1/libresource/
DExynosResourceManagerModule.cpp209 if (!(display->mPlugState == true && display->mPowerModeState.has_value() && in setDisplaysTDMInfo()
210 display->mPowerModeState.value() != (hwc2_power_mode_t)HWC_POWER_MODE_OFF)) in setDisplaysTDMInfo()
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp618 hwc2_power_mode_t prevPowerModeState = mPowerModeState.value_or(HWC2_POWER_MODE_OFF); in setPowerMode()
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosResourceManager.cpp1960 if (disp == nullptr || !disp->mPlugState || !disp->mPowerModeState.has_value() || in decideMainAndMinorDisplay()
1962 disp->mPowerModeState.value() == (hwc2_power_mode_t)HWC_POWER_MODE_OFF)) in decideMainAndMinorDisplay()
2044 (display->mPowerModeState.has_value() && in preAssignResources()
2045 (display->mPowerModeState.value() != HWC2_POWER_MODE_OFF))))) { in preAssignResources()
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.cpp987 if (external_display && external_display->mPowerModeState != HWC_POWER_MODE_OFF) { in setPowerMode()