Home
last modified time | relevance | path

Searched refs:dnsHealthSuccess (Results 1 - 6 of 6) sorted by relevance

/foundation/communication/netmanager_base/services/netconnmanager/include/
H A Dnetwork.h66 void NetDetectionForDnsHealth(bool dnsHealthSuccess);
89 bool IsDetectionForDnsSuccess(NetDetectionStatus netDetectionState, bool dnsHealthSuccess);
90 bool IsDetectionForDnsFail(NetDetectionStatus netDetectionState, bool dnsHealthSuccess);
H A Dnet_conn_service.h338 int32_t NetDetectionForDnsHealth(int32_t netId, bool dnsHealthSuccess);
481 int32_t NetDetectionForDnsHealthSync(int32_t netId, bool dnsHealthSuccess);
/foundation/communication/netmanager_base/services/netconnmanager/src/
H A Dnetwork.cpp539 void Network::NetDetectionForDnsHealth(bool dnsHealthSuccess) in NetDetectionForDnsHealth() argument
554 if (IsDetectionForDnsSuccess(lastDetectResult, dnsHealthSuccess)) { in NetDetectionForDnsHealth()
559 } else if (IsDetectionForDnsFail(lastDetectResult, dnsHealthSuccess)) { in NetDetectionForDnsHealth()
754 bool Network::IsDetectionForDnsSuccess(NetDetectionStatus netDetectionState, bool dnsHealthSuccess) in IsDetectionForDnsSuccess() argument
756 return ((netDetectionState == INVALID_DETECTION_STATE) && dnsHealthSuccess && !isDetectingForDns_); in IsDetectionForDnsSuccess()
759 bool Network::IsDetectionForDnsFail(NetDetectionStatus netDetectionState, bool dnsHealthSuccess) in IsDetectionForDnsFail() argument
761 return ((netDetectionState == VERIFICATION_STATE) && !dnsHealthSuccess && !(netMonitor_->IsDetecting())); in IsDetectionForDnsFail()
H A Dnet_conn_service.cpp989 int32_t NetConnService::NetDetectionForDnsHealthSync(int32_t netId, bool dnsHealthSuccess) in NetDetectionForDnsHealthSync() argument
997 iterNetwork->second->NetDetectionForDnsHealth(dnsHealthSuccess); in NetDetectionForDnsHealthSync()
2186 int32_t NetConnService::NetDetectionForDnsHealth(int32_t netId, bool dnsHealthSuccess) in NetDetectionForDnsHealth() argument
2190 netConnEventHandler_->PostSyncTask([netId, dnsHealthSuccess, &result, this]() { in NetDetectionForDnsHealth()
2191 result = this->NetDetectionForDnsHealthSync(netId, dnsHealthSuccess); in NetDetectionForDnsHealth()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
H A Dnet_conn_service_test.cpp908 bool dnsHealthSuccess = true; in HWTEST_F() local
910 ret = NetConnService::GetInstance()->NetDetectionForDnsHealth(netId, dnsHealthSuccess); in HWTEST_F()
1210 bool dnsHealthSuccess = true; in HWTEST_F() local
1211 int32_t ret = NetConnService::GetInstance()->NetDetectionForDnsHealthSync(netId, dnsHealthSuccess); in HWTEST_F()
1218 ret = NetConnService::GetInstance()->NetDetectionForDnsHealthSync(netId, dnsHealthSuccess); in HWTEST_F()
1225 bool dnsHealthSuccess = true; in HWTEST_F() local
1226 int32_t ret = NetConnService::GetInstance()->NetDetectionForDnsHealthSync(netId, dnsHealthSuccess); in HWTEST_F()
1233 ret = NetConnService::GetInstance()->NetDetectionForDnsHealthSync(netId, dnsHealthSuccess); in HWTEST_F()
1332 bool dnsHealthSuccess = true; in HWTEST_F() local
1334 int32_t ret = NetConnService::GetInstance()->NetDetectionForDnsHealth(netId, dnsHealthSuccess); in HWTEST_F()
[all...]
/foundation/communication/netmanager_ext/test/vpnmanager/unittest/conn_vpn_manager_test/
H A Dnet_conn_service_test.cpp907 bool dnsHealthSuccess = true; in HWTEST_F() local
909 ret = NetConnService::GetInstance()->NetDetectionForDnsHealth(netId, dnsHealthSuccess); in HWTEST_F()

Completed in 15 milliseconds