Home
last modified time | relevance | path

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

/frameworks/native/services/surfaceflinger/
DDisplayDevice.cpp185 mPowerMode = mode; in setPowerMode()
187 getCompositionDisplay()->setCompositionEnabled(mPowerMode.has_value() && in setPowerMode()
188 *mPowerMode != hal::PowerMode::OFF); in setPowerMode()
196 return mPowerMode; in getPowerMode()
200 return mPowerMode && *mPowerMode != hal::PowerMode::OFF; in isPoweredOn()
389 result += mPowerMode.has_value() ? to_string(mPowerMode.value()) : "OFF(reset)"; in dump()
DDisplayDevice.h285 std::optional<hardware::graphics::composer::hal::PowerMode> mPowerMode; variable
/frameworks/native/services/surfaceflinger/tests/unittests/
DTestableSurfaceFlinger.h642 mPowerMode = mode; in setPowerMode()
665 display->setPowerMode(mPowerMode); in inject()
731 hal::PowerMode mPowerMode = DEFAULT_POWER_MODE; variable