Lines Matching refs:iptablesRuleLineLength
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()
2301 EXPECT_EQ(2, iptablesRuleLineLength(binary, FIREWALL_OUTPUT)); in expectFirewallDenylistMode()
2302 EXPECT_EQ(2, iptablesRuleLineLength(binary, FIREWALL_FORWARD)); in expectFirewallDenylistMode()