Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp1445 bool iptablesTargetsExists(const char* binary, int expectedCount, const char* table, in iptablesTargetsExists() function
1475 EXPECT_TRUE(iptablesTargetsExists(binary, 1, FILTER_TABLE, BANDWIDTH_INPUT, ifname, in expectBandwidthInterfaceQuotaRuleExists()
1477 EXPECT_TRUE(iptablesTargetsExists(binary, 1, FILTER_TABLE, BANDWIDTH_OUTPUT, ifname, in expectBandwidthInterfaceQuotaRuleExists()
1479 EXPECT_TRUE(iptablesTargetsExists(binary, 2, FILTER_TABLE, BANDWIDTH_FORWARD, ifname, in expectBandwidthInterfaceQuotaRuleExists()
1492 EXPECT_FALSE(iptablesTargetsExists(binary, 1, FILTER_TABLE, BANDWIDTH_INPUT, ifname, in expectBandwidthInterfaceQuotaRuleDoesNotExist()
1494 EXPECT_FALSE(iptablesTargetsExists(binary, 1, FILTER_TABLE, BANDWIDTH_OUTPUT, ifname, in expectBandwidthInterfaceQuotaRuleDoesNotExist()
1496 EXPECT_FALSE(iptablesTargetsExists(binary, 2, FILTER_TABLE, BANDWIDTH_FORWARD, ifname, in expectBandwidthInterfaceQuotaRuleDoesNotExist()
1537 EXPECT_TRUE(iptablesTargetsExists(binary, 1, FILTER_TABLE, chain, target, uidRule)); in expectBandwidthManipulateSpecialAppRuleExists()
2967 EXPECT_TRUE(iptablesTargetsExists(binary, 2, FILTER_TABLE, TETHER_COUNTERS_CHAIN, intIf, in expectNatEnable()