Searched refs:PowerSaveMode (Results 1 – 6 of 6) sorted by relevance
34 PowerSaveMode::PowerSaveMode() in PowerSaveMode() function in OHOS::PowerMgr::PowerSaveMode59 bool PowerSaveMode::StartXMlParse(std::string path) in StartXMlParse()95 std::string PowerSaveMode::GetProp(const xmlNodePtr& nodePtr, const std::string& key) in GetProp()106 bool PowerSaveMode::GetValuePolicy(std::list<ModePolicy> &openPolicy, int32_t mode) in GetValuePolicy()112 bool PowerSaveMode::GetRecoverPolicy(std::list<ModePolicy> &recoverPolicy, int32_t mode) in GetRecoverPolicy()118 bool PowerSaveMode::GetFilterPolicy(std::list<ModePolicy> &policyList, int32_t mode, int32_t value) in GetFilterPolicy()130 int32_t PowerSaveMode::GetSleepTime(int32_t mode) in GetSleepTime()
83 DelayedSpSingleton<PowerSaveMode>::GetInstance()->GetValuePolicy(openPolicy, mode); in ReadOpenPolicy()88 DelayedSpSingleton<PowerSaveMode>::GetInstance()->GetRecoverPolicy(recoverPolicy, mode); in ReadRecoverPolicy()
119 if (DelayedSpSingleton<PowerSaveMode>::GetInstance()) { in RegisterBootCompletedCallback()
43 class PowerSaveMode : public RefBase {45 PowerSaveMode();46 ~PowerSaveMode()=default;
68 std::unique_ptr<PowerSaveMode> mode = std::make_unique<PowerSaveMode>(); in SetPolicyMode()
85 auto mode = std::make_shared<PowerSaveMode>();