Home
last modified time | relevance | path

Searched refs:num_hosts (Results 1 – 6 of 6) sorted by relevance

/system/netd/tests/benchmarks/
Ddns_benchmark.cpp56 static constexpr unsigned num_hosts = 1000; member in DnsFixture
68 dns.SetupMappings(num_hosts, domains, &mappings); in SetUp()
/system/netd/resolv/dns_responder/
Ddns_responder_client.cpp34 void DnsResponderClient::SetupMappings(unsigned num_hosts, const std::vector<std::string>& domains, in SetupMappings() argument
36 mappings->resize(num_hosts * domains.size()); in SetupMappings()
38 for (unsigned i = 0 ; i < num_hosts ; ++i) { in SetupMappings()
Ddns_responder_client.h57 static void SetupMappings(unsigned num_hosts, const std::vector<std::string>& domains,
/system/nfc/src/nfa/include/
Dnfa_hci_api.h188 uint8_t num_hosts; /* Number of hosts in the host network */ member
/system/netd/resolv/
Dresolver_test.cpp230 void RunGetAddrInfoStressTest_Binder(unsigned num_hosts, unsigned num_threads, in RunGetAddrInfoStressTest_Binder() argument
236 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(num_hosts, domains, &mappings)); in RunGetAddrInfoStressTest_Binder()
269 ALOGI("%u hosts, %u threads, %u queries, %Es", num_hosts, num_threads, num_queries, in RunGetAddrInfoStressTest_Binder()
980 const unsigned num_hosts = 100; in TEST_F() local
983 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest_Binder(num_hosts, num_threads, num_queries)); in TEST_F()
987 const unsigned num_hosts = 100000; in TEST_F() local
990 ASSERT_NO_FATAL_FAILURE(RunGetAddrInfoStressTest_Binder(num_hosts, num_threads, num_queries)); in TEST_F()
/system/nfc/src/nfa/hci/
Dnfa_hci_act.cc1502 evt_data.hosts.num_hosts = data_len; in nfa_hci_handle_admin_gate_rsp()