Searched refs:PrivateDnsMode (Results 1 – 5 of 5) sorted by relevance
99 mPrivateDnsModes[netId] = PrivateDnsMode::STRICT; in set()101 mPrivateDnsModes[netId] = PrivateDnsMode::OPPORTUNISTIC; in set()103 mPrivateDnsModes[netId] = PrivateDnsMode::OFF; in set()147 PrivateDnsStatus status{PrivateDnsMode::OFF, {}}; in getStatus()247 const bool modeDoesReevaluation = (mode->second == PrivateDnsMode::STRICT); in recordPrivateDnsValidation()
32 enum class PrivateDnsMode : uint8_t { OFF, OPPORTUNISTIC, STRICT }; enum38 PrivateDnsMode mode;81 std::map<unsigned, PrivateDnsMode> mPrivateDnsModes GUARDED_BY(mPrivateDnsLock);
138 using android::net::PrivateDnsMode;1194 PrivateDnsModes convertEnumType(PrivateDnsMode privateDnsmode) { in convertEnumType()1196 case PrivateDnsMode::OFF: in convertEnumType()1198 case PrivateDnsMode::OPPORTUNISTIC: in convertEnumType()1200 case PrivateDnsMode::STRICT: in convertEnumType()1215 if (privateDnsStatus.mode == PrivateDnsMode::OFF) { in res_tls_send()1221 if (privateDnsStatus.mode == PrivateDnsMode::OPPORTUNISTIC) { in res_tls_send()1259 if (privateDnsStatus.mode == PrivateDnsMode::OPPORTUNISTIC) { in res_tls_send()
56 const char* getPrivateDnsModeString(PrivateDnsMode mode) { in getPrivateDnsModeString()58 case PrivateDnsMode::OFF: in getPrivateDnsModeString()60 case PrivateDnsMode::OPPORTUNISTIC: in getPrivateDnsModeString()62 case PrivateDnsMode::STRICT: in getPrivateDnsModeString()
121 case PrivateDnsMode::OPPORTUNISTIC: in queryingViaTls()123 case PrivateDnsMode::STRICT: in queryingViaTls()298 case PrivateDnsMode::OFF: in getPrivateDnsModeForMetrics()301 case PrivateDnsMode::OPPORTUNISTIC: in getPrivateDnsModeForMetrics()303 case PrivateDnsMode::STRICT: in getPrivateDnsModeForMetrics()