Home
last modified time | relevance | path

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

/foundation/resourceschedule/device_standby/services/test/unittest/
H A Dstandby_utils_unit_test.cpp141 * @tc.desc: test GetArrayFromJsonValue.
149 bool ret = JsonUtils::GetArrayFromJsonValue(jsonValue, "", value); in HWTEST_F()
152 JsonUtils::GetArrayFromJsonValue(jsonValue, "", value); in HWTEST_F()
153 JsonUtils::GetArrayFromJsonValue(jsonValue, JSON_KEY, value); in HWTEST_F()
154 JsonUtils::GetArrayFromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F()
156 ret = JsonUtils::GetArrayFromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F()
/foundation/resourceschedule/device_standby/utils/policy/src/
H A Djson_utils.cpp164 bool JsonUtils::GetArrayFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, nlohmann::json& value) in GetArrayFromJsonValue() function in OHOS::DevStandbyMgr::JsonUtils
180 if (!JsonUtils::GetArrayFromJsonValue(jsonValue, key, strArrayValue)) { in GetStrArrFromJsonValue()
H A Dstandby_config_manager.cpp755 if (!JsonUtils::GetArrayFromJsonValue(singleConfigItem, key, timeLimitedItems)) { in ParseTimeLimitedConfig()
/foundation/resourceschedule/device_standby/utils/policy/include/
H A Djson_utils.h105 static bool GetArrayFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, nlohmann::json& value);

Completed in 5 milliseconds