Home
last modified time | relevance | path

Searched refs:PrivateDnsMode (Results 1 – 5 of 5) sorted by relevance

/system/netd/resolv/
DPrivateDnsConfiguration.h33 enum class PrivateDnsMode : uint8_t { OFF, OPPORTUNISTIC, STRICT }; enum
39 PrivateDnsMode mode;
45 PrivateDnsMode mode;
81 std::map<unsigned, PrivateDnsMode> mPrivateDnsModes GUARDED_BY(mPrivateDnsLock);
DResolverController.cpp58 const char* getPrivateDnsModeString(PrivateDnsMode mode) { in getPrivateDnsModeString()
60 case PrivateDnsMode::OFF: in getPrivateDnsModeString()
62 case PrivateDnsMode::OPPORTUNISTIC: in getPrivateDnsModeString()
64 case PrivateDnsMode::STRICT: in getPrivateDnsModeString()
265 ExternalPrivateDnsStatus privateDnsStatus = {PrivateDnsMode::OFF, 0, {}}; in getResolverInfo()
358 ExternalPrivateDnsStatus privateDnsStatus = {PrivateDnsMode::OFF, 0, {}}; in dump()
361 getPrivateDnsModeString(static_cast<PrivateDnsMode>(privateDnsStatus.mode))); in dump()
DPrivateDnsConfiguration.cpp81 mPrivateDnsModes[netId] = PrivateDnsMode::STRICT; in set()
83 mPrivateDnsModes[netId] = PrivateDnsMode::OPPORTUNISTIC; in set()
85 mPrivateDnsModes[netId] = PrivateDnsMode::OFF; in set()
122 PrivateDnsStatus status{PrivateDnsMode::OFF, {}}; in getStatus()
246 const bool modeDoesReevaluation = (mode->second == PrivateDnsMode::STRICT); in recordPrivateDnsValidation()
DDnsProxyListener.cpp122 ExternalPrivateDnsStatus privateDnsStatus = {PrivateDnsMode::OFF, 0, {}}; in queryingViaTls()
124 switch (static_cast<PrivateDnsMode>(privateDnsStatus.mode)) { in queryingViaTls()
125 case PrivateDnsMode::OPPORTUNISTIC: in queryingViaTls()
132 case PrivateDnsMode::STRICT: in queryingViaTls()
Dres_send.cpp1222 if (privateDnsStatus.mode == PrivateDnsMode::OFF) { in res_tls_send()
1228 if (privateDnsStatus.mode == PrivateDnsMode::OPPORTUNISTIC) { in res_tls_send()
1264 if (privateDnsStatus.mode == PrivateDnsMode::OPPORTUNISTIC) { in res_tls_send()