Lines Matching refs:vector

222     void StartDns(test::DNSResponder& dns, const std::vector<DnsRecord>& records) {  in StartDns()
253 const std::vector<std::string>& ipAddresses) { in ExpectDnsEvent()
268 bool expectStatsNotGreaterThan(const std::vector<NameserverStats>& nameserversStats) { in expectStatsNotGreaterThan()
272 bool expectStatsEqualTo(const std::vector<NameserverStats>& nameserversStats) { in expectStatsEqualTo()
276 bool expectStatsFromGetResolverInfo(const std::vector<NameserverStats>& nameserversStats, in expectStatsFromGetResolverInfo()
278 std::vector<std::string> res_servers; in expectStatsFromGetResolverInfo()
279 std::vector<std::string> res_domains; in expectStatsFromGetResolverInfo()
280 std::vector<std::string> res_tls_servers; in expectStatsFromGetResolverInfo()
282 std::vector<ResolverStats> res_stats; in expectStatsFromGetResolverInfo()
398 const std::vector<DnsRecord> records = { in TEST_F()
451 const std::vector<DnsRecord> records = { in TEST_F()
566 std::vector<int> params_offsets = { in TEST_F()
583 std::vector<std::string> domains = {"example.com"}; in TEST_F()
584 std::vector<std::unique_ptr<test::DNSResponder>> dns; in TEST_F()
585 std::vector<std::string> servers; in TEST_F()
586 std::vector<DnsResponderClient::Mapping> mappings; in TEST_F()
607 std::vector<std::string> res_servers; in TEST_F()
608 std::vector<std::string> res_domains; in TEST_F()
609 std::vector<std::string> res_tls_servers; in TEST_F()
611 std::vector<ResolverStats> res_stats; in TEST_F()
639 const std::vector<DnsRecord> records = { in TEST_F()
766 const std::vector<std::string> servers_for_t1 = {listen_addr1}; in TEST_F()
767 const std::vector<std::string> servers_for_t2 = {listen_addr2}; in TEST_F()
768 const std::vector<std::string> servers_for_t3 = {listen_addr3}; in TEST_F()
770 const std::vector<int> params = {300, 25, 8, 8, 5000}; in TEST_F()
796 std::vector<std::string> res_servers; in TEST_F()
797 std::vector<std::string> res_domains; in TEST_F()
798 std::vector<std::string> res_tls_servers; in TEST_F()
800 std::vector<ResolverStats> res_stats; in TEST_F()
831 const std::vector<DnsRecord> records = { in TEST_F()
858 const std::vector<DnsRecord> records = { in TEST_F()
876 const std::vector<DnsRecord> records = { in TEST_F()
894 std::vector<std::string> searchDomains = {"example1.com", "example2.com", "example3.com"}; in TEST_F()
944 std::vector<std::string> servers = {listen_addr0, listen_addr1}; in TEST_F()
947 const std::vector<int> params = {300, 25, sample_count, sample_count}; in TEST_F()
975 const std::vector<std::string> defaultSearchDomain = {"example.com"}; in TEST_F()
978 const std::vector<int> reduceRetryParams = { in TEST_F()
985 const std::vector<DnsRecord> records0 = { in TEST_F()
989 const std::vector<DnsRecord> records1 = { in TEST_F()
1039 const std::vector<std::string> servers = {listen_addr0, listen_addr1, listen_addr2}; in TEST_F()
1040 std::vector<std::thread> threads(10); in TEST_F()
1045 std::vector<std::string> serverSubset; in TEST_F()
1067 std::vector<std::string> res_servers; in TEST_F()
1068 std::vector<std::string> res_domains; in TEST_F()
1069 std::vector<std::string> res_tls_servers; in TEST_F()
1071 std::vector<ResolverStats> res_stats; in TEST_F()
1110 const std::vector<NameserverStats> targetStats = { in TEST_F()
1163 const std::vector<NameserverStats> targetStats = { in TEST_F()
1185 const std::vector<aidl::android::net::ResolverHostsParcel> invalidCustHosts = { in TEST_F()
1213 const std::vector<aidl::android::net::ResolverHostsParcel> custHostV4 = { in TEST_F()
1216 const std::vector<aidl::android::net::ResolverHostsParcel> custHostV6 = { in TEST_F()
1219 const std::vector<aidl::android::net::ResolverHostsParcel> custHostV4V6 = { in TEST_F()
1223 const std::vector<DnsRecord> dnsSvHostV4 = { in TEST_F()
1226 const std::vector<DnsRecord> dnsSvHostV6 = { in TEST_F()
1229 const std::vector<DnsRecord> dnsSvHostV4V6 = { in TEST_F()
1235 const std::vector<aidl::android::net::ResolverHostsParcel> customizedHosts; in TEST_F()
1236 const std::vector<DnsRecord> dnsserverHosts; in TEST_F()
1237 const std::vector<std::string> queryResult; in TEST_F()
1291 const std::vector<DnsRecord> dnsSvHostV4V6 = { in TEST_F()
1295 const std::vector<aidl::android::net::ResolverHostsParcel> custHostV4V6 = { in TEST_F()
1320 std::vector<std::string> servers; in TEST_F()
1321 std::vector<std::string> domains; in TEST_F()
1323 std::vector<std::string> res_servers; in TEST_F()
1324 std::vector<std::string> res_domains; in TEST_F()
1325 std::vector<std::string> res_tls_servers; in TEST_F()
1327 std::vector<ResolverStats> res_stats; in TEST_F()
1351 std::vector<std::string> servers = {listen_addr}; in TEST_F()
1352 std::vector<std::string> domains = {"domain1.org"}; in TEST_F()
1354 const std::vector<DnsRecord> records = { in TEST_F()
1383 std::vector<std::string> getResolverDomains(aidl::android::net::IDnsResolver* dnsResolverService, in getResolverDomains()
1385 std::vector<std::string> res_servers; in getResolverDomains()
1386 std::vector<std::string> res_domains; in getResolverDomains()
1387 std::vector<std::string> res_tls_servers; in getResolverDomains()
1389 std::vector<ResolverStats> res_stats; in getResolverDomains()
1406 std::vector<std::string> servers = {listen_addr}; in TEST_F()
1408 std::vector<std::string> testDomains1; in TEST_F()
1409 std::vector<std::string> testDomains2; in TEST_F()
1426 const std::vector<DnsRecord> records = { in TEST_F()
1464 std::vector<std::string>({"domain0.org", "domain1.org", "domain2.org", domian_name2}), in TEST_F()
1470 static void setupTlsServers(const std::vector<std::string>& servers, in setupTlsServers()
1471 std::vector<std::unique_ptr<test::DnsTlsFrontend>>* tls) { in setupTlsServers()
1484 std::vector<std::string> domains; in TEST_F()
1485 std::vector<std::unique_ptr<test::DNSResponder>> dns; in TEST_F()
1486 std::vector<std::unique_ptr<test::DnsTlsFrontend>> tls; in TEST_F()
1487 std::vector<std::string> servers; in TEST_F()
1488 std::vector<DnsResponderClient::Mapping> mappings; in TEST_F()
1510 std::vector<std::string> res_servers; in TEST_F()
1511 std::vector<std::string> res_domains; in TEST_F()
1512 std::vector<std::string> res_tls_servers; in TEST_F()
1514 std::vector<ResolverStats> res_stats; in TEST_F()
1549 std::vector<std::string> servers = {listen_addr1, listen_addr2, listen_addr3}; in TEST_F()
1560 const std::vector<NameserverStats> expectedCleartextDnsStats = { in TEST_F()
1618 const std::vector<NameserverStats> expectedCleartextDnsStats = { in TEST_F()
1633 std::vector<std::string> servers = {listen_addr}; in TEST_F()
1654 const std::vector<DnsRecord> records = { in TEST_F()
1661 std::vector<std::string> servers = {listen_addr}; in TEST_F()
1715 const std::vector<DnsRecord> records = { in TEST_F()
1723 std::vector<std::string> servers = {listen_addr}; in TEST_F()
1766 const std::vector<DnsRecord> records1 = { in TEST_F()
1770 const std::vector<DnsRecord> records2 = { in TEST_F()
1780 std::vector<std::string> servers = {listen_addr1, listen_addr2}; in TEST_F()
1825 std::vector<std::string> servers = {listen_addr}; in TEST_F()
1848 const std::vector<DnsRecord> records = { in TEST_F()
1855 std::vector<std::string> servers = {listen_addr}; in TEST_F()
1896 const std::vector<std::string> servers = {cleartext_addr}; in TEST_F()
2019 const std::vector<std::string> servers = {cleartext_addr}; in TEST_F()
2021 const std::vector<DnsRecord> records = { in TEST_F()
2121 const std::vector<DnsRecord> records = { in TEST_F()
2128 std::vector<std::string> servers = {listen_addr}; in TEST_F()
2169 const std::vector<DnsRecord> records = { in TEST_F()
2176 std::vector<std::string> servers = {listen_addr}; in TEST_F()
2212 const std::vector<DnsRecord> records = { in TEST_F()
2219 std::vector<std::string> servers = {listen_addr}; in TEST_F()
2279 const std::vector<DnsRecord> records = { in TEST_F()
2286 std::vector<std::string> servers = {listen_addr}; in TEST_F()
2343 const std::vector<DnsRecord> records = { in TEST_F()
2351 std::vector<std::string> servers = {listen_addr}; in TEST_F()
2481 const std::vector<DnsRecord> records = { in TEST_F()
2487 std::vector<std::string> servers = {listen_addr}; in TEST_F()
2528 const std::vector<DnsRecord> records = { in TEST_F()
2585 const std::vector<DnsRecord> records = { in TEST_F()
2592 std::vector<std::string> servers = {listen_addr}; in TEST_F()
2683 const std::vector<std::string> servers = {CLEARTEXT_ADDR}; in TEST_F()
2861 const std::vector<std::string> servers = {CLEARTEXT_ADDR}; in TEST_F()
2893 const std::vector<std::string> servers = {CLEARTEXT_ADDR}; in TEST_F()
2921 const std::vector<DnsRecord> records = { in TEST_F()
2929 std::vector<std::string> servers = {listen_addr}; in TEST_F()
2968 const std::vector<DnsRecord> records = { in TEST_F()
2975 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3004 const std::vector<DnsRecord> records = { in TEST_F()
3012 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3025 const std::vector<std::string> result_strs = ToStrings(result); in TEST_F()
3036 const std::vector<DnsRecord> records = { in TEST_F()
3043 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3078 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3134 const std::vector<DnsRecord> records = { in TEST_F()
3143 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3163 std::vector<std::string> result_strs = ToStrings(result); in TEST_F()
3184 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3225 std::vector<std::string> result_strs = ToStrings(result); in TEST_F()
3258 const std::vector<DnsRecord> records = { in TEST_F()
3266 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3301 const std::vector<DnsRecord> records = { in TEST_F()
3310 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3356 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3388 const static std::vector<DnsRecord> records = { in TEST_F()
3422 const std::vector<DnsRecord> records = { in TEST_F()
3430 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3503 const std::vector<DnsRecord> records = { in TEST_F()
3511 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3584 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3614 const static std::vector<DnsRecord> records = { in TEST_F()
3645 const std::vector<DnsRecord> records = { in TEST_F()
3652 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3671 const std::vector<DnsRecord> records = { in TEST_F()
3679 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3720 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3767 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3812 const std::vector<DnsRecord> records = { in TEST_F()
3820 const std::vector<std::string> servers = {listen_addr}; in TEST_F()
3910 const std::vector<DnsRecord> newRecords = { in TEST_F()
4099 const std::vector<DnsRecord> records = { in TEST_F()
4110 std::vector<std::string> servers = {listen_addr1, listen_addr2}; in TEST_F()
4141 const std::vector<DnsRecord> records = { in TEST_F()
4206 const std::vector<DnsRecord> records = { in TEST_F()
4481 const std::vector<NameserverStats> expectedCleartextDnsStats = { in TEST_F()
4490 std::vector<std::string> servers; in TEST_F()
4491 std::vector<std::string> tlsServers; in TEST_F()
4574 std::vector<std::string> tlsServers; in TEST_F()
4916 const std::vector<uint8_t> kResponseAPointer = { in TEST_P()
4974 const std::vector<uint8_t> kResponseLabelEndingWithAPointer = { in TEST_P()
5027 const std::vector<DnsRecord> records = { in TEST_F()
5030 const std::vector<int> params = {300, 25, 8, 8, 1000 /* BASE_TIMEOUT_MSEC */, in TEST_F()
5070 const std::vector<DnsRecord> records = { in TEST_F()
5074 const std::vector<int> params = {300, 25, 8, 8, DNS_TIMEOUT_MS /* BASE_TIMEOUT_MSEC */, in TEST_F()
5106 const std::vector<DnsRecord> records = { in TEST_F()
5110 const std::vector<int> params = {300, 25, 8, 8, 1000 /* BASE_TIMEOUT_MSEC */, in TEST_F()
5160 std::vector<std::string> servers = {listen_addr1, listen_addr2}; in TEST_F()
5174 const std::vector<NameserverStats> expectedEmptyDnsStats = { in TEST_F()
5252 std::vector<std::unique_ptr<test::DNSResponder>> mDnsServers;
5265 void StartDns(test::DNSResponder& dns, const std::vector<DnsRecord>& records);
5326 const std::vector<DnsRecord>& records) { in StartDns()
5408 std::vector<std::string> result_strs = ToStrings(ai_result); in TEST_F()
5409 std::vector<std::string> expectedResult; in TEST_F()