Home
last modified time | relevance | path

Searched refs:GetStringFromJsonValue (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_utils_unit_test.cpp103 bool ret = JsonUtils::GetStringFromJsonValue(jsonValue, "", value);
106 JsonUtils::GetStringFromJsonValue(jsonValue, "", value);
107 JsonUtils::GetStringFromJsonValue(jsonValue, JSON_KEY, value);
108 JsonUtils::GetStringFromJsonValue(jsonValue, JSON_ERROR_KEY, value);
110 ret = JsonUtils::GetStringFromJsonValue(jsonValue, JSON_ERROR_KEY, value);
/ohos5.0/foundation/resourceschedule/device_standby/utils/policy/src/
H A Dstandby_config_manager.cpp292 if (!JsonUtils::GetStringFromJsonValue(devStandbyConfigRoot, TAG_VER, tempVersion)) { in GetParamVersion()
320 if (!JsonUtils::GetStringFromJsonValue(devStandbyConfigRoot, TAG_VER, version)) { in GetCloudVersion()
505 JsonUtils::GetStringFromJsonValue(devStandbyConfigRoot, TAG_PLUGIN_NAME, pluginName_); in ParseDeviceStanbyConfig()
663 … if (!JsonUtils::GetStringFromJsonValue(singleLtdAppItem, TAG_NAME, timerClockApp.name_) || in ParseTimerResCtrlConfig()
707 if (!JsonUtils::GetStringFromJsonValue(singleConfigItem, TAG_ACTION, resCtrlAction) || in ParseCommonResCtrlConfig()
739 if (!JsonUtils::GetStringFromJsonValue(singleLtdItem, TAG_NAME, name) || in ParseTimeLimitedConfig()
H A Djson_utils.cpp140 bool JsonUtils::GetStringFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, std… in GetStringFromJsonValue() function in OHOS::DevStandbyMgr::JsonUtils
/ohos5.0/foundation/resourceschedule/device_standby/utils/policy/include/
H A Djson_utils.h85 …static bool GetStringFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, std::s…