Home
last modified time | relevance | path

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

/hardware/google/graphics/common/libhwc2.1/libexternaldisplay/
DExynosExternalDisplay.cpp53 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()
/hardware/google/graphics/common/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplay.cpp202 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 …]
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDevice.cpp252 (!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 …]
DExynosDisplay.h426 std::optional<hwc2_power_mode_t> mPowerModeState; variable
1430 hwc2_power_mode_t mPowerModeState; variable
DExynosDisplay.cpp76 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()
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp1196 hwc2_power_mode_t prevPowerModeState = mPowerModeState.value_or(HWC2_POWER_MODE_OFF); in setPowerMode()
/hardware/google/graphics/common/libhwc2.1/libresource/
DExynosResourceManager.cpp1985 (display->mPowerModeState.has_value() && in preAssignResources()
1986 (display->mPowerModeState.value() != HWC2_POWER_MODE_OFF))))) { in preAssignResources()