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.cpp1398 EXPECT_EQ(0, iptablesRuleLineLength(binary, perUidChain.c_str())); in expectStrictSetUidAccept()
2648 EXPECT_EQ(2, iptablesRuleLineLength(IPTABLES_PATH, FIREWALL_INPUT)); in expectFirewallDenylistMode()
2649 EXPECT_EQ(2, iptablesRuleLineLength(IPTABLES_PATH, FIREWALL_OUTPUT)); in expectFirewallDenylistMode()
2650 EXPECT_EQ(2, iptablesRuleLineLength(IPTABLES_PATH, FIREWALL_FORWARD)); in expectFirewallDenylistMode()
2653 EXPECT_EQ(2, iptablesRuleLineLength(IP6TABLES_PATH, FIREWALL_INPUT)); in expectFirewallDenylistMode()
2654 EXPECT_EQ(3, iptablesRuleLineLength(IP6TABLES_PATH, FIREWALL_OUTPUT)); in expectFirewallDenylistMode()
2655 EXPECT_EQ(2, iptablesRuleLineLength(IP6TABLES_PATH, FIREWALL_FORWARD)); in expectFirewallDenylistMode()