Home
last modified time | relevance | path

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

/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_utils_unit_test.cpp99 * @tc.desc: test GetStringFromJsonValue.
107 bool ret = JsonUtils::GetStringFromJsonValue(jsonValue, "", value); in HWTEST_F()
110 JsonUtils::GetStringFromJsonValue(jsonValue, "", value); in HWTEST_F()
111 JsonUtils::GetStringFromJsonValue(jsonValue, JSON_KEY, value); in HWTEST_F()
112 JsonUtils::GetStringFromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F()
114 ret = JsonUtils::GetStringFromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F()
/foundation/resourceschedule/device_standby/utils/policy/include/
H A Djson_utils.h85 static bool GetStringFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, std::string& value);
/foundation/resourceschedule/device_standby/utils/policy/src/
H A Dstandby_config_manager.cpp296 if (!JsonUtils::GetStringFromJsonValue(devStandbyConfigRoot, TAG_VER, tempVersion)) { in GetParamVersion()
324 if (!JsonUtils::GetStringFromJsonValue(devStandbyConfigRoot, TAG_VER, version)) { in GetCloudVersion()
520 JsonUtils::GetStringFromJsonValue(devStandbyConfigRoot, TAG_PLUGIN_NAME, pluginName_); in ParseDeviceStanbyConfig()
685 if (!JsonUtils::GetStringFromJsonValue(singleLtdAppItem, TAG_NAME, timerClockApp.name_) || in ParseTimerResCtrlConfig()
729 if (!JsonUtils::GetStringFromJsonValue(singleConfigItem, TAG_ACTION, resCtrlAction) || in ParseCommonResCtrlConfig()
761 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::string& value) in GetStringFromJsonValue() function in OHOS::DevStandbyMgr::JsonUtils

Completed in 5 milliseconds