Searched refs:GetStringFromJsonValue (Results 1 - 4 of 4) sorted by relevance
/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_utils_unit_test.cpp | 99 * @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 D | json_utils.h | 85 static bool GetStringFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, std::string& value);
|
/foundation/resourceschedule/device_standby/utils/policy/src/ |
H A D | standby_config_manager.cpp | 296 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 D | json_utils.cpp | 140 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