Lines Matching refs:sCmds
36 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()
196 std::vector<std::string> IptablesBaseTest::sCmds = {}; member in IptablesBaseTest