HomeSort by relevance Sort by last modified time
    Searched refs:IptablesTarget (Results 1 - 22 of 22) sorted by null

  /system/netd/server/
Controllers.h 68 static std::set<std::string> findExistingChildChains(const IptablesTarget target,
71 static void createChildChains(IptablesTarget target, const char* table, const char* parentChain,
73 static int (*execIptablesRestore)(IptablesTarget, const std::string&);
74 static int (*execIptablesRestoreWithOutput)(IptablesTarget, const std::string&, std::string *);
IptablesBaseTest.h 27 typedef std::vector<std::pair<IptablesTarget, std::string>> ExpectedIptablesCommands;
31 static int fakeExecIptablesRestore(IptablesTarget target, const std::string& commands);
32 static int fakeExecIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands,
34 static int fakeExecIptablesRestoreCommand(IptablesTarget target, const std::string& table,
NetdConstants.h 41 enum IptablesTarget { V4, V6, V4V6 };
43 int execIptablesRestore(IptablesTarget target, const std::string& commands);
44 int execIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands,
46 int execIptablesRestoreCommand(IptablesTarget target, const std::string& table,
StrictController.h 48 static int (*execIptablesRestore)(IptablesTarget target, const std::string& commands);
IdletimerController.h 48 static int (*execIptablesRestore)(IptablesTarget, const std::string&);
FirewallController.h 67 static std::string makeCriticalCommands(IptablesTarget target, const char* chainName);
85 std::string makeUidRules(IptablesTarget target, const char *name, bool isWhitelist,
87 static int (*execIptablesRestore)(IptablesTarget target, const std::string& commands);
IptablesRestoreControllerTest.cpp 164 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", nullptr));
169 EXPECT_EQ(0, con.execute(IptablesTarget::V6, "#Test\n", nullptr));
170 EXPECT_EQ(0, con.execute(IptablesTarget::V4, "#Test\n", nullptr));
172 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", &output));
184 IptablesTarget target = (IptablesTarget) (i % 3);
197 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", &output));
211 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, "#Test\n", nullptr));
245 EXPECT_EQ(0, con.execute(IptablesTarget::V4V6, commandString, &output));
249 EXPECT_EQ(-1, con.execute(IptablesTarget::V4V6, commandString, &output))
    [all...]
IptablesRestoreController.h 33 virtual int execute(const IptablesTarget target, const std::string& commands,
45 int execute(const IptablesTarget target, const std::string& commands,
IptablesBaseTest.cpp 74 int IptablesBaseTest::fakeExecIptablesRestoreWithOutput(IptablesTarget target,
87 int IptablesBaseTest::fakeExecIptablesRestore(IptablesTarget target, const std::string& commands) {
91 int IptablesBaseTest::fakeExecIptablesRestoreCommand(IptablesTarget target,
NetdConstants.cpp 45 int execIptablesRestoreWithOutput(IptablesTarget target, const std::string& commands,
50 int execIptablesRestore(IptablesTarget target, const std::string& commands) {
54 int execIptablesRestoreCommand(IptablesTarget target, const std::string& table,
BandwidthController.h 90 std::string makeDataSaverCommand(IptablesTarget target, bool enable);
123 static int (*iptablesRestoreFunction)(IptablesTarget, const std::string&, std::string *);
StrictControllerTest.cpp 103 std::vector<std::pair<IptablesTarget, std::string>> expected = {
FirewallControllerTest.cpp 42 std::string makeUidRules(IptablesTarget a, const char* b, bool c,
84 std::vector<std::pair<IptablesTarget, std::string>> expectedRestoreCommands = {
102 std::vector<std::pair<IptablesTarget, std::string>> expectedRestoreCommands = {
ControllersTest.cpp 45 std::set<std::string> findExistingChildChains(IptablesTarget a, const char* b, const char*c) {
Controllers.cpp 109 std::set<std::string> Controllers::findExistingChildChains(const IptablesTarget target,
149 void Controllers::createChildChains(IptablesTarget target, const char* table,
FirewallController.cpp 265 std::string FirewallController::makeCriticalCommands(IptablesTarget target, const char* chainName) {
277 std::string FirewallController::makeUidRules(IptablesTarget target, const char *name,
RouteController.h 108 static int (*iptablesRestoreCommandFunction)(IptablesTarget, const std::string&,
TetherController.h 154 static int (*iptablesRestoreFunction)(IptablesTarget, const std::string&, std::string *);
IptablesRestoreController.cpp 348 int IptablesRestoreController::execute(const IptablesTarget target, const std::string& command,
WakeupControllerTest.cpp 56 MOCK_METHOD3(execute, int(const IptablesTarget target, const std::string& commands,
BandwidthController.cpp 319 std::string BandwidthController::makeDataSaverCommand(IptablesTarget target, bool enable) {
TetherController.cpp 806 for (const IptablesTarget target : {V4, V6}) {

Completed in 4603 milliseconds