Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dresolv_cache.h150 bool resolv_is_metered_network(unsigned netid);
DDnsProxyListener.cpp720 return (*ADnsHelper_isUidNetworkingBlocked)(uid, resolv_is_metered_network(netId)) == 1; in isUidNetworkingBlocked()
Dres_cache.cpp2138 bool resolv_is_metered_network(unsigned netid) { in resolv_is_metered_network() function
/packages/modules/DnsResolver/tests/
Dresolv_cache_unit_test.cpp974 EXPECT_FALSE(resolv_is_metered_network(TEST_NETID)); in TEST_F()
979 EXPECT_FALSE(resolv_is_metered_network(TEST_NETID + 1)); in TEST_F()
989 EXPECT_TRUE(resolv_is_metered_network(TEST_NETID)); in TEST_F()
992 EXPECT_FALSE(resolv_is_metered_network(TEST_NETID + 1)); in TEST_F()
995 EXPECT_FALSE(resolv_is_metered_network(TEST_NETID + 2)); in TEST_F()