Searched refs:resolv_is_metered_network (Results 1 – 4 of 4) sorted by relevance
150 bool resolv_is_metered_network(unsigned netid);
720 return (*ADnsHelper_isUidNetworkingBlocked)(uid, resolv_is_metered_network(netId)) == 1; in isUidNetworkingBlocked()
2138 bool resolv_is_metered_network(unsigned netid) { in resolv_is_metered_network() function
974 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()