Lines Matching refs:Validation
108 // Structure for tracking the validation status of servers on a specific netid.
109 // Servers that fail validation are removed from the tracker, and can be retried.
110 enum class Validation : bool { in_process, success };
111 typedef std::map<PrivateDnsServer, Validation> PrivateDnsTracker;
163 tracker[privateServer] = Validation::in_process;
172 ALOGW("netId %u was erased during private DNS validation", netId);
177 ALOGW("Server was removed during private DNS validation");
181 tracker[privateServer] = Validation::success;
183 // Validation failure is expected if a user is on a captive portal.
184 // TODO: Trigger a second validation attempt after captive portal login
224 if (serverPair == tracker.end() || serverPair->second != Validation::success) {