Lines Matching refs:mappings
235 std::vector<DnsResponderClient::DnsResponderClient::Mapping> mappings; in RunGetAddrInfoStressTest_Binder() local
236 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(num_hosts, domains, &mappings)); in RunGetAddrInfoStressTest_Binder()
237 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(MAXNS, mappings, &dns, &servers)); in RunGetAddrInfoStressTest_Binder()
244 thread = std::thread([&mappings, num_queries]() { in RunGetAddrInfoStressTest_Binder()
246 uint32_t ofs = arc4random_uniform(mappings.size()); in RunGetAddrInfoStressTest_Binder()
247 auto& mapping = mappings[ofs]; in RunGetAddrInfoStressTest_Binder()
520 std::vector<DnsResponderClient::Mapping> mappings; in TEST_F() local
521 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(1, domains, &mappings)); in TEST_F()
522 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(4, mappings, &dns, &servers)); in TEST_F()
523 ASSERT_EQ(1U, mappings.size()); in TEST_F()
524 const DnsResponderClient::Mapping& mapping = mappings[0]; in TEST_F()
1087 std::vector<DnsResponderClient::Mapping> mappings; in TEST_F() local
1092 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(1, domains, &mappings)); in TEST_F()
1093 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupDNSServers(MAXNS + 1, mappings, &dns, &servers)); in TEST_F()