Home
last modified time | relevance | path

Searched refs:hosVersion (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_file.cpp224 cJSON *hosVersion = cJSON_GetObjectItem(root, CONFIG_HOS_VERSION); in Json2Obj() local
225 if (hosVersion == nullptr) { in Json2Obj()
226 netPolicy.hosVersion = HOS_VERSION; in Json2Obj()
228 netPolicy.hosVersion = cJSON_GetStringValue(hosVersion); in Json2Obj()
229 NETMGR_LOG_E("hosVersion: %{public}s", netPolicy.hosVersion.c_str()); in Json2Obj()
255 if (netPolicy_.hosVersion.empty()) { in Obj2Json()
256 netPolicy_.hosVersion = HOS_VERSION; in Obj2Json()
258 …cJSON_AddItemToObject(root, CONFIG_HOS_VERSION, cJSON_CreateString(netPolicy_.hosVersion.c_str())); in Obj2Json()
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dnet_policy_inner_define.h118 std::string hosVersion; member