/system/core/include/sysutils/ |
SocketClientCommand.h | 19 #include <sysutils/SocketClient.h> 24 virtual void runSocketCommand(SocketClient *client) = 0;
|
FrameworkCommand.h | 21 class SocketClient; 32 virtual int runCommand(SocketClient *c, int argc, char **argv) = 0;
|
FrameworkListener.h | 22 class SocketClient; 44 virtual bool onDataAvailable(SocketClient *c); 47 void dispatchCommand(SocketClient *c, char *data);
|
SocketListener.h | 21 #include <sysutils/SocketClient.h> 48 bool release(SocketClient *c) { return release(c, true); } 51 virtual bool onDataAvailable(SocketClient *c) = 0; 54 bool release(SocketClient *c, bool wakeup);
|
SocketClient.h | 11 class SocketClient { 34 SocketClient(int sock, bool owned); 35 SocketClient(int sock, bool owned, bool useCmdNum); 36 virtual ~SocketClient(); 68 // SocketListener creates a SocketClient (at refcount 1) and calls 71 bool decRef(); // returns true at 0 (but note: SocketClient already deleted) 87 typedef android::sysutils::List<SocketClient *> SocketClientCollection;
|
NetlinkListener.h | 45 virtual bool onDataAvailable(SocketClient *cli);
|
/system/core/logd/ |
LogCommand.h | 20 #include <sysutils/SocketClient.h> 29 bool clientHasLogCredentials(SocketClient * cli);
|
LogReader.h | 34 virtual bool onDataAvailable(SocketClient *cli); 39 void doSocketDelete(SocketClient *cli);
|
LogListener.h | 31 virtual bool onDataAvailable(SocketClient *cli);
|
FlushCommand.h | 43 virtual void runSocketCommand(SocketClient *client); 45 static bool hasReadLogs(SocketClient *client);
|
CommandListener.h | 47 int runCommand(SocketClient *c, int argc, char ** argv); 56 int runCommand(SocketClient *c, int argc, char ** argv); \ 71 int runCommand(SocketClient *c, int argc, char ** argv);
|
LogAudit.h | 34 virtual bool onDataAvailable(SocketClient *cli);
|
LogTimes.h | 23 #include <sysutils/SocketClient.h> 49 LogTimeEntry(LogReader &reader, SocketClient *client, bool nonBlock, 53 SocketClient *mClient;
|
CommandListener.cpp | 30 #include <sysutils/SocketClient.h> 58 int CommandListener::ShutdownCmd::runCommand(SocketClient * /*cli*/, 79 int CommandListener::ClearCmd::runCommand(SocketClient *cli, 108 int CommandListener::GetBufSizeCmd::runCommand(SocketClient *cli, 134 int CommandListener::SetBufSizeCmd::runCommand(SocketClient *cli, 168 int CommandListener::GetBufSizeUsedCmd::runCommand(SocketClient *cli, 212 int CommandListener::GetStatisticsCmd::runCommand(SocketClient *cli, 251 int CommandListener::GetPruneListCmd::runCommand(SocketClient *cli, 271 int CommandListener::SetPruneListCmd::runCommand(SocketClient *cli, 307 int CommandListener::ReinitCmd::runCommand(SocketClient *cli [all...] |
/system/netd/server/ |
FwmarkServer.h | 30 bool onDataAvailable(SocketClient* client); 33 int processClient(SocketClient* client, int* socketFd);
|
CommandListener.h | 61 int runCommand(SocketClient *c, int argc, char ** argv); 68 int runCommand(SocketClient *c, int argc, char ** argv); 75 int runCommand(SocketClient *c, int argc, char ** argv); 82 int runCommand(SocketClient *c, int argc, char ** argv); 89 int runCommand(SocketClient *c, int argc, char ** argv); 96 int runCommand(SocketClient *c, int argc, char ** argv); 103 int runCommand(SocketClient *c, int argc, char ** argv); 110 int runCommand(SocketClient *c, int argc, char ** argv); 112 void sendGenericOkFail(SocketClient *cli, int cond); 113 void sendGenericOpFailed(SocketClient *cli, const char *errMsg) [all...] |
DnsProxyListener.h | 38 int runCommand(SocketClient *c, int argc, char** argv); 46 GetAddrInfoHandler(SocketClient *c, 58 SocketClient* mClient; // ref counted 70 int runCommand(SocketClient *c, int argc, char** argv); 77 GetHostByNameHandler(SocketClient *c, 87 SocketClient* mClient; //ref counted 99 int runCommand(SocketClient *c, int argc, char** argv); 106 GetHostByAddrHandler(SocketClient *c, 119 SocketClient* mClient; // ref counted
|
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,
|
/system/vold/ |
CommandListener.h | 31 static int sendGenericOkFail(SocketClient *cli, int cond); 37 int runCommand(SocketClient *c, int argc, char ** argv); 44 int runCommand(SocketClient *c, int argc, char ** argv); 51 int runCommand(SocketClient *c, int argc, char ** argv); 53 void listAsecsInDirectory(SocketClient *c, const char *directory); 60 int runCommand(SocketClient *c, int argc, char ** argv); 67 int runCommand(SocketClient *c, int argc, char ** argv); 74 int runCommand(SocketClient *c, int argc, char ** argv);
|
CryptCommandListener.h | 31 static int sendGenericOkFail(SocketClient *cli, int cond); 37 int runCommand(SocketClient *c, int argc, char ** argv);
|
Devmapper.h | 23 class SocketClient; 31 static int dumpState(SocketClient *c);
|
Loop.h | 23 class SocketClient; 37 static int dumpState(SocketClient *c);
|
/system/core/libsysutils/src/ |
SocketClient.cpp | 11 #define LOG_TAG "SocketClient" 14 #include <sysutils/SocketClient.h> 16 SocketClient::SocketClient(int socket, bool owned) { 20 SocketClient::SocketClient(int socket, bool owned, bool useCmdNum) { 24 void SocketClient::init(int socket, bool owned, bool useCmdNum) { 48 SocketClient::~SocketClient() { 54 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) [all...] |
FrameworkCommand.cpp | 30 int FrameworkCommand::runCommand(SocketClient *c UNUSED, int argc UNUSED,
|
/system/core/libsysutils/ |
Android.mk | 11 src/SocketClient.cpp \
|