Home
last modified time | relevance | path

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

/frameworks/native/services/powermanager/
DPowerHalWrapper.cpp194 if (idx >= mBoostSupportedArray.size() || mBoostSupportedArray[idx] == HalSupport::OFF) { in setBoost()
199 if (mBoostSupportedArray[idx] == HalSupport::UNKNOWN) { in setBoost()
209 mBoostSupportedArray[idx] = isSupported ? HalSupport::ON : HalSupport::OFF; in setBoost()
226 if (idx >= mModeSupportedArray.size() || mModeSupportedArray[idx] == HalSupport::OFF) { in setMode()
231 if (mModeSupportedArray[idx] == HalSupport::UNKNOWN) { in setMode()
238 mModeSupportedArray[idx] = isSupported ? HalSupport::ON : HalSupport::OFF; in setMode()
/frameworks/native/include/powermanager/
DPowerHalWrapper.h41 enum class HalSupport { enum
182 std::array<HalSupport,
186 mBoostSupportedArray GUARDED_BY(mBoostMutex) = {HalSupport::UNKNOWN};
187 std::array<HalSupport,
191 mModeSupportedArray GUARDED_BY(mModeMutex) = {HalSupport::UNKNOWN};