Searched refs:PrivateDnsMode (Results 1 – 8 of 8) sorted by relevance
/packages/modules/DnsResolver/ |
D | PrivateDnsConfigurationTest.cpp | 114 void expectPrivateDnsStatus(PrivateDnsMode mode) { in expectPrivateDnsStatus() 119 bool checkPrivateDnsStatus(PrivateDnsMode mode) { in checkPrivateDnsStatus() 158 expectPrivateDnsStatus(PrivateDnsMode::OPPORTUNISTIC); in TEST_F() 171 expectPrivateDnsStatus(PrivateDnsMode::OPPORTUNISTIC); in TEST_F() 187 expectPrivateDnsStatus(PrivateDnsMode::OPPORTUNISTIC); in TEST_F() 208 expectPrivateDnsStatus(PrivateDnsMode::OPPORTUNISTIC); in TEST_F() 221 expectPrivateDnsStatus(PrivateDnsMode::OPPORTUNISTIC); in TEST_F() 227 expectPrivateDnsStatus(PrivateDnsMode::OPPORTUNISTIC); in TEST_F() 234 expectPrivateDnsStatus(PrivateDnsMode::OPPORTUNISTIC); in TEST_F() 238 expectPrivateDnsStatus(PrivateDnsMode::OPPORTUNISTIC); in TEST_F() [all …]
|
D | PrivateDnsCommon.h | 40 enum class PrivateDnsMode : uint8_t { enum 65 constexpr const char* getPrivateDnsModeString(PrivateDnsMode mode) { in getPrivateDnsModeString() 67 case PrivateDnsMode::OFF: in getPrivateDnsModeString() 69 case PrivateDnsMode::OPPORTUNISTIC: in getPrivateDnsModeString() 71 case PrivateDnsMode::STRICT: in getPrivateDnsModeString()
|
D | PrivateDnsConfiguration.cpp | 102 PrivateDnsModes convertEnumType(PrivateDnsMode mode) { in convertEnumType() 104 case PrivateDnsMode::OFF: in convertEnumType() 106 case PrivateDnsMode::OPPORTUNISTIC: in convertEnumType() 108 case PrivateDnsMode::STRICT: in convertEnumType() 130 mPrivateDnsModes[netId] = PrivateDnsMode::STRICT; in set() 132 mPrivateDnsModes[netId] = PrivateDnsMode::OPPORTUNISTIC; in set() 134 mPrivateDnsModes[netId] = PrivateDnsMode::OFF; in set() 202 .mode = PrivateDnsMode::OFF, in getStatusLocked() 311 } else if (it->second != PrivateDnsMode::OPPORTUNISTIC) { in requestDotValidation() 450 if (success || (mode->second == PrivateDnsMode::OFF) || in recordDotValidation() [all …]
|
D | PrivateDnsConfiguration.h | 43 PrivateDnsModes convertEnumType(PrivateDnsMode mode); 46 PrivateDnsMode mode; 178 std::map<unsigned, PrivateDnsMode> mPrivateDnsModes GUARDED_BY(mPrivateDnsLock);
|
D | res_send.cpp | 143 using android::net::PrivateDnsMode; 173 const Slice answer, int* rcode, PrivateDnsMode mode); 1315 case PrivateDnsMode::OFF: { in res_private_dns_send() 1319 case PrivateDnsMode::OPPORTUNISTIC: { in res_private_dns_send() 1328 case PrivateDnsMode::STRICT: { in res_private_dns_send() 1413 const Slice answer, int* rcode, PrivateDnsMode mode) { in res_tls_send() 1417 (mode == PrivateDnsMode::STRICT) in res_tls_send() 1425 if (mode == PrivateDnsMode::OPPORTUNISTIC) { in res_tls_send()
|
D | DnsProxyListener.cpp | 116 case PrivateDnsMode::OPPORTUNISTIC: in queryingViaTls() 118 case PrivateDnsMode::STRICT: in queryingViaTls()
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | ConnectivitySettingsManager.java | 381 public @interface PrivateDnsMode {} annotation in ConnectivitySettingsManager 774 @PrivateDnsMode 785 public static void setPrivateDnsMode(@NonNull Context context, @PrivateDnsMode int mode) { in setPrivateDnsMode() 816 @PrivateDnsMode 830 @NonNull @PrivateDnsMode int mode) { in setPrivateDnsDefaultMode()
|
/packages/modules/DnsResolver/doh/ |
D | metrics.rs | 22 PrivateDnsMode as StatsdPrivateDnsMode, Protocol as StatsdProtocol, Result as StatsdResult,
|