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);
1231 const std::string& expectedRule, const char* table) { in iptablesIdleTimerInterfaceRuleExists() argument1235 if (rule.find(expectedRule) != std::string::npos) { in iptablesIdleTimerInterfaceRuleExists()1863 const std::string& expectedRule, in iptablesNetworkPermissionIptablesRuleExists() argument1868 if (rule.find(expectedRule) != std::string::npos) { in iptablesNetworkPermissionIptablesRuleExists()2432 const std::string& expectedRule) { in iptablesFirewallInterfaceFirstRuleExists() argument2442 if (rules[firstRuleIndex].find(expectedRule) != std::string::npos) { in iptablesFirewallInterfaceFirstRuleExists()2452 const std::string& expectedRule) { in iptablesFirewallInterfaceRuleExists() argument2456 if (rule.find(expectedRule) != std::string::npos) { in iptablesFirewallInterfaceRuleExists()
223 void expectUidOwnerMapValues(const std::vector<uint32_t>& appUids, 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()