Searched refs:dnsHealthSuccess (Results 1 – 4 of 4) sorted by relevance
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/include/ |
H A D | network.h | 67 void NetDetectionForDnsHealth(bool dnsHealthSuccess); 86 bool IsDetectionForDnsSuccess(NetDetectionStatus netDetectionState, bool dnsHealthSuccess); 87 bool IsDetectionForDnsFail(NetDetectionStatus netDetectionState, bool dnsHealthSuccess);
|
H A D | net_conn_service.h | 335 int32_t NetDetectionForDnsHealth(int32_t netId, bool dnsHealthSuccess); 461 int32_t NetDetectionForDnsHealthSync(int32_t netId, bool dnsHealthSuccess);
|
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | network.cpp | 535 void Network::NetDetectionForDnsHealth(bool dnsHealthSuccess) in NetDetectionForDnsHealth() argument 550 if (IsDetectionForDnsSuccess(lastDetectResult, dnsHealthSuccess)) { in NetDetectionForDnsHealth() 555 } else if (IsDetectionForDnsFail(lastDetectResult, dnsHealthSuccess)) { in NetDetectionForDnsHealth() 747 bool Network::IsDetectionForDnsSuccess(NetDetectionStatus netDetectionState, bool dnsHealthSuccess) in IsDetectionForDnsSuccess() argument 749 …return ((netDetectionState == INVALID_DETECTION_STATE) && dnsHealthSuccess && !isDetectingForDns_); in IsDetectionForDnsSuccess() 752 bool Network::IsDetectionForDnsFail(NetDetectionStatus netDetectionState, bool dnsHealthSuccess) in IsDetectionForDnsFail() argument 754 …return ((netDetectionState == VERIFICATION_STATE) && !dnsHealthSuccess && !(netMonitor_->IsDetecti… in IsDetectionForDnsFail()
|
H A D | net_conn_service.cpp | 850 int32_t NetConnService::NetDetectionForDnsHealthSync(int32_t netId, bool dnsHealthSuccess) in NetDetectionForDnsHealthSync() argument 858 iterNetwork->second->NetDetectionForDnsHealth(dnsHealthSuccess); in NetDetectionForDnsHealthSync() 2032 int32_t NetConnService::NetDetectionForDnsHealth(int32_t netId, bool dnsHealthSuccess) in NetDetectionForDnsHealth() argument 2036 netConnEventHandler_->PostSyncTask([netId, dnsHealthSuccess, &result, this]() { in NetDetectionForDnsHealth() 2037 result = this->NetDetectionForDnsHealthSync(netId, dnsHealthSuccess); in NetDetectionForDnsHealth()
|