Home
last modified time | relevance | path

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

/system/netd/server/
DNatControllerTest.cpp52 const ExpectedIptablesCommands FLUSH_COMMANDS = {
68 const ExpectedIptablesCommands SETUP_COMMANDS = {
91 ExpectedIptablesCommands firstNatCommands(const char *extIf) { in firstNatCommands()
106 ExpectedIptablesCommands startNatCommands(const char *intIf, const char *extIf) { in startNatCommands()
141 ExpectedIptablesCommands stopNatCommands(const char *intIf, const char *extIf) { in stopNatCommands()
177 ExpectedIptablesCommands expected; in TEST_F()
178 ExpectedIptablesCommands setupFirstNatCommands = firstNatCommands("rmnet0"); in TEST_F()
179 ExpectedIptablesCommands startFirstNatCommands = startNatCommands("wlan0", "rmnet0"); in TEST_F()
185 ExpectedIptablesCommands startOtherNat = startNatCommands("usb0", "rmnet0"); in TEST_F()
189 ExpectedIptablesCommands stopOtherNat = stopNatCommands("wlan0", "rmnet0"); in TEST_F()
DControllersTest.cpp51 ExpectedIptablesCommands expectedCmds = { in TEST_F()
72 ExpectedIptablesCommands expected = { in TEST_F()
193 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
263 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
DIptablesBaseTest.h27 typedef std::vector<std::pair<IptablesTarget, std::string>> ExpectedIptablesCommands; typedef
38 void expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds);
43 static ExpectedIptablesCommands sRestoreCmds;
DIptablesBaseTest.cpp100 ExpectedIptablesCommands expected; in expectIptablesRestoreCommands()
107 void IptablesBaseTest::expectIptablesRestoreCommands(const ExpectedIptablesCommands& expectedCmds) { in expectIptablesRestoreCommands()
121 IptablesBaseTest::ExpectedIptablesCommands IptablesBaseTest::sRestoreCmds = {};
DFirewallControllerTest.cpp107 ExpectedIptablesCommands expected = { in TEST_F()
121 ExpectedIptablesCommands expected = { in TEST_F()
135 ExpectedIptablesCommands expected = { in TEST_F()
DIdletimerControllerTest.cpp40 expectIptablesRestoreCommands(ExpectedIptablesCommands{}); in TEST_F()
DBandwidthControllerTest.cpp103 ExpectedIptablesCommands expected = {{ V4, expectedList }}; in expectSetupCommands()