Home
last modified time | relevance | path

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

/system/netd/tests/
Dbinder_test.cpp78 #define IPTABLES_PATH "/system/bin/iptables" macro
203 return iptablesRuleExists(IPTABLES_PATH, chainName, NO_SOCKET_ALLOW_RULE) && in iptablesNoSocketAllowRuleExists()
208 return iptablesRuleExists(IPTABLES_PATH, chainName, ESP_ALLOW_RULE) && in iptablesEspAllowRuleExists()
229 EXPECT_EQ((int) uids.size() + 9, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
238 EXPECT_EQ(5, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
246 EXPECT_EQ((int) uids.size() + 5, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
256 EXPECT_EQ(5, iptablesRuleLineLength(IPTABLES_PATH, chainName.c_str())); in TEST_F()
456 size_t minSize = (std::string(binary) == IPTABLES_PATH) ? 3 : 9; in bandwidthDataSaverEnabled()
474 const int enabled4 = bandwidthDataSaverEnabled(IPTABLES_PATH); in getDataSaverState()
977 for (const auto& binary : { IPTABLES_PATH, IP6TABLES_PATH }) { in expectNoTestCounterRules()
[all …]