Home
last modified time | relevance | path

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

/ohos5.0/foundation/resourceschedule/device_standby/utils/policy/src/
H A Dstandby_config_manager.cpp499 nlohmann::json standbyConfig; in ParseDeviceStanbyConfig() local
506 if (JsonUtils::GetObjFromJsonValue(devStandbyConfigRoot, TAG_STANDBY, standbyConfig) && in ParseDeviceStanbyConfig()
507 !ParseStandbyConfig(standbyConfig)) { in ParseDeviceStanbyConfig()
527 …JsonUtils::GetObjFromJsonValue(devStandbyConfigRoot, TAG_HALFHOUR_SWITCH_SETTING, standbyConfig)) { in ParseDeviceStanbyConfig()
528 if (!ParseHalfHourSwitchConfig(standbyConfig)) { in ParseDeviceStanbyConfig()
536 bool StandbyConfigManager::ParseStandbyConfig(const nlohmann::json& standbyConfig) in ParseStandbyConfig() argument
539 for (const auto& element : standbyConfig.items()) { in ParseStandbyConfig()
/ohos5.0/foundation/resourceschedule/device_standby/utils/policy/include/
H A Dstandby_config_manager.h115 bool ParseStandbyConfig(const nlohmann::json& standbyConfig);
145 bool ParseVersionConfig(const nlohmann::json& standbyConfig, std::string& version);