Searched refs:expectedRule (Results 1 – 4 of 4) sorted by relevance
76 const std::string& expectedRule) { in iptablesRuleExists() argument79 if (rule.find(expectedRule) != std::string::npos) { in iptablesRuleExists()
34 bool iptablesRuleExists(const char* binary, const char* chainName, const std::string& expectedRule);
1078 const std::string& expectedRule, const char* table) { in iptablesIdleTimerInterfaceRuleExists() argument1082 if (rule.find(expectedRule) != std::string::npos) { in iptablesIdleTimerInterfaceRuleExists()1738 const std::string& expectedRule, in iptablesNetworkPermissionIptablesRuleExists() argument1743 if (rule.find(expectedRule) != std::string::npos) { in iptablesNetworkPermissionIptablesRuleExists()2308 const std::string& expectedRule) { in iptablesFirewallInterfaceFirstRuleExists() argument2318 if (rules[firstRuleIndex].find(expectedRule) != std::string::npos) { in iptablesFirewallInterfaceFirstRuleExists()2328 const std::string& expectedRule) { in iptablesFirewallInterfaceRuleExists() argument2332 if (rule.find(expectedRule) != std::string::npos) { in iptablesFirewallInterfaceRuleExists()2362 const std::string& expectedRule) { in iptablesFirewallUidFirstRuleExists() argument2367 if (rules[firstRuleIndex].find(expectedRule) != std::string::npos) { in iptablesFirewallUidFirstRuleExists()[all …]
222 void expectUidOwnerMapValues(const std::vector<std::string>& appStrUids, uint8_t expectedRule, in expectUidOwnerMapValues() argument228 EXPECT_EQ(expectedRule, value.value().rule) in expectUidOwnerMapValues()229 << "Expected rule for UID " << uid << " to be " << expectedRule << ", but was " in expectUidOwnerMapValues()