Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp124 static int iptablesRuleLineLength(const char *binary, const char *chainName) { in iptablesRuleLineLength() function
143 EXPECT_EQ((int) uids.size() + 5, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
144 EXPECT_EQ((int) uids.size() + 11, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()
150 EXPECT_EQ(3, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
151 EXPECT_EQ(3, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()
158 EXPECT_EQ((int) uids.size() + 3, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
159 EXPECT_EQ((int) uids.size() + 3, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()
166 EXPECT_EQ(3, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
167 EXPECT_EQ(3, iptablesRuleLineLength(IP6TABLES_PATH, chainName.c_str())); in TEST_F()