Searched refs:iptablesRuleLineLength (Results 1 – 3 of 3) sorted by relevance
/system/netd/tests/ |
D | test_utils.h | 32 int iptablesRuleLineLength(const char* binary, const char* chainName);
|
D | test_utils.cpp | 71 int iptablesRuleLineLength(const char* binary, const char* chainName) { in iptablesRuleLineLength() function
|
D | binder_test.cpp | 229 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 …]
|