Home
last modified time | relevance | path

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

/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp181 if (idx >= mBoostSupportedArray.size() || mBoostSupportedArray[idx] == HalSupport::OFF) { in setBoost()
186 if (mBoostSupportedArray[idx] == HalSupport::UNKNOWN) { in setBoost()
196 mBoostSupportedArray[idx] = isSupported ? HalSupport::ON : HalSupport::OFF; in setBoost()
213 if (idx >= mModeSupportedArray.size() || mModeSupportedArray[idx] == HalSupport::OFF) { in setMode()
218 if (mModeSupportedArray[idx] == HalSupport::UNKNOWN) { in setMode()
225 mModeSupportedArray[idx] = isSupported ? HalSupport::ON : HalSupport::OFF; in setMode()
/frameworks/native/include/powermanager/
DPowerHalWrapper.h32 enum class HalSupport { enum
201 std::array<std::atomic<HalSupport>,
203 mBoostSupportedArray GUARDED_BY(mBoostMutex) = {HalSupport::UNKNOWN};
206 std::array<std::atomic<HalSupport>,
208 mModeSupportedArray GUARDED_BY(mModeMutex) = {HalSupport::UNKNOWN};