Lines Matching refs:tracker
101 auto& tracker = netPair->second; in set() local
104 for (auto it = tracker.begin(); it != tracker.end();) { in set()
106 it = tracker.erase(it); in set()
114 if (needsValidation(tracker, server)) { in set()
115 validatePrivateDnsProvider(server, tracker, netId, mark); in set()
173 PrivateDnsTracker& tracker, unsigned netId, in validatePrivateDnsProvider() argument
179 tracker[server] = Validation::in_process; in validatePrivateDnsProvider()
182 addrToString(&server.ss).c_str(), tracker.size()); in validatePrivateDnsProvider()
251 auto& tracker = netPair->second; in recordPrivateDnsValidation() local
252 auto serverPair = tracker.find(server); in recordPrivateDnsValidation()
253 if (serverPair == tracker.end()) { in recordPrivateDnsValidation()
283 tracker[server] = Validation::success; in recordPrivateDnsValidation()
286 addrToString(&server.ss).c_str(), tracker.size()); in recordPrivateDnsValidation()
292 tracker[server] = (reevaluationStatus == NEEDS_REEVALUATION) ? Validation::in_process in recordPrivateDnsValidation()
306 bool PrivateDnsConfiguration::needsValidation(const PrivateDnsTracker& tracker, in needsValidation() argument
308 const auto& iter = tracker.find(server); in needsValidation()
309 return (iter == tracker.end()) || (iter->second == Validation::fail); in needsValidation()