Home
last modified time | relevance | path

Searched refs:SocketClient (Results 1 – 25 of 27) sorted by relevance

12

/system/netd/
DCommandListener.h58 int runCommand(SocketClient *c, int argc, char ** argv);
65 int runCommand(SocketClient *c, int argc, char ** argv);
72 int runCommand(SocketClient *c, int argc, char ** argv);
79 int runCommand(SocketClient *c, int argc, char ** argv);
86 int runCommand(SocketClient *c, int argc, char ** argv);
93 int runCommand(SocketClient *c, int argc, char ** argv);
100 int runCommand(SocketClient *c, int argc, char ** argv);
107 int runCommand(SocketClient *c, int argc, char ** argv);
114 int runCommand(SocketClient *c, int argc, char ** argv);
116 void sendGenericOkFail(SocketClient *cli, int cond);
[all …]
DDnsProxyListener.h35 int runCommand(SocketClient *c, int argc, char** argv);
41 GetAddrInfoHandler(SocketClient *c, in GetAddrInfoHandler()
57 SocketClient* mClient; // ref counted
68 int runCommand(SocketClient *c, int argc, char** argv);
73 GetHostByAddrHandler(SocketClient *c, in GetHostByAddrHandler()
89 SocketClient* mClient; // ref counted
DSecondaryTableController.h38 int addRoute(SocketClient *cli, char *iface, char *dest, int prefixLen, char *gateway);
39 int removeRoute(SocketClient *cli, char *iface, char *dest, int prefixLen, char *gateway);
45 int modifyRoute(SocketClient *cli, const char *action, char *iface, char *dest, int prefix,
54 int runAndFree(SocketClient *cli, char *cmd);
DMDnsSdListener.h107 int runCommand(SocketClient *c, int argc, char** argv);
111 void stop(SocketClient *cli, int argc, char **argv, const char *str);
113 void discover(SocketClient *cli, const char *iface, const char *regType,
117 void serviceRegister(SocketClient *cli, int requestId, const char *interfaceName,
121 void resolveService(SocketClient *cli, int requestId,
125 void setHostname(SocketClient *cli, int requestId, const char *hostname);
127 void getAddrInfo(SocketClient *cli, int requestId, const char *interfaceName,
DSecondaryTableController.cpp63 int SecondaryTableController::addRoute(SocketClient *cli, char *iface, char *dest, int prefix, in addRoute()
82 int SecondaryTableController::modifyRoute(SocketClient *cli, const char *action, char *iface, in modifyRoute()
145 int SecondaryTableController::removeRoute(SocketClient *cli, char *iface, char *dest, int prefix, in removeRoute()
190 int SecondaryTableController::runAndFree(SocketClient *cli, char *cmd) { in runAndFree()
DMDnsSdListener.cpp59 void MDnsSdListener::Handler::discover(SocketClient *cli, in discover()
109 char *quotedServiceName = SocketClient::quoteArg(serviceName); in MDnsSdListenerDiscoverCallback()
130 void MDnsSdListener::Handler::stop(SocketClient *cli, int argc, char **argv, const char *str) { in stop()
154 void MDnsSdListener::Handler::serviceRegister(SocketClient *cli, int requestId, in serviceRegister()
200 char *quotedServiceName = SocketClient::quoteArg(serviceName); in MDnsSdListenerRegisterCallback()
210 void MDnsSdListener::Handler::resolveService(SocketClient *cli, int requestId, in resolveService()
255 char *quotedFullName = SocketClient::quoteArg(fullname); in MDnsSdListenerResolveCallback()
256 char *quotedHostTarget = SocketClient::quoteArg(hosttarget); in MDnsSdListenerResolveCallback()
269 void MDnsSdListener::Handler::getAddrInfo(SocketClient *cli, int requestId, in getAddrInfo()
313 char *quotedHostname = SocketClient::quoteArg(hostname); in MDnsSdListenerGetAddrInfoCallback()
[all …]
DCommandListener.cpp133 int CommandListener::InterfaceCmd::runCommand(SocketClient *cli, in runCommand()
469 int CommandListener::ListTtysCmd::runCommand(SocketClient *cli, in runCommand()
486 int CommandListener::IpFwdCmd::runCommand(SocketClient *cli, in runCommand()
524 int CommandListener::TetherCmd::runCommand(SocketClient *cli, in runCommand()
622 int CommandListener::NatCmd::runCommand(SocketClient *cli, in runCommand()
659 int CommandListener::PppdCmd::runCommand(SocketClient *cli, in runCommand()
711 int CommandListener::PanCmd::runCommand(SocketClient *cli, in runCommand()
750 int CommandListener::SoftapCmd::runCommand(SocketClient *cli, in runCommand()
803 int CommandListener::ResolverCmd::runCommand(SocketClient *cli, int argc, char **argv) { in runCommand()
913 void CommandListener::BandwidthControlCmd::sendGenericSyntaxError(SocketClient *cli, const char *us… in sendGenericSyntaxError()
[all …]
DDnsProxyListener.cpp64 static bool sendLenAndData(SocketClient *c, const int len, const void* data) { in sendLenAndData()
106 int DnsProxyListener::GetAddrInfoCmd::runCommand(SocketClient *cli, in runCommand()
171 int DnsProxyListener::GetHostByAddrCmd::runCommand(SocketClient *cli, in runCommand()
/system/core/libsysutils/src/
DSocketClient.cpp14 SocketClient::SocketClient(int socket, bool owned) { in SocketClient() function in SocketClient
18 SocketClient::SocketClient(int socket, bool owned, bool useCmdNum) { in SocketClient() function in SocketClient
22 void SocketClient::init(int socket, bool owned, bool useCmdNum) { in init()
46 SocketClient::~SocketClient() in ~SocketClient()
53 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { in sendMsg()
57 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { in sendMsg()
83 int SocketClient::sendBinaryMsg(int code, const void *data, int len) { in sendBinaryMsg()
104 int SocketClient::sendCode(int code) { in sendCode()
110 char *SocketClient::quoteArg(const char *arg) { in quoteArg()
133 int SocketClient::sendMsg(const char *msg) { in sendMsg()
[all …]
DFrameworkCommand.cpp28 int FrameworkCommand::runCommand(SocketClient *c, int argc, char **argv) { in runCommand()
DSocketListener.cpp90 mClients->push_back(new SocketClient(mSock, false, mUseCmdNum)); in startListener()
203 mClients->push_back(new SocketClient(c, true, mUseCmdNum)); in runListener()
223 SocketClient* c = *it; in runListener()
DNetlinkListener.cpp44 bool NetlinkListener::onDataAvailable(SocketClient *cli) in onDataAvailable()
DFrameworkListener.cpp45 bool FrameworkListener::onDataAvailable(SocketClient *c) { in onDataAvailable()
73 void FrameworkListener::dispatchCommand(SocketClient *cli, char *data) { in dispatchCommand()
/system/vold/
DCommandListener.h35 int runCommand(SocketClient *c, int argc, char ** argv);
42 int runCommand(SocketClient *c, int argc, char ** argv);
49 int runCommand(SocketClient *c, int argc, char ** argv);
51 void listAsecsInDirectory(SocketClient *c, const char *directory);
58 int runCommand(SocketClient *c, int argc, char ** argv);
65 int runCommand(SocketClient *c, int argc, char ** argv);
72 int runCommand(SocketClient *c, int argc, char ** argv);
79 int runCommand(SocketClient *c, int argc, char ** argv);
DLoop.h23 class SocketClient; variable
36 static int dumpState(SocketClient *c);
DDevmapper.h23 class SocketClient; variable
31 static int dumpState(SocketClient *c);
DCommandListener.cpp85 int CommandListener::DumpCmd::runCommand(SocketClient *cli, in runCommand()
115 int CommandListener::VolumeCmd::runCommand(SocketClient *cli, in runCommand()
213 int CommandListener::StorageCmd::runCommand(SocketClient *cli, in runCommand()
264 void CommandListener::AsecCmd::listAsecsInDirectory(SocketClient *cli, const char *directory) { in listAsecsInDirectory()
302 int CommandListener::AsecCmd::runCommand(SocketClient *cli, in runCommand()
432 int CommandListener::ObbCmd::runCommand(SocketClient *cli, in runCommand()
496 int CommandListener::XwarpCmd::runCommand(SocketClient *cli, in runCommand()
539 int CommandListener::CryptfsCmd::runCommand(SocketClient *cli, in runCommand()
DVolumeManager.h80 int listVolumes(SocketClient *cli);
115 int listMountedObbs(SocketClient* cli);
DLoop.cpp39 int Loop::dumpState(SocketClient *c) { in dumpState()
/system/core/include/sysutils/
DSocketClient.h10 class SocketClient {
33 SocketClient(int sock, bool owned);
34 SocketClient(int sock, bool owned, bool useCmdNum);
35 virtual ~SocketClient();
82 typedef android::sysutils::List<SocketClient *> SocketClientCollection;
DFrameworkListener.h22 class SocketClient; variable
42 virtual bool onDataAvailable(SocketClient *c);
45 void dispatchCommand(SocketClient *c, char *data);
DFrameworkCommand.h21 class SocketClient; variable
32 virtual int runCommand(SocketClient *c, int argc, char **argv) = 0;
DNetlinkListener.h44 virtual bool onDataAvailable(SocketClient *cli);
DSocketListener.h45 virtual bool onDataAvailable(SocketClient *c) = 0;
/system/core/libsysutils/
DAndroid.mk13 src/SocketClient.cpp \

12