Home
last modified time | relevance | path

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

/system/netd/server/
DNdcDispatcher.h52 virtual int runCommand(NdcClient* c, int argc, char** argv) const = 0;
84 int runCommand(NdcClient* cli, int argc, char** argv) const;
91 int runCommand(NdcClient* cli, int argc, char** argv) const;
98 int runCommand(NdcClient* cli, int argc, char** argv) const;
105 int runCommand(NdcClient* cli, int argc, char** argv) const;
112 int runCommand(NdcClient* cli, int argc, char** argv) const;
124 int runCommand(NdcClient* cli, int argc, char** argv) const;
131 int runCommand(NdcClient* cli, int argc, char** argv) const;
144 int runCommand(NdcClient* cli, int argc, char** argv) const;
151 int runCommand(NdcClient* cli, int argc, char** argv) const;
[all …]
DNdcDispatcher.cpp155 if (c->runCommand(&mNdc, argc, argv)) { in dispatchCommand()
167 int NdcDispatcher::InterfaceCmd::runCommand(NdcClient* cli, int argc, char** argv) const { in runCommand() function in android::net::NdcDispatcher::InterfaceCmd
354 int NdcDispatcher::IpFwdCmd::runCommand(NdcClient* cli, int argc, char** argv) const { in runCommand() function in android::net::NdcDispatcher::IpFwdCmd
408 int NdcDispatcher::TetherCmd::runCommand(NdcClient* cli, int argc, char** argv) const { in runCommand() function in android::net::NdcDispatcher::TetherCmd
502 int NdcDispatcher::NatCmd::runCommand(NdcClient* cli, int argc, char** argv) const { in runCommand() function in android::net::NdcDispatcher::NatCmd
555 int NdcDispatcher::BandwidthControlCmd::runCommand(NdcClient* cli, int argc, char** argv) const { in runCommand() function in android::net::NdcDispatcher::BandwidthControlCmd
681 int NdcDispatcher::IdletimerControlCmd::runCommand(NdcClient* cli, int argc, char** argv) const { in runCommand() function in android::net::NdcDispatcher::IdletimerControlCmd
775 int NdcDispatcher::FirewallCmd::runCommand(NdcClient* cli, int argc, char** argv) const { in runCommand() function in android::net::NdcDispatcher::FirewallCmd
847 int NdcDispatcher::ClatdCmd::runCommand(NdcClient* cli, int argc, char** argv) const { in runCommand() function in android::net::NdcDispatcher::ClatdCmd
902 int NdcDispatcher::StrictCmd::runCommand(NdcClient* cli, int argc, char** argv) const { in runCommand() function in android::net::NdcDispatcher::StrictCmd
[all …]
DMDnsSdListener.h111 int runCommand(SocketClient *c, int argc, char** argv);
DMDnsSdListener.cpp410 int MDnsSdListener::Handler::runCommand(SocketClient *cli, in runCommand() function in MDnsSdListener::Handler
/system/core/logd/
DCommandListener.cpp66 int CommandListener::ClearCmd::runCommand(SocketClient* cli, int argc, in runCommand() function in CommandListener::ClearCmd
89 int CommandListener::GetBufSizeCmd::runCommand(SocketClient* cli, int argc, in runCommand() function in CommandListener::GetBufSizeCmd
110 int CommandListener::SetBufSizeCmd::runCommand(SocketClient* cli, int argc, in runCommand() function in CommandListener::SetBufSizeCmd
139 int CommandListener::GetBufSizeUsedCmd::runCommand(SocketClient* cli, int argc, in runCommand() function in CommandListener::GetBufSizeUsedCmd
182 int CommandListener::GetStatisticsCmd::runCommand(SocketClient* cli, int argc, in runCommand() function in CommandListener::GetStatisticsCmd
218 int CommandListener::GetPruneListCmd::runCommand(SocketClient* cli, int, char**) { in runCommand() function in CommandListener::GetPruneListCmd
224 int CommandListener::SetPruneListCmd::runCommand(SocketClient* cli, int argc, char** argv) { in runCommand() function in CommandListener::SetPruneListCmd
248 int CommandListener::GetEventTagCmd::runCommand(SocketClient* cli, int argc, in runCommand() function in CommandListener::GetEventTagCmd
293 int CommandListener::ReinitCmd::runCommand(SocketClient* cli, int /*argc*/, in runCommand() function in CommandListener::ReinitCmd
317 int CommandListener::ExitCmd::runCommand(SocketClient* cli, int /*argc*/, in runCommand() function in CommandListener::ExitCmd
DCommandListener.h47 int runCommand(SocketClient* c, int argc, char** argv); \
/system/netd/tests/
Dtest_utils.cpp40 std::vector<std::string> runCommand(const std::string& command) { in runCommand() function
63 return runCommand(command); in listIpRules()
68 return runCommand(command); in listIptablesRule()
88 return runCommand(command); in listIpRoutes()
Dtest_utils.h26 std::vector<std::string> runCommand(const std::string& command);
Dbinder_test.cpp979 std::string allRules = Join(runCommand(command), "\n"); in expectNoTestCounterRules()
986 runCommand(StringPrintf("%s -w -A tetherctrl_counters -i %s -o %s -j RETURN -c %d %d", in addTetherCounterValues()
991 runCommand(StringPrintf("%s -w -D tetherctrl_counters -i %s -o %s -j RETURN", in delTetherCounterValues()
993 runCommand(StringPrintf("%s -w -D tetherctrl_counters -i %s -o %s -j RETURN", in delTetherCounterValues()
1015 runCommand(StringPrintf("%s -w -N tetherctrl_counters", IPTABLES_PATH)); in TEST_F()
1016 runCommand(StringPrintf("%s -w -N tetherctrl_counters", IP6TABLES_PATH)); in TEST_F()
1072 return runCommand(command); in listIptablesRuleByTable()
1225 result = runCommand(cmd); in tryToFindProcesses()
1316 std::vector<std::string> result = runCommand(ipv4IpfwdCmd); in getIpfwdV4Enable()
1324 std::vector<std::string> result = runCommand(ipv6IpfwdCmd); in getIpfwdV6Enable()
[all …]
/system/hardware/interfaces/net/netd/testutils/
DVtsHalNetNetdTestUtils.cpp47 static std::vector<std::string> runCommand(const std::string& command) { in runCommand() function
70 return runCommand(command); in listIpRules()
/system/core/libsysutils/include/sysutils/
DFrameworkCommand.h30 virtual int runCommand(SocketClient *c, int argc, char **argv) = 0;
/system/core/libsysutils/src/
DFrameworkCommand.cpp30 int FrameworkCommand::runCommand(SocketClient *c UNUSED, int argc UNUSED, in runCommand() function in FrameworkCommand
DFrameworkListener.cpp194 if (c->runCommand(cli, argc, argv)) { in dispatchCommand()
DSocketListener_test.cpp105 int runCommand(SocketClient* cli, int argc, char** argv) { in runCommand() function in __anonab507f970111::TestCommand