Home
last modified time | relevance | path

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

/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_utils_unit_test.cpp162 * @tc.desc: test GetStrArrFromJsonValue.
170 bool ret = JsonUtils::GetStrArrFromJsonValue(jsonValue, "", value); in HWTEST_F()
173 JsonUtils::GetStrArrFromJsonValue(jsonValue, "", value); in HWTEST_F()
174 JsonUtils::GetStrArrFromJsonValue(jsonValue, JSON_KEY, value); in HWTEST_F()
175 JsonUtils::GetStrArrFromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F()
177 ret = JsonUtils::GetStrArrFromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F()
180 JsonUtils::GetStrArrFromJsonValue(jsonValue, JSON_KEY, value); in HWTEST_F()
/foundation/resourceschedule/device_standby/utils/policy/include/
H A Djson_utils.h115 static bool GetStrArrFromJsonValue(const nlohmann::json& jsonValue, const std::string& key,
/foundation/resourceschedule/device_standby/utils/policy/src/
H A Djson_utils.cpp176 bool JsonUtils::GetStrArrFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, in GetStrArrFromJsonValue() function in OHOS::DevStandbyMgr::JsonUtils
H A Dstandby_config_manager.cpp730 !JsonUtils::GetStrArrFromJsonValue(singleConfigItem, TAG_CONDITION, conditionItemArray)) { in ParseCommonResCtrlConfig()
744 JsonUtils::GetStrArrFromJsonValue(singleConfigItem, TAG_PROCESSES, resCtrlConfig.processes_); in ParseCommonResCtrlConfig()
745 JsonUtils::GetStrArrFromJsonValue(singleConfigItem, TAG_APPS, resCtrlConfig.apps_); in ParseCommonResCtrlConfig()

Completed in 3 milliseconds