Searched refs:SocketClient (Results 1 - 25 of 54) sorted by relevance

123

/system/core/include/sysutils/
H A DSocketClientCommand.h19 #include <sysutils/SocketClient.h>
24 virtual void runSocketCommand(SocketClient *client) = 0;
H A DFrameworkCommand.h21 class SocketClient;
32 virtual int runCommand(SocketClient *c, int argc, char **argv) = 0;
H A DFrameworkListener.h22 class SocketClient;
45 virtual bool onDataAvailable(SocketClient *c);
48 void dispatchCommand(SocketClient *c, char *data);
H A DSocketListener.h21 #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 DSocketClient.h11 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 DNetlinkListener.h45 virtual bool onDataAvailable(SocketClient *cli);
/system/vold/
H A DCommandListener.h31 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 DCryptCommandListener.h31 static int sendGenericOkFailOnBool(SocketClient *cli, bool success);
37 int runCommand(SocketClient *c, int argc, char ** argv);
H A DDevmapper.h23 class SocketClient;
31 static int dumpState(SocketClient *c);
H A DLoop.h23 class SocketClient;
37 static int dumpState(SocketClient *c);
/system/netd/server/
H A DCommandListener.h53 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 DFwmarkServer.h30 bool onDataAvailable(SocketClient* client);
33 int processClient(SocketClient* client, int* socketFd);
H A DDnsProxyListener.h49 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 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,
/system/core/logd/
H A DLogReader.h36 virtual bool onDataAvailable(SocketClient *cli);
41 void doSocketDelete(SocketClient *cli);
H A DFlushCommand.h45 virtual void runSocketCommand(SocketClient *client);
47 static bool hasReadLogs(SocketClient *client);
48 static bool hasSecurityLogs(SocketClient *client);
H A DLogCommand.h20 #include <sysutils/SocketClient.h>
H A DFlushCommand.cpp54 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 DLogListener.h31 virtual bool onDataAvailable(SocketClient *cli);
H A DCommandListener.h45 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 DCommandListener.cpp33 #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 DLogTimes.h26 #include <sysutils/SocketClient.h>
52 LogTimeEntry(LogReader &reader, SocketClient *client, bool nonBlock,
56 SocketClient *mClient;
/system/core/libsysutils/src/
H A DSocketClient.cpp11 #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 DFrameworkCommand.cpp30 int FrameworkCommand::runCommand(SocketClient *c UNUSED, int argc UNUSED,
/system/core/libsysutils/
H A DAndroid.mk11 src/SocketClient.cpp \

Completed in 327 milliseconds

123