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