Home
last modified time | relevance | path

Searched refs:expectedRule (Results 1 – 4 of 4) sorted by relevance

/system/netd/tests/
Dtest_utils.cpp76 const std::string& expectedRule) { in iptablesRuleExists() argument
79 if (rule.find(expectedRule) != std::string::npos) { in iptablesRuleExists()
Dtest_utils.h34 bool iptablesRuleExists(const char* binary, const char* chainName, const std::string& expectedRule);
Dbinder_test.cpp1078 const std::string& expectedRule, const char* table) { in iptablesIdleTimerInterfaceRuleExists() argument
1082 if (rule.find(expectedRule) != std::string::npos) { in iptablesIdleTimerInterfaceRuleExists()
1738 const std::string& expectedRule, in iptablesNetworkPermissionIptablesRuleExists() argument
1743 if (rule.find(expectedRule) != std::string::npos) { in iptablesNetworkPermissionIptablesRuleExists()
2308 const std::string& expectedRule) { in iptablesFirewallInterfaceFirstRuleExists() argument
2318 if (rules[firstRuleIndex].find(expectedRule) != std::string::npos) { in iptablesFirewallInterfaceFirstRuleExists()
2328 const std::string& expectedRule) { in iptablesFirewallInterfaceRuleExists() argument
2332 if (rule.find(expectedRule) != std::string::npos) { in iptablesFirewallInterfaceRuleExists()
2362 const std::string& expectedRule) { in iptablesFirewallUidFirstRuleExists() argument
2367 if (rules[firstRuleIndex].find(expectedRule) != std::string::npos) { in iptablesFirewallUidFirstRuleExists()
[all …]
/system/netd/server/
DTrafficControllerTest.cpp222 void expectUidOwnerMapValues(const std::vector<std::string>& appStrUids, uint8_t expectedRule, in expectUidOwnerMapValues() argument
228 EXPECT_EQ(expectedRule, value.value().rule) in expectUidOwnerMapValues()
229 << "Expected rule for UID " << uid << " to be " << expectedRule << ", but was " in expectUidOwnerMapValues()