Home
last modified time | relevance | path

Searched refs:iptablesRuleLineLength (Results 1 – 3 of 3) sorted by relevance

/system/netd/tests/
Dtest_utils.h32 int iptablesRuleLineLength(const char* binary, const char* chainName);
Dtest_utils.cpp71 int iptablesRuleLineLength(const char* binary, const char* chainName) { in iptablesRuleLineLength() function
Dbinder_test.cpp229 EXPECT_EQ((int) uids.size() + 9, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
230 EXPECT_EQ((int) uids.size() + 15, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()
238 EXPECT_EQ(5, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
239 EXPECT_EQ(5, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()
246 EXPECT_EQ((int) uids.size() + 5, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
247 EXPECT_EQ((int) uids.size() + 5, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()
256 EXPECT_EQ(5, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
257 EXPECT_EQ(5, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()
1152 EXPECT_EQ(0, iptablesRuleLineLength(binary, perUidChain.c_str())); in expectStrictSetUidAccept()
2300 EXPECT_EQ(2, iptablesRuleLineLength(binary, FIREWALL_INPUT)); in expectFirewallDenylistMode()
[all …]