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.cpp1231 const std::string& expectedRule, const char* table) { in iptablesIdleTimerInterfaceRuleExists() argument
1235 if (rule.find(expectedRule) != std::string::npos) { in iptablesIdleTimerInterfaceRuleExists()
1863 const std::string& expectedRule, in iptablesNetworkPermissionIptablesRuleExists() argument
1868 if (rule.find(expectedRule) != std::string::npos) { in iptablesNetworkPermissionIptablesRuleExists()
2432 const std::string& expectedRule) { in iptablesFirewallInterfaceFirstRuleExists() argument
2442 if (rules[firstRuleIndex].find(expectedRule) != std::string::npos) { in iptablesFirewallInterfaceFirstRuleExists()
2452 const std::string& expectedRule) { in iptablesFirewallInterfaceRuleExists() argument
2456 if (rule.find(expectedRule) != std::string::npos) { in iptablesFirewallInterfaceRuleExists()
/system/netd/server/
DTrafficControllerTest.cpp223 void expectUidOwnerMapValues(const std::vector<uint32_t>& appUids, 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()