Lines Matching refs:ServerIdentity
31 using ServerIdentity = PrivateDnsConfiguration::ServerIdentity; typedef in android::net::PrivateDnsConfigurationTest
119 bool hasPrivateDnsServer(const ServerIdentity& identity, unsigned netId) { in hasPrivateDnsServer()
194 EXPECT_TRUE(mPdc.requestValidation(kNetId, ServerIdentity(server), kMark).ok()); in TEST_F()
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()
377 EXPECT_TRUE(hasPrivateDnsServer(ServerIdentity(server1), kNetId)); in TEST_F()
378 EXPECT_FALSE(hasPrivateDnsServer(ServerIdentity(server2), kNetId)); in TEST_F()
379 EXPECT_FALSE(hasPrivateDnsServer(ServerIdentity(server1), kNetId + 1)); in TEST_F()