Searched refs:GetArrayFromJsonValue (Results 1 - 4 of 4) sorted by relevance
/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_utils_unit_test.cpp | 141 * @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 D | json_utils.cpp | 164 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 D | standby_config_manager.cpp | 755 if (!JsonUtils::GetArrayFromJsonValue(singleConfigItem, key, timeLimitedItems)) { in ParseTimeLimitedConfig()
|
/foundation/resourceschedule/device_standby/utils/policy/include/ |
H A D | json_utils.h | 105 static bool GetArrayFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, nlohmann::json& value);
|
Completed in 5 milliseconds