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 | 203 return iptablesRuleExists(IPTABLES_PATH, chainName, NO_SOCKET_ALLOW_RULE) && in iptablesNoSocketAllowRuleExists() 204 iptablesRuleExists(IP6TABLES_PATH, chainName, NO_SOCKET_ALLOW_RULE); in iptablesNoSocketAllowRuleExists() 208 return iptablesRuleExists(IPTABLES_PATH, chainName, ESP_ALLOW_RULE) && in iptablesEspAllowRuleExists() 209 iptablesRuleExists(IP6TABLES_PATH, chainName, ESP_ALLOW_RULE); in iptablesEspAllowRuleExists() 1150 EXPECT_FALSE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidAccept() 1151 EXPECT_FALSE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidAccept() 1161 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidLog() 1162 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_CLEAR_CAUGHT, uidRule)); in expectStrictSetUidLog() 1163 EXPECT_TRUE(iptablesRuleExists(binary, perUidChain.c_str(), logRule)); in expectStrictSetUidLog() 1172 EXPECT_TRUE(iptablesRuleExists(binary, STRICT_OUTPUT, uidRule)); in expectStrictSetUidReject() [all …]
|