Home
last modified time | relevance | path

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

/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp181 enum class HalSupport { enum
190 static std::array<std::atomic<HalSupport>, in setPowerBoostWithHandle()
192 boostSupportedArray = {HalSupport::UNKNOWN}; in setPowerBoostWithHandle()
196 boostSupportedArray[static_cast<int32_t>(boost)] == HalSupport::OFF) { in setPowerBoostWithHandle()
201 if (boostSupportedArray[static_cast<int32_t>(boost)] == HalSupport::UNKNOWN) { in setPowerBoostWithHandle()
205 isSupported ? HalSupport::ON : HalSupport::OFF; in setPowerBoostWithHandle()
231 static std::array<std::atomic<HalSupport>, static_cast<int32_t>(Mode::DISPLAY_INACTIVE) + 1> in setPowerModeWithHandle()
232 modeSupportedArray = {HalSupport::UNKNOWN}; in setPowerModeWithHandle()
236 modeSupportedArray[static_cast<int32_t>(mode)] == HalSupport::OFF) { in setPowerModeWithHandle()
241 if (modeSupportedArray[static_cast<int32_t>(mode)] == HalSupport::UNKNOWN) { in setPowerModeWithHandle()
[all …]