Searched refs:SocketClient (Results 1 - 25 of 64) 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;
/system/core/libsysutils/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;
/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.h24 class SocketClient;
39 static int dumpState(SocketClient *c);
/system/netd/server/
H A DCommandListener.h55 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 DFwmarkServer.h35 bool onDataAvailable(SocketClient* client);
38 int processClient(SocketClient* client, int* socketFd);
H A DDnsProxyListener.h48 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 DFlushCommand.h42 virtual void runSocketCommand(SocketClient* client);
44 static bool hasReadLogs(SocketClient* client);
45 static bool hasSecurityLogs(SocketClient* client);
H A DLogCommand.h21 #include <sysutils/SocketClient.h>
H A DLogReader.h38 virtual bool onDataAvailable(SocketClient* cli);
43 void doSocketDelete(SocketClient* cli);
H A DLogListener.h31 virtual bool onDataAvailable(SocketClient* cli);
H A DCommandListener.h46 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 Dsocket_client.cc34 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 DSocketClient.cpp17 #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 DFrameworkCommand.cpp30 int FrameworkCommand::runCommand(SocketClient *c UNUSED, int argc UNUSED,

Completed in 141 milliseconds

123