/system/core/include/sysutils/ |
H A D | SocketClientCommand.h | 19 #include <sysutils/SocketClient.h> 24 virtual void runSocketCommand(SocketClient *client) = 0;
|
H A D | FrameworkCommand.h | 21 class SocketClient; 32 virtual int runCommand(SocketClient *c, int argc, char **argv) = 0;
|
H A D | FrameworkListener.h | 22 class SocketClient; 45 virtual bool onDataAvailable(SocketClient *c); 48 void dispatchCommand(SocketClient *c, char *data);
|
H A D | 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);
|
H A D | SocketClient.h | 11 class SocketClient { class 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;
|
H A D | NetlinkListener.h | 45 virtual bool onDataAvailable(SocketClient *cli);
|
/system/vold/ |
H A D | 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); 81 int runCommand(SocketClient *c, int argc, char ** argv); 83 android::status_t sendFd(SocketClient * [all...] |
H A D | CryptCommandListener.h | 31 static int sendGenericOkFailOnBool(SocketClient *cli, bool success); 37 int runCommand(SocketClient *c, int argc, char ** argv);
|
H A D | Devmapper.h | 23 class SocketClient; 31 static int dumpState(SocketClient *c);
|
H A D | Loop.h | 23 class SocketClient; 37 static int dumpState(SocketClient *c);
|
/system/netd/server/ |
H A D | CommandListener.h | 53 int runCommand(SocketClient *c, int argc, char ** argv); 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); 81 int runCommand(SocketClient *c, int argc, char ** argv); 88 int runCommand(SocketClient *c, int argc, char ** argv); 95 int runCommand(SocketClient *c, int argc, char ** argv); 102 int runCommand(SocketClient *c, int argc, char ** argv); 104 void sendGenericOkFail(SocketClient *cli, int cond); 105 void sendGenericOpFailed(SocketClient *cl [all...] |
H A D | FwmarkServer.h | 30 bool onDataAvailable(SocketClient* client); 33 int processClient(SocketClient* client, int* socketFd);
|
H A D | DnsProxyListener.h | 49 int runCommand(SocketClient *c, int argc, char** argv); 57 GetAddrInfoHandler(SocketClient *c, 70 SocketClient* mClient; // ref counted 83 int runCommand(SocketClient *c, int argc, char** argv); 90 GetHostByNameHandler(SocketClient *c, 101 SocketClient* mClient; //ref counted 114 int runCommand(SocketClient *c, int argc, char** argv); 121 GetHostByAddrHandler(SocketClient *c, 134 SocketClient* mClient; // ref counted
|
H A 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,
|
/system/core/logd/ |
H A D | LogReader.h | 36 virtual bool onDataAvailable(SocketClient *cli); 41 void doSocketDelete(SocketClient *cli);
|
H A D | FlushCommand.h | 45 virtual void runSocketCommand(SocketClient *client); 47 static bool hasReadLogs(SocketClient *client); 48 static bool hasSecurityLogs(SocketClient *client);
|
H A D | LogCommand.h | 20 #include <sysutils/SocketClient.h>
|
H A D | FlushCommand.cpp | 54 void FlushCommand::runSocketCommand(SocketClient *client) { 96 bool FlushCommand::hasReadLogs(SocketClient *client) { 100 static bool clientHasSecurityCredentials(SocketClient *client) { 104 bool FlushCommand::hasSecurityLogs(SocketClient *client) {
|
H A D | LogListener.h | 31 virtual bool onDataAvailable(SocketClient *cli);
|
H A D | CommandListener.h | 45 int runCommand(SocketClient *c, int argc, char ** argv); 54 int runCommand(SocketClient *c, int argc, char ** argv); \ 69 int runCommand(SocketClient *c, int argc, char ** argv);
|
H A D | CommandListener.cpp | 33 #include <sysutils/SocketClient.h> 60 int CommandListener::ShutdownCmd::runCommand(SocketClient * /*cli*/, 81 int CommandListener::ClearCmd::runCommand(SocketClient *cli, 109 int CommandListener::GetBufSizeCmd::runCommand(SocketClient *cli, 135 int CommandListener::SetBufSizeCmd::runCommand(SocketClient *cli, 169 int CommandListener::GetBufSizeUsedCmd::runCommand(SocketClient *cli, 204 int CommandListener::GetStatisticsCmd::runCommand(SocketClient *cli, 246 int CommandListener::GetPruneListCmd::runCommand(SocketClient *cli, 258 int CommandListener::SetPruneListCmd::runCommand(SocketClient *cli, 289 int CommandListener::ReinitCmd::runCommand(SocketClient *cl [all...] |
H A D | LogTimes.h | 26 #include <sysutils/SocketClient.h> 52 LogTimeEntry(LogReader &reader, SocketClient *client, bool nonBlock, 56 SocketClient *mClient;
|
/system/core/libsysutils/src/ |
H A D | SocketClient.cpp | 11 #define LOG_TAG "SocketClient" 14 #include <sysutils/SocketClient.h> 16 SocketClient::SocketClient(int socket, bool owned) { function in class:SocketClient 20 SocketClient::SocketClient(int socket, bool owned, bool useCmdNum) { function in class:SocketClient 24 void SocketClient::init(int socket, bool owned, bool useCmdNum) { 48 SocketClient::~SocketClient() { 54 int SocketClient [all...] |
H A D | FrameworkCommand.cpp | 30 int FrameworkCommand::runCommand(SocketClient *c UNUSED, int argc UNUSED,
|
/system/core/libsysutils/ |
H A D | Android.mk | 11 src/SocketClient.cpp \
|