Lines Matching defs:Network

57 Network::Network(int32_t netId, uint32_t supplierId, const NetDetectionHandler &handler, NetBearType bearerType,
67 int32_t Network::GetNetId() const
72 uint32_t Network::GetSupplierId() const
77 bool Network::operator==(const Network &network) const
82 bool Network::UpdateBasicNetwork(bool isAvailable_)
101 bool Network::CreateBasicNetwork()
117 bool Network::CreateVirtualNetwork()
133 bool Network::IsIfaceNameInUse()
138 std::string Network::GetNetCapabilitiesAsString(const uint32_t supplierId) const
143 bool Network::ReleaseBasicNetwork()
190 bool Network::ReleaseVirtualNetwork()
210 bool Network::UpdateNetLinkInfo(const NetLinkInfo &netLinkInfo)
241 NetLinkInfo Network::GetNetLinkInfo() const
255 std::string Network::GetIfaceName() const
260 std::string Network::GetIdent() const
265 void Network::UpdateInterfaces(const NetLinkInfo &newNetLinkInfo)
267 NETMGR_LOG_D("Network UpdateInterfaces in.");
269 NETMGR_LOG_D("Network UpdateInterfaces out. same with before.");
288 NETMGR_LOG_D("Network UpdateInterfaces out.");
291 void Network::UpdateIpAddrs(const NetLinkInfo &newNetLinkInfo)
330 void Network::HandleUpdateIpAddrs(const NetLinkInfo &newNetLinkInfo)
350 void Network::UpdateRoutes(const NetLinkInfo &newNetLinkInfo)
398 NETMGR_LOG_D("Network UpdateRoutes out.");
404 void Network::UpdateDns(const NetLinkInfo &netLinkInfo)
406 NETMGR_LOG_D("Network UpdateDns in.");
421 NETMGR_LOG_D("Network UpdateDns out.");
427 void Network::UpdateMtu(const NetLinkInfo &netLinkInfo)
429 NETMGR_LOG_D("Network UpdateMtu in.");
431 NETMGR_LOG_D("Network UpdateMtu out. same with before.");
439 NETMGR_LOG_D("Network UpdateMtu out.");
442 void Network::UpdateTcpBufferSize(const NetLinkInfo &netLinkInfo)
444 NETMGR_LOG_D("Network UpdateTcpBufferSize in.");
446 NETMGR_LOG_D("Network UpdateTcpBufferSize out. same with before.");
453 NETMGR_LOG_D("Network UpdateTcpBufferSize out.");
456 void Network::UpdateStatsCached(const NetLinkInfo &netLinkInfo)
458 NETMGR_LOG_D("Network UpdateStatsCached in.");
460 NETMGR_LOG_D("Network UpdateStatsCached out. same with before");
467 NETMGR_LOG_D("Network UpdateStatsCached out.");
470 void Network::RegisterNetDetectionCallback(const sptr<INetDetectionCallback> &callback)
488 int32_t Network::UnRegisterNetDetectionCallback(const sptr<INetDetectionCallback> &callback)
506 void Network::StartNetDetection(bool needReport)
528 void Network::UpdateForbidDetectionFlag(bool forbidDetectionFlag)
534 void Network::SetNetCaps(const std::set<NetCap> &netCaps)
539 void Network::NetDetectionForDnsHealth(bool dnsHealthSuccess)
567 void Network::StopNetDetection()
576 void Network::InitNetMonitor()
588 void Network::HandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect)
599 void Network::NotifyNetDetectionResult(NetDetectionResultCode detectionResult, const std::string &urlRedirect)
609 NetDetectionResultCode Network::NetDetectionResultConvert(int32_t internalRet)
624 void Network::SetDefaultNetWork()
632 void Network::ClearDefaultNetWorkNetId()
640 bool Network::IsConnecting() const
645 bool Network::IsConnected() const
650 void Network::UpdateNetConnState(NetConnState netConnState)
683 NETMGR_LOG_I("Network[%{public}d] state changed, from [%{public}d] to [%{public}d]", netId_, oldState, state_);
686 void Network::SendConnectionChangedBroadcast(const NetConnState &netConnState) const
697 void Network::SendSupplierFaultHiSysEvent(NetConnSupplerFault errorType, const std::string &errMsg)
706 void Network::ResetNetlinkInfo()
712 void Network::UpdateGlobalHttpProxy(const HttpProxy &httpProxy)
722 void Network::OnHandleNetMonitorResult(NetDetectionStatus netDetectionState, const std::string &urlRedirect)
732 bool Network::ResumeNetworkInfo()
754 bool Network::IsDetectionForDnsSuccess(NetDetectionStatus netDetectionState, bool dnsHealthSuccess)
759 bool Network::IsDetectionForDnsFail(NetDetectionStatus netDetectionState, bool dnsHealthSuccess)
764 bool Network::IsNat464Prefered()
780 void Network::CloseSocketsUid(uint32_t uid)