Searched refs:GetObjFromJsonValue (Results 1 - 4 of 4) sorted by relevance
/foundation/resourceschedule/device_standby/services/test/unittest/ |
H A D | standby_utils_unit_test.cpp | 120 * @tc.desc: test GetObjFromJsonValue. 128 bool ret = JsonUtils::GetObjFromJsonValue(jsonValue, "", value); in HWTEST_F() 131 JsonUtils::GetObjFromJsonValue(jsonValue, "", value); in HWTEST_F() 132 JsonUtils::GetObjFromJsonValue(jsonValue, JSON_KEY, value); in HWTEST_F() 133 JsonUtils::GetObjFromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F() 135 ret = JsonUtils::GetObjFromJsonValue(jsonValue, JSON_ERROR_KEY, value); in HWTEST_F()
|
/foundation/resourceschedule/device_standby/utils/policy/src/ |
H A D | standby_config_manager.cpp | 182 if (JsonUtils::GetObjFromJsonValue(devConfigRoot, TAG_SETTING_LIST, settingConfig) && in ParseCloudConfig() 186 if (JsonUtils::GetObjFromJsonValue(devConfigRoot, TAG_STRATEGY_LIST, listConfig) && in ParseCloudConfig() 521 if (JsonUtils::GetObjFromJsonValue(devStandbyConfigRoot, TAG_STANDBY, standbyConfig) && in ParseDeviceStanbyConfig() 526 if (JsonUtils::GetObjFromJsonValue(devStandbyConfigRoot, TAG_DETECT_LIST, detectlist) && in ParseDeviceStanbyConfig() 531 if (JsonUtils::GetObjFromJsonValue(devStandbyConfigRoot, TAG_MAINTENANCE_LIST, standbyIntervalList) && in ParseDeviceStanbyConfig() 536 if (JsonUtils::GetObjFromJsonValue(devStandbyConfigRoot, TAG_STRATEGY_LIST, standbyListConfig) && in ParseDeviceStanbyConfig() 542 if (JsonUtils::GetObjFromJsonValue(devStandbyConfigRoot, TAG_HALFHOUR_SWITCH_SETTING, standbyConfig)) { in ParseDeviceStanbyConfig() 549 if (JsonUtils::GetObjFromJsonValue(devStandbyConfigRoot, TAG_LADDER_BATTERY_LIST, standbyBatteryList) && in ParseDeviceStanbyConfig()
|
H A D | json_utils.cpp | 152 bool JsonUtils::GetObjFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, nlohmann::json& value) in GetObjFromJsonValue() function in OHOS::DevStandbyMgr::JsonUtils
|
/foundation/resourceschedule/device_standby/utils/policy/include/ |
H A D | json_utils.h | 95 static bool GetObjFromJsonValue(const nlohmann::json& jsonValue, const std::string& key, nlohmann::json& value);
|
Completed in 4 milliseconds