Home
last modified time | relevance | path

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

/base/powermgr/power_manager/services/native/src/
Dpower_save_mode.cpp34 PowerSaveMode::PowerSaveMode() in PowerSaveMode() function in OHOS::PowerMgr::PowerSaveMode
59 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()
Dpower_mode_policy.cpp83 DelayedSpSingleton<PowerSaveMode>::GetInstance()->GetValuePolicy(openPolicy, mode); in ReadOpenPolicy()
88 DelayedSpSingleton<PowerSaveMode>::GetInstance()->GetRecoverPolicy(recoverPolicy, mode); in ReadRecoverPolicy()
Dpower_mgr_service.cpp119 if (DelayedSpSingleton<PowerSaveMode>::GetInstance()) { in RegisterBootCompletedCallback()
/base/powermgr/power_manager/services/native/include/
Dpower_save_mode.h43 class PowerSaveMode : public RefBase {
45 PowerSaveMode();
46 ~PowerSaveMode()=default;
/base/powermgr/power_manager/test/systemtest/src/
Dpower_mgr_system_test.cpp68 std::unique_ptr<PowerSaveMode> mode = std::make_unique<PowerSaveMode>(); in SetPolicyMode()
/base/powermgr/power_manager/test/unittest/src/
Dpower_set_mode_test.cpp85 auto mode = std::make_shared<PowerSaveMode>();