Home
last modified time | relevance | path

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

/aosp12/system/netd/tests/
H A Dtest_utils.h32 int iptablesRuleLineLength(const char* binary, const char* chainName);
H A Dtest_utils.cpp71 int iptablesRuleLineLength(const char* binary, const char* chainName) { in iptablesRuleLineLength() function
H A Dbinder_test.cpp1305 EXPECT_EQ(0, iptablesRuleLineLength(binary, perUidChain.c_str())); in expectStrictSetUidAccept()
2423 EXPECT_EQ(2, iptablesRuleLineLength(IPTABLES_PATH, FIREWALL_INPUT)); in expectFirewallDenylistMode()
2424 EXPECT_EQ(2, iptablesRuleLineLength(IPTABLES_PATH, FIREWALL_OUTPUT)); in expectFirewallDenylistMode()
2425 EXPECT_EQ(2, iptablesRuleLineLength(IPTABLES_PATH, FIREWALL_FORWARD)); in expectFirewallDenylistMode()
2428 EXPECT_EQ(2, iptablesRuleLineLength(IP6TABLES_PATH, FIREWALL_INPUT)); in expectFirewallDenylistMode()
2429 EXPECT_EQ(3, iptablesRuleLineLength(IP6TABLES_PATH, FIREWALL_OUTPUT)); in expectFirewallDenylistMode()
2430 EXPECT_EQ(2, iptablesRuleLineLength(IP6TABLES_PATH, FIREWALL_FORWARD)); in expectFirewallDenylistMode()