/system/netd/ |
D | CommandListener.h | 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); 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 …]
|
D | DnsProxyListener.h | 35 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
|
D | SecondaryTableController.h | 38 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);
|
D | MDnsSdListener.h | 107 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,
|
D | SecondaryTableController.cpp | 63 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()
|
D | MDnsSdListener.cpp | 59 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 …]
|
D | CommandListener.cpp | 133 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 …]
|
D | DnsProxyListener.cpp | 64 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/ |
D | SocketClient.cpp | 14 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 …]
|
D | FrameworkCommand.cpp | 28 int FrameworkCommand::runCommand(SocketClient *c, int argc, char **argv) { in runCommand()
|
D | SocketListener.cpp | 90 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()
|
D | NetlinkListener.cpp | 44 bool NetlinkListener::onDataAvailable(SocketClient *cli) in onDataAvailable()
|
D | FrameworkListener.cpp | 45 bool FrameworkListener::onDataAvailable(SocketClient *c) { in onDataAvailable() 73 void FrameworkListener::dispatchCommand(SocketClient *cli, char *data) { in dispatchCommand()
|
/system/vold/ |
D | CommandListener.h | 35 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);
|
D | Loop.h | 23 class SocketClient; variable 36 static int dumpState(SocketClient *c);
|
D | Devmapper.h | 23 class SocketClient; variable 31 static int dumpState(SocketClient *c);
|
D | CommandListener.cpp | 85 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()
|
D | VolumeManager.h | 80 int listVolumes(SocketClient *cli); 115 int listMountedObbs(SocketClient* cli);
|
D | Loop.cpp | 39 int Loop::dumpState(SocketClient *c) { in dumpState()
|
/system/core/include/sysutils/ |
D | SocketClient.h | 10 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;
|
D | FrameworkListener.h | 22 class SocketClient; variable 42 virtual bool onDataAvailable(SocketClient *c); 45 void dispatchCommand(SocketClient *c, char *data);
|
D | FrameworkCommand.h | 21 class SocketClient; variable 32 virtual int runCommand(SocketClient *c, int argc, char **argv) = 0;
|
D | NetlinkListener.h | 44 virtual bool onDataAvailable(SocketClient *cli);
|
D | SocketListener.h | 45 virtual bool onDataAvailable(SocketClient *c) = 0;
|
/system/core/libsysutils/ |
D | Android.mk | 13 src/SocketClient.cpp \
|