Home
last modified time | relevance | path

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

/system/netd/server/
DIptablesBaseTest.cpp36 sCmds.clear(); in IptablesBaseTest()
48 sCmds.push_back(cmd); in fake_android_fork_exec()
78 sCmds.push_back(IPTABLES_PATH + cmd); in fakeExecIptables()
81 sCmds.push_back(IP6TABLES_PATH + cmd); in fakeExecIptables()
125 if ((unsigned) pos >= sCmds.size()) { in expectIptablesCommand()
127 << pos + 1 << "/" << sCmds.size(); in expectIptablesCommand()
132 EXPECT_EQ("/system/bin/iptables -w " + cmd, sCmds[pos++]); in expectIptablesCommand()
135 EXPECT_EQ("/system/bin/ip6tables -w " + cmd, sCmds[pos++]); in expectIptablesCommand()
162 EXPECT_EQ(pos, sCmds.size()); in expectIptablesCommands()
163 sCmds.clear(); in expectIptablesCommands()
[all …]
DIptablesBaseTest.h46 static std::vector<std::string> sCmds;