Home
last modified time | relevance | path

Searched refs:netPolicy_ (Results 1 - 3 of 3) sorted by relevance

/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_file.cpp78 return Json2Obj(fileContent, netPolicy_); in ReadFile()
89 Obj2Json(netPolicy_, data->json); in WriteFile()
102 return netPolicy_.uidPolicies; in ReadUidPolicies()
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()
280 uint32_t size = netPolicy_.netQuotaPolicies.size(); in AddQuotaPolicy()
284 cJSON_CreateString(netPolicy_.netQuotaPolicies[i].netType.c_str())); in AddQuotaPolicy()
286 cJSON_CreateString(netPolicy_.netQuotaPolicies[i].simId.c_str())); in AddQuotaPolicy()
288 cJSON_CreateString(netPolicy_ in AddQuotaPolicy()
[all...]
/foundation/communication/netmanager_base/services/netpolicymanager/include/
H A Dnet_policy_service.h302 netPolicy_ = netPolicy; in FactoryResetCallBack()
307 if (netPolicy_ != nullptr) { in OnNetFactoryReset()
308 netPolicy_->FactoryResetPolicies(); in OnNetFactoryReset()
315 std::shared_ptr<NetPolicyService> netPolicy_ = nullptr; member in OHOS::NetManagerStandard::NetPolicyService::FactoryResetCallBack
H A Dnet_policy_file.h178 NetPolicy netPolicy_; member in OHOS::NetManagerStandard::NetPolicyFile

Completed in 4 milliseconds