Searched refs:iptablesRuleExists (Results 1 – 3 of 3) sorted by relevance
/system/netd/tests/ |
D | test_utils.h | 34 bool iptablesRuleExists(const char* binary, const char* chainName, const std::string& expectedRule);
|
D | test_utils.cpp | 75 bool iptablesRuleExists(const char* binary, const char* chainName, in iptablesRuleExists() function
|
D | binder_test.cpp | 1396 EXPECT_FALSE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidAccept() 1397 EXPECT_FALSE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidAccept() 1407 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidLog() 1408 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidLog() 1409 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), logRule)); in expectStrictSetUidLog() 1418 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidReject() 1419 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidReject() 1420 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), rejectRule)); in expectStrictSetUidReject() 1934 EXPECT_TRUE(iptablesRuleExists(binary, BANDWIDTH_COSTLY_IF.c_str(), BANDWIDTH_NAUGHTY)); in expectBandwidthInterfaceQuotaRuleExists() 1935 EXPECT_TRUE(iptablesRuleExists(binary, BANDWIDTH_COSTLY_IF.c_str(), quotaRule)); in expectBandwidthInterfaceQuotaRuleExists() [all …]
|