/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;
|
/system/core/libsysutils/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;
|
/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 | 24 class SocketClient; 39 static int dumpState(SocketClient *c);
|
/system/netd/server/ |
H A D | CommandListener.h | 55 int runCommand(SocketClient *c, int argc, char ** argv); 62 int runCommand(SocketClient *c, int argc, char ** argv); 69 int runCommand(SocketClient *c, int argc, char ** argv); 76 int runCommand(SocketClient *c, int argc, char ** argv); 83 int runCommand(SocketClient *c, int argc, char ** argv); 90 int runCommand(SocketClient *c, int argc, char ** argv); 97 int runCommand(SocketClient *c, int argc, char ** argv); 99 void sendGenericOkFail(SocketClient *cli, int cond); 100 void sendGenericOpFailed(SocketClient *cli, const char *errMsg); 101 void sendGenericSyntaxError(SocketClient *cl [all...] |
H A D | FwmarkServer.h | 35 bool onDataAvailable(SocketClient* client); 38 int processClient(SocketClient* client, int* socketFd);
|
H A D | DnsProxyListener.h | 48 int runCommand(SocketClient *c, int argc, char** argv); 56 GetAddrInfoHandler(SocketClient *c, 68 SocketClient* mClient; // ref counted 82 int runCommand(SocketClient *c, int argc, char** argv); 89 GetHostByNameHandler(SocketClient *c, 101 SocketClient* mClient; //ref counted 115 int runCommand(SocketClient *c, int argc, char** argv); 122 GetHostByAddrHandler(SocketClient *c, 133 SocketClient* mClient; // ref counted
|
/system/core/logd/ |
H A D | FlushCommand.h | 42 virtual void runSocketCommand(SocketClient* client); 44 static bool hasReadLogs(SocketClient* client); 45 static bool hasSecurityLogs(SocketClient* client);
|
H A D | LogCommand.h | 21 #include <sysutils/SocketClient.h>
|
H A D | LogReader.h | 38 virtual bool onDataAvailable(SocketClient* cli); 43 void doSocketDelete(SocketClient* cli);
|
H A D | LogListener.h | 31 virtual bool onDataAvailable(SocketClient* cli);
|
H A D | CommandListener.h | 46 int runCommand(SocketClient* c, int argc, char** argv); 57 int runCommand(SocketClient* c, int argc, char** argv); \ 75 int runCommand(SocketClient* c, int argc, char** argv); \ 89 int runCommand(SocketClient* c, int argc, char** argv); \ 90 void release(SocketClient* c) { \
|
/system/chre/host/common/ |
H A D | socket_client.cc | 34 SocketClient::SocketClient() { function in class:android::chre::SocketClient 38 SocketClient::~SocketClient() { 42 bool SocketClient::connect(const char *socketName, 47 bool SocketClient::connectInBackground(const char *socketName, 52 void SocketClient::disconnect() { 77 bool SocketClient::isConnected() const { 81 bool SocketClient::sendMessage(const void *data, size_t length) { 103 bool SocketClient [all...] |
/system/core/libsysutils/src/ |
H A D | SocketClient.cpp | 17 #define LOG_TAG "SocketClient" 31 #include <sysutils/SocketClient.h> 33 SocketClient::SocketClient(int socket, bool owned) { function in class:SocketClient 37 SocketClient::SocketClient(int socket, bool owned, bool useCmdNum) { function in class:SocketClient 41 void SocketClient::init(int socket, bool owned, bool useCmdNum) { 65 SocketClient::~SocketClient() { 71 int SocketClient [all...] |
H A D | FrameworkCommand.cpp | 30 int FrameworkCommand::runCommand(SocketClient *c UNUSED, int argc UNUSED,
|