Home
last modified time | relevance | path

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

/ohos5.0/foundation/resourceschedule/device_standby/utils/policy/src/
H A Dstandby_config_manager.cpp631 std::string resCtrlKey = element.key(); in ParseResCtrlConfig() local
632 if (!ParseDefaultResCtrlConfig(resCtrlKey, element.value())) { in ParseResCtrlConfig()
633 STANDBYSERVICE_LOGW("there is error in config of %{public}s", resCtrlKey.c_str()); in ParseResCtrlConfig()
638 if (resCtrlKey == TAG_TIMER && !ParseTimerResCtrlConfig(element.value())) { in ParseResCtrlConfig()
639 STANDBYSERVICE_LOGW("there is error in config of %{public}s", resCtrlKey.c_str()); in ParseResCtrlConfig()
676 bool StandbyConfigManager::ParseDefaultResCtrlConfig(const std::string& resCtrlKey, in ParseDefaultResCtrlConfig() argument
680 STANDBYSERVICE_LOGW("the value of %{public}s should be an array", resCtrlKey.c_str()); in ParseDefaultResCtrlConfig()
692 defaultResourceConfigMap_[resCtrlKey] = defaultResConfigPtr; in ParseDefaultResCtrlConfig()
693 STANDBYSERVICE_LOGI("succeed to parse the config of %{public}s", resCtrlKey.c_str()); in ParseDefaultResCtrlConfig()
821 for (const auto& [resCtrlKey, resConfigVec] : defaultResourceConfigMap_) { in DumpStandbyConfigInfo()
[all …]
/ohos5.0/foundation/resourceschedule/device_standby/utils/policy/include/
H A Dstandby_config_manager.h121 …bool ParseDefaultResCtrlConfig(const std::string& resCtrlKey, const nlohmann::json& resConfigArray…