Lines Matching refs:Validation

177         if (!server.active() && server.validationState() == Validation::success) {  in setDot()
178 updateServerState(identity, Validation::success_but_expired, netId); in setDot()
182 updateServerState(identity, Validation::in_process, netId); in setDot()
274 entry.second == Validation::success; in getStatusForMetrics()
324 if (target->validationState() != Validation::success) { in requestDotValidation()
333 updateServerState(identity, Validation::in_process, netId); in requestDotValidation()
438 notifyValidationStateUpdate(identity.sockaddr, Validation::fail, netId); in recordDotValidation()
445 notifyValidationStateUpdate(identity.sockaddr, Validation::fail, netId); in recordDotValidation()
475 updateServerState(identity, Validation::success, netId); in recordDotValidation()
480 const auto result = (reevaluationStatus == NEEDS_REEVALUATION) ? Validation::in_process in recordDotValidation()
481 : Validation::fail; in recordDotValidation()
489 void PrivateDnsConfiguration::updateServerState(const ServerIdentity& identity, Validation state, in updateServerState()
493 notifyValidationStateUpdate(identity.sockaddr, Validation::fail, netId); in updateServerState()
511 if (server.validationState() == Validation::unknown_server) return true; in needsValidation()
514 if (server.validationState() == Validation::fail) return true; in needsValidation()
517 if (server.validationState() == Validation::success_but_expired) return true; in needsValidation()
560 Validation validation, in notifyValidationStateUpdate()
623 it->second.status == Validation::success) { in setDoh()
687 Validation status = success ? Validation::success : Validation::fail; in onDohStatusUpdate()
713 (server.validationState() == Validation::success)) { in needReportEvent()
726 if (it->second == identity && it->second.status == Validation::success) { in needReportEvent()