Home
last modified time | relevance | path

Searched refs:resolv_cache_get_subsampling_denom (Results 1 – 4 of 4) sorted by relevance

/packages/modules/DnsResolver/
Dresolv_cache_unit_test.cpp942 EXPECT_EQ(resolv_cache_get_subsampling_denom(TEST_NETID, EAI_NODATA), 10U); in TEST_F()
943 EXPECT_EQ(resolv_cache_get_subsampling_denom(TEST_NETID, EAI_OK), 100U); in TEST_F()
944 EXPECT_EQ(resolv_cache_get_subsampling_denom(TEST_NETID, EAI_BADFLAGS), in TEST_F()
952 EXPECT_EQ(resolv_cache_get_subsampling_denom(TEST_NETID, EAI_OK), 42U); in TEST_F()
953 EXPECT_EQ(resolv_cache_get_subsampling_denom(TEST_NETID, EAI_NODATA), in TEST_F()
962 EXPECT_EQ(resolv_cache_get_subsampling_denom(TEST_NETID, EAI_OK), 0U); in TEST_F()
963 EXPECT_EQ(resolv_cache_get_subsampling_denom(TEST_NETID, EAI_NODATA), 0U); in TEST_F()
970 EXPECT_EQ(resolv_cache_get_subsampling_denom(TEST_NETID, EAI_OK), 0U); in TEST_F()
971 EXPECT_EQ(resolv_cache_get_subsampling_denom(TEST_NETID, EAI_BADFLAGS), 0U); in TEST_F()
972 EXPECT_EQ(resolv_cache_get_subsampling_denom(TEST_NETID, EAI_NODATA), 10U); in TEST_F()
[all …]
Dresolv_cache.h57 uint32_t resolv_cache_get_subsampling_denom(unsigned netid, int return_code);
DDnsProxyListener.cpp327 uint32_t subsampling_denom = resolv_cache_get_subsampling_denom(netid, returnCode); in getDnsEventSubsamplingRate()
Dres_cache.cpp1779 uint32_t resolv_cache_get_subsampling_denom(unsigned netid, int return_code) { in resolv_cache_get_subsampling_denom() function