Home
last modified time | relevance | path

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

/system/netd/tests/
Dtest_utils.h40 bool iptablesRuleExists(const char* binary, const char* chainName, const std::string& expectedRule);
Dtest_utils.cpp108 bool iptablesRuleExists(const char* binary, const char* chainName, in iptablesRuleExists() function
Dbinder_test.cpp1653 EXPECT_FALSE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidAccept()
1654 EXPECT_FALSE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidAccept()
1664 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidLog()
1665 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidLog()
1666 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), logRule)); in expectStrictSetUidLog()
1675 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidReject()
1676 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidReject()
1677 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), rejectRule)); in expectStrictSetUidReject()
2170 EXPECT_TRUE(iptablesRuleExists(binary, BANDWIDTH_COSTLY_IF.c_str(), BANDWIDTH_NAUGHTY)); in expectBandwidthInterfaceQuotaRuleExists()
2171 EXPECT_TRUE(iptablesRuleExists(binary, BANDWIDTH_COSTLY_IF.c_str(), quotaRule)); in expectBandwidthInterfaceQuotaRuleExists()
[all …]