/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/ |
D | DomainUrlsUtilsTest.java | 79 ArraySet<String> domains = new ArraySet<>(); in getDomainsSummary_domainStatusSet_oneDomain_showSingleDomain() local 80 domains.add("test.domain.com"); in getDomainsSummary_domainStatusSet_oneDomain_showSingleDomain() 83 domains)).isEqualTo( in getDomainsSummary_domainStatusSet_oneDomain_showSingleDomain() 84 mContext.getString(R.string.domain_urls_summary_one, domains.valueAt(0))); in getDomainsSummary_domainStatusSet_oneDomain_showSingleDomain() 91 ArraySet<String> domains = new ArraySet<>(); in getDomainsSummary_domainStatusSet_multipleDomain_showMultipleDomains() local 92 domains.add("test.domain.com"); in getDomainsSummary_domainStatusSet_multipleDomain_showMultipleDomains() 93 domains.add("test.domain2.com"); in getDomainsSummary_domainStatusSet_multipleDomain_showMultipleDomains() 96 domains)).isEqualTo( in getDomainsSummary_domainStatusSet_multipleDomain_showMultipleDomains() 97 mContext.getString(R.string.domain_urls_summary_some, domains.valueAt(0))); in getDomainsSummary_domainStatusSet_multipleDomain_showMultipleDomains() 104 ArraySet<String> domains = new ArraySet<>(); in getHandledDomains_includeIntentFilterVerificationInfoDomains() local [all …]
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_responder_client_ndk.cpp | 40 void DnsResponderClient::SetupMappings(unsigned numHosts, const std::vector<std::string>& domains, in SetupMappings() argument 42 mappings->resize(numHosts * domains.size()); in SetupMappings() 45 for (const auto& domain : domains) { in SetupMappings() 59 const std::vector<std::string>& domains, const std::string& tlsHostname, in makeResolverParamsParcel() argument 79 paramsParcel.domains = domains; in makeResolverParamsParcel() 95 std::vector<std::string>* domains, in GetResolverInfo() argument 103 auto rv = dnsResolverService->getResolverInfo(netId, servers, domains, tlsServers, ¶ms32, in GetResolverInfo() 140 const std::vector<std::string>& domains, in SetResolversForNetwork() argument 143 makeResolverParamsParcel(TEST_NETID, params, servers, domains, "", {}, ""); in SetResolversForNetwork() 149 const std::vector<std::string>& domains, in SetResolversWithTls() argument [all …]
|
D | dns_responder_client_ndk.h | 63 static void SetupMappings(unsigned num_hosts, const std::vector<std::string>& domains, 68 const std::vector<std::string>& domains = kDefaultSearchDomains, 93 std::vector<std::string>* domains, 107 const std::vector<std::string>& domains, const std::string& tlsHostname,
|
/packages/modules/DnsResolver/ |
D | resolv_cache_unit_test.cpp | 60 std::vector<std::string> domains; member 205 return resolv_set_nameservers(netId, setup.servers, setup.domains, setup.params, in cacheSetupResolver() 220 char domains[MAXDNSRCH][MAXDNSRCHPATH]; in expectCacheStats() local 224 android_net_res_stats_get_info_for_net(netId, &nscount, servers, &dcount, domains, ¶ms, in expectCacheStats() 234 EXPECT_EQ(dcount, static_cast<int>(expected.setup.domains.size())) << msg; in expectCacheStats() 236 EXPECT_EQ(std::string(domains[i]), expected.setup.domains[i]) << msg; in expectCacheStats() 626 .domains = {"domain1.com", "domain2.com"}, in TEST_F() 650 .domains = {"domain1.com"}, in TEST_F() 673 .domains = {}, in TEST_F() 683 setup.domains = {validDomain1, domainTooLong, validDomain2}; in TEST_F() [all …]
|
D | ResolverController.cpp | 95 int getDnsInfo(unsigned netId, std::vector<std::string>* servers, std::vector<std::string>* domains, in getDnsInfo() argument 117 domains->clear(); in getDnsInfo() 166 domains->push_back(res_domains[i]); in getDnsInfo() 235 resolverParams.domains, res_params, in setResolverConfiguration() 240 std::vector<std::string>* domains, in getResolverInfo() argument 248 int ret = getDnsInfo(netId, servers, domains, &res_params, &res_stats, in getResolverInfo() 296 std::vector<std::string> domains; in dump() local 301 int rv = getDnsInfo(netId, &servers, &domains, ¶ms, &stats, in dump() 334 if (domains.empty()) { in dump() 337 std::string domains_str = android::base::Join(domains, ", "); in dump()
|
D | DnsResolverService.cpp | 194 .args(resolverParams.netId, resolverParams.servers, resolverParams.domains, in setResolverConfiguration() 207 int32_t netId, std::vector<std::string>* servers, std::vector<std::string>* domains, in getResolverInfo() argument 213 int res = gDnsResolv->resolverCtrl.getResolverInfo(netId, servers, domains, tlsServers, params, in getResolverInfo()
|
D | resolv_callback_unit_test.cpp | 122 const std::vector<std::string> domains = {"example.com"}; in SetResolvers() local 131 return resolv_set_nameservers(TEST_NETID, servers, domains, params); in SetResolvers()
|
D | res_cache.cpp | 1526 std::vector<std::string> filter_domains(const std::vector<std::string>& domains) { in filter_domains() argument 1530 std::copy_if(domains.begin(), domains.end(), std::back_inserter(res), in filter_domains() 1583 const std::vector<std::string>& domains, const res_params& params, in resolv_set_nameservers() argument 1630 netconfig->search_domains = filter_domains(domains); in resolv_set_nameservers() 1728 char domains[MAXDNSRCH][MAXDNSRCHPATH], in android_net_res_stats_get_info_for_net() 1748 strlcpy(domains[i], info->search_domains[i].c_str(), MAXDNSRCHPATH); in android_net_res_stats_get_info_for_net()
|
D | resolv_unit_test.cpp | 127 return resolv_set_nameservers(TEST_NETID, servers, domains, params); in SetResolvers() 138 const std::vector<std::string> domains = {"example.com"}; member in android::net::TestBase 1465 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID, servers, domains, params, resolverOptions, in TEST_F() 1476 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID + 1, servers, domains, params, resolverOptions, in TEST_F() 1487 EXPECT_EQ(0, resolv_set_nameservers(TEST_NETID, servers, domains, params, resolverOptions, in TEST_F()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/ |
D | DomainUrlsUtils.java | 37 ArraySet<String> domains) { in getDomainsSummary() argument 47 if (domains.isEmpty()) { in getDomainsSummary() 49 } else if (domains.size() == 1) { in getDomainsSummary() 50 return context.getString(R.string.domain_urls_summary_one, domains.valueAt(0)); in getDomainsSummary() 52 return context.getString(R.string.domain_urls_summary_some, domains.valueAt(0)); in getDomainsSummary()
|
/packages/modules/NetworkStack/tests/unit/src/android/net/dhcp/ |
D | DhcpResultsParcelableUtilTest.java | 55 mDhcpResults.domains = "example.com"; in setUp() 85 mDhcpResults.domains = null; in testParcelUnparcelDhcpResults_NullDomains() 91 mDhcpResults.domains = ""; in testParcelUnparcelDhcpResults_EmptyDomains()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/ |
D | InstantAppDomainsPreferenceControllerTest.java | 99 final ArraySet<String> domains = new ArraySet<>(); in updateState_shouldSetPreferenceTitle() local 100 domains.add(domain[0]); in updateState_shouldSetPreferenceTitle() 103 new IntentFilterVerificationInfo("Package1", domains); in updateState_shouldSetPreferenceTitle()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_stress_test.cpp | 44 std::vector<std::string> domains = {"example.com"}; in RunGetAddrInfoStressTest() local 48 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(num_hosts, domains, &mappings)); in RunGetAddrInfoStressTest() 51 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains, kDefaultParams)); in RunGetAddrInfoStressTest()
|
D | dnsresolver_binder_test.cpp | 282 std::vector<std::string> domains = {"example.com"}; in TEST_F() local 291 TEST_NETID, testParams, servers, domains, "", {}); in TEST_F() 307 EXPECT_EQ(domains.size(), res_domains.size()); in TEST_F() 329 EXPECT_THAT(res_domains, testing::UnorderedElementsAreArray(domains)); in TEST_F()
|
D | resolv_integration_test.cpp | 583 std::vector<std::string> domains = {"example.com"}; in TEST_F() local 587 ASSERT_NO_FATAL_FAILURE(mDnsClient.SetupMappings(1, domains, &mappings)); in TEST_F() 592 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains, kDefaultParams)); in TEST_F() 617 EXPECT_EQ(domains.size(), res_domains.size()); in TEST_F() 631 EXPECT_THAT(res_domains, testing::UnorderedElementsAreArray(domains)); in TEST_F() 1321 std::vector<std::string> domains; in TEST_F() local 1322 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains)); in TEST_F() 1352 std::vector<std::string> domains = {"domain1.org"}; in TEST_F() local 1360 ASSERT_TRUE(mDnsClient.SetResolversForNetwork(servers, domains)); in TEST_F() 1370 domains = {"domain2.org"}; in TEST_F() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/connectivity/ |
D | NetworkListAdapter.java | 68 vh.domains = convertView.findViewById(R.id.network_domains); in getView() 94 vh.domains.setText(mNetworkList[position].mDomains); in getView() 199 public TextView domains; field in NetworkListAdapter.ViewHolder
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/2/android/net/ |
D | ResolverParamsParcel.aidl | 28 @utf8InCpp String[] domains;
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/1/android/net/ |
D | ResolverParamsParcel.aidl | 11 @utf8InCpp String[] domains;
|
D | IDnsResolver.aidl | 6 …void getResolverInfo(int netId, out @utf8InCpp String[] servers, out @utf8InCpp String[] domains, … in getResolverInfo() argument
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/3/android/net/ |
D | ResolverParamsParcel.aidl | 11 @utf8InCpp String[] domains;
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/current/android/net/ |
D | ResolverParamsParcel.aidl | 29 @utf8InCpp String[] domains;
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/4/android/net/ |
D | ResolverParamsParcel.aidl | 29 @utf8InCpp String[] domains;
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/6/android/net/ |
D | ResolverParamsParcel.aidl | 29 @utf8InCpp String[] domains;
|
/packages/modules/DnsResolver/aidl_api/dnsresolver_aidl_interface/5/android/net/ |
D | ResolverParamsParcel.aidl | 29 @utf8InCpp String[] domains;
|
/packages/modules/DnsResolver/binder/android/net/ |
D | ResolverParamsParcel.aidl | 70 @utf8InCpp String[] domains;
|