Searched refs:hosVersion (Results 1 – 2 of 2) sorted by relevance
224 cJSON *hosVersion = cJSON_GetObjectItem(root, CONFIG_HOS_VERSION); in Json2Obj() local225 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()
118 std::string hosVersion; member