Home
last modified time | relevance | path

Searched refs:domain_name (Results 1 – 5 of 5) sorted by relevance

/packages/modules/DnsResolver/tests/
Dresolv_cache_unit_test.cpp772 char domain_name[NS_MAXDNAME] = {}; in TEST_F() local
776 EXPECT_FALSE(resolv_gethostbyaddr_from_cache(TEST_NETID, domain_name, NS_MAXDNAME + 1, nullptr, in TEST_F()
778 EXPECT_STREQ("", domain_name); in TEST_F()
781 EXPECT_FALSE(resolv_gethostbyaddr_from_cache(TEST_NETID, domain_name, NS_MAXDNAME, nullptr, in TEST_F()
783 EXPECT_STREQ("", domain_name); in TEST_F()
786 EXPECT_FALSE(resolv_gethostbyaddr_from_cache(TEST_NETID, domain_name, NS_MAXDNAME, query_v4, in TEST_F()
788 EXPECT_STREQ("", domain_name); in TEST_F()
792 char domain_name[NS_MAXDNAME] = {}; in TEST_F() local
800 EXPECT_FALSE(resolv_gethostbyaddr_from_cache(TEST_NETID, domain_name, NS_MAXDNAME, query_v4, in TEST_F()
802 EXPECT_STREQ("", domain_name); in TEST_F()
[all …]
Dresolv_integration_test.cpp500 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F() local
501 EXPECT_EQ(result->h_aliases[i], domain_name); in TEST_F()
518 std::string domain_name = records[i].host_name.substr(0, records[i].host_name.size() - 1); in TEST_F() local
519 EXPECT_EQ(result->h_aliases[i], domain_name); in TEST_F()
/packages/modules/DnsResolver/include/netd_resolv/
Dresolv.h131 LIBNETD_RESOLV_PUBLIC bool resolv_gethostbyaddr_from_cache(unsigned netId, char domain_name[],
/packages/apps/Settings/src/com/android/settings/applications/
DAppDomainsPreference.java62 final TextView domainName = (TextView) view.findViewById(R.id.domain_name); in onBindListItem()
/packages/modules/DnsResolver/
Dres_cache.cpp1388 bool resolv_gethostbyaddr_from_cache(unsigned netid, char domain_name[], size_t domain_name_size, in resolv_gethostbyaddr_from_cache() argument
1458 strlcpy(domain_name, ns_rr_name(rr_query), domain_name_size); in resolv_gethostbyaddr_from_cache()
1459 if (domain_name[0] != '\0') { in resolv_gethostbyaddr_from_cache()