Home
last modified time | relevance | path

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

/foundation/resourceschedule/device_standby/utils/policy/src/
H A Dstandby_config_manager.cpp653 std::string resCtrlKey = element.key(); in ParseResCtrlConfig() local
654 if (!ParseDefaultResCtrlConfig(resCtrlKey, element.value())) { in ParseResCtrlConfig()
655 STANDBYSERVICE_LOGW("there is error in config of %{public}s", resCtrlKey.c_str()); in ParseResCtrlConfig()
660 if (resCtrlKey == TAG_TIMER && !ParseTimerResCtrlConfig(element.value())) { in ParseResCtrlConfig()
661 STANDBYSERVICE_LOGW("there is error in config of %{public}s", resCtrlKey.c_str()); in ParseResCtrlConfig()
698 bool StandbyConfigManager::ParseDefaultResCtrlConfig(const std::string& resCtrlKey, in ParseDefaultResCtrlConfig() argument
702 STANDBYSERVICE_LOGW("the value of %{public}s should be an array", resCtrlKey.c_str()); in ParseDefaultResCtrlConfig()
709 STANDBYSERVICE_LOGW("the value of %{public}s can not be parsed", resCtrlKey.c_str()); in ParseDefaultResCtrlConfig()
714 defaultResourceConfigMap_[resCtrlKey] = defaultResConfigPtr; in ParseDefaultResCtrlConfig()
715 STANDBYSERVICE_LOGI("succeed to parse the config of %{public}s", resCtrlKey in ParseDefaultResCtrlConfig()
864 stream << resCtrlKey << ": \\n"; DumpStandbyConfigInfo() local
[all...]
/foundation/resourceschedule/device_standby/utils/policy/include/
H A Dstandby_config_manager.h129 bool ParseDefaultResCtrlConfig(const std::string& resCtrlKey, const nlohmann::json& resConfigArray);

Completed in 3 milliseconds