Searched refs:ServerIdentity (Results 1 – 4 of 4) sorted by relevance
/aosp12/packages/modules/DnsResolver/ |
H A D | PrivateDnsConfiguration.h | 58 struct ServerIdentity { struct 62 explicit ServerIdentity(const IPrivateDnsServer& server) in ServerIdentity() argument 65 bool operator<(const ServerIdentity& other) const { 68 bool operator==(const ServerIdentity& other) const { 88 base::Result<void> requestValidation(unsigned netId, const ServerIdentity& identity, 96 typedef std::map<ServerIdentity, std::unique_ptr<IPrivateDnsServer>> PrivateDnsTracker; 102 void startValidation(const ServerIdentity& identity, unsigned netId, bool isRevalidation) 116 void updateServerState(const ServerIdentity& identity, Validation state, uint32_t netId) 123 base::Result<IPrivateDnsServer*> getPrivateDnsLocked(const ServerIdentity& identity, 151 RecordEntry(uint32_t netId, const ServerIdentity& identity, Validation state) in RecordEntry() [all …]
|
H A D | PrivateDnsConfigurationTest.cpp | 31 using ServerIdentity = PrivateDnsConfiguration::ServerIdentity; typedef in android::net::PrivateDnsConfigurationTest 294 EXPECT_EQ(ServerIdentity(server), ServerIdentity(other)); in TEST_F() 296 EXPECT_NE(ServerIdentity(server), ServerIdentity(other)); in TEST_F() 298 EXPECT_NE(ServerIdentity(server), ServerIdentity(other)); in TEST_F() 302 EXPECT_EQ(ServerIdentity(server), ServerIdentity(other)); in TEST_F() 304 EXPECT_NE(ServerIdentity(server), ServerIdentity(other)); in TEST_F() 306 EXPECT_NE(ServerIdentity(server), ServerIdentity(other)); in TEST_F() 311 const ServerIdentity identity(server); in TEST_F() 368 EXPECT_FALSE(hasPrivateDnsServer(ServerIdentity(server1), kNetId)); in TEST_F() 369 EXPECT_FALSE(hasPrivateDnsServer(ServerIdentity(server2), kNetId)); in TEST_F() [all …]
|
H A D | PrivateDnsConfiguration.cpp | 76 tmp[ServerIdentity(*server)] = std::move(server); in set() 149 const ServerIdentity& identity, in requestValidation() 186 void PrivateDnsConfiguration::startValidation(const ServerIdentity& identity, unsigned netId, in startValidation() 240 void PrivateDnsConfiguration::sendPrivateDnsValidationEvent(const ServerIdentity& identity, in sendPrivateDnsValidationEvent() 270 bool PrivateDnsConfiguration::recordPrivateDnsValidation(const ServerIdentity& identity, in recordPrivateDnsValidation() 333 void PrivateDnsConfiguration::updateServerState(const ServerIdentity& identity, Validation state, in updateServerState() 367 const ServerIdentity& identity, unsigned netId) { in getPrivateDns() 373 const ServerIdentity& identity, unsigned netId) { in getPrivateDnsLocked()
|
H A D | DnsTlsDispatcher.cpp | 218 netId, PrivateDnsConfiguration::ServerIdentity{server}, mark); in query()
|