/system/netd/server/ |
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 *cli, const char *usageMsg); [all …]
|
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
|
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,
|
D | FwmarkServer.h | 35 bool onDataAvailable(SocketClient* client); 38 int processClient(SocketClient* client, int* socketFd);
|
D | DnsProxyListener.cpp | 97 void tryThreadOrError(SocketClient* cli, T* handler) { in tryThreadOrError() 125 SocketClient *c, char* host, char* service, struct addrinfo* hints, in GetAddrInfoHandler() 143 static bool sendBE32(SocketClient* c, uint32_t data) { in sendBE32() 150 static bool sendLenAndData(SocketClient* c, const int len, const void* data) { in sendLenAndData() 155 static bool sendhostent(SocketClient *c, struct hostent *hp) { in sendhostent() 182 static bool sendaddrinfo(SocketClient* c, struct addrinfo* ai) { in sendaddrinfo() 304 int DnsProxyListener::GetAddrInfoCmd::runCommand(SocketClient *cli, in runCommand() 380 int DnsProxyListener::GetHostByNameCmd::runCommand(SocketClient *cli, in runCommand() 418 SocketClient* c, char* name, int af, unsigned netId, uint32_t mark, const int metricsLevel, in GetHostByNameHandler() 511 int DnsProxyListener::GetHostByAddrCmd::runCommand(SocketClient *cli, in runCommand() [all …]
|
D | CommandListener.cpp | 84 int runCommand(SocketClient *c, int argc, char **argv) { in runCommand() 122 int CommandListener::InterfaceCmd::runCommand(SocketClient *cli, in runCommand() 351 int CommandListener::ListTtysCmd::runCommand(SocketClient *cli, in runCommand() 368 int CommandListener::IpFwdCmd::runCommand(SocketClient *cli, int argc, char **argv) { in runCommand() 428 int CommandListener::TetherCmd::runCommand(SocketClient *cli, in runCommand() 531 int CommandListener::NatCmd::runCommand(SocketClient *cli, in runCommand() 571 int CommandListener::PppdCmd::runCommand(SocketClient *cli, in runCommand() 623 int CommandListener::ResolverCmd::runCommand(SocketClient *cli, int argc, char **margv) { in runCommand() 690 void CommandListener::BandwidthControlCmd::sendGenericSyntaxError(SocketClient *cli, const char *us… in sendGenericSyntaxError() 697 void CommandListener::BandwidthControlCmd::sendGenericOkFail(SocketClient *cli, int cond) { in sendGenericOkFail() [all …]
|
D | MDnsSdListener.cpp | 62 void MDnsSdListener::Handler::discover(SocketClient *cli, in discover() 112 char *quotedServiceName = SocketClient::quoteArg(serviceName); in MDnsSdListenerDiscoverCallback() 133 void MDnsSdListener::Handler::stop(SocketClient *cli, int argc, char **argv, const char *str) { in stop() 157 void MDnsSdListener::Handler::serviceRegister(SocketClient *cli, int requestId, in serviceRegister() 203 char *quotedServiceName = SocketClient::quoteArg(serviceName); in MDnsSdListenerRegisterCallback() 213 void MDnsSdListener::Handler::resolveService(SocketClient *cli, int requestId, in resolveService() 259 char *quotedFullName = SocketClient::quoteArg(fullname); in MDnsSdListenerResolveCallback() 260 char *quotedHostTarget = SocketClient::quoteArg(hosttarget); in MDnsSdListenerResolveCallback() 283 void MDnsSdListener::Handler::getAddrInfo(SocketClient *cli, int requestId, in getAddrInfo() 327 char *quotedHostname = SocketClient::quoteArg(hostname); in MDnsSdListenerGetAddrInfoCallback() [all …]
|
/system/chre/host/common/ |
D | socket_client.cc | 34 SocketClient::SocketClient() { in SocketClient() function in android::chre::SocketClient 38 SocketClient::~SocketClient() { in ~SocketClient() 42 bool SocketClient::connect(const char *socketName, in connect() 47 bool SocketClient::connectInBackground(const char *socketName, in connectInBackground() 52 void SocketClient::disconnect() { in disconnect() 77 bool SocketClient::isConnected() const { in isConnected() 81 bool SocketClient::sendMessage(const void *data, size_t length) { in sendMessage() 103 bool SocketClient::doConnect(const char *socketName, in doConnect() 135 bool SocketClient::inReceiveThread() const { in inReceiveThread() 139 void SocketClient::receiveThread() { in receiveThread() [all …]
|
/system/vold/ |
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 *c, int fd);
|
D | CryptCommandListener.h | 31 static int sendGenericOkFailOnBool(SocketClient *cli, bool success); 37 int runCommand(SocketClient *c, int argc, char ** argv);
|
D | Devmapper.h | 23 class SocketClient; variable 31 static int dumpState(SocketClient *c);
|
D | Loop.h | 24 class SocketClient; variable 39 static int dumpState(SocketClient *c);
|
/system/core/libsysutils/src/ |
D | SocketClient.cpp | 33 SocketClient::SocketClient(int socket, bool owned) { in SocketClient() function in SocketClient 37 SocketClient::SocketClient(int socket, bool owned, bool useCmdNum) { in SocketClient() function in SocketClient 41 void SocketClient::init(int socket, bool owned, bool useCmdNum) { in init() 65 SocketClient::~SocketClient() { in ~SocketClient() 71 int SocketClient::sendMsg(int code, const char *msg, bool addErrno) { in sendMsg() 75 int SocketClient::sendMsg(int code, const char *msg, bool addErrno, bool useCmdNum) { in sendMsg() 101 int SocketClient::sendBinaryMsg(int code, const void *data, int len) { in sendBinaryMsg() 125 int SocketClient::sendCode(int code) { in sendCode() 131 char *SocketClient::quoteArg(const char *arg) { in quoteArg() 161 int SocketClient::sendMsg(const char *msg) { in sendMsg() [all …]
|
D | SocketListener.cpp | 98 mClients->push_back(new SocketClient(mSock, false, mUseCmdNum)); in startListener() 211 mClients->push_back(new SocketClient(c, true, mUseCmdNum)); in runListener() 219 SocketClient* c = *it; in runListener() 234 SocketClient* c = *it; in runListener() 245 bool SocketListener::release(SocketClient* c, bool wakeup) { in release() 281 SocketClient* c = *i; in sendBroadcast() 290 SocketClient* c = *i; in sendBroadcast() 309 SocketClient* c = *i; in runOnEachSocket() 318 SocketClient* c = *i; in runOnEachSocket()
|
/system/core/libsysutils/include/sysutils/ |
D | SocketClient.h | 11 class SocketClient { 34 SocketClient(int sock, bool owned); 35 SocketClient(int sock, bool owned, bool useCmdNum); 36 virtual ~SocketClient(); 87 typedef android::sysutils::List<SocketClient *> SocketClientCollection;
|
D | FrameworkListener.h | 22 class SocketClient; variable 45 virtual bool onDataAvailable(SocketClient *c); 48 void dispatchCommand(SocketClient *c, char *data);
|
D | SocketListener.h | 48 bool release(SocketClient *c) { return release(c, true); } in release() 51 virtual bool onDataAvailable(SocketClient *c) = 0; 54 bool release(SocketClient *c, bool wakeup);
|
D | FrameworkCommand.h | 21 class SocketClient; variable 32 virtual int runCommand(SocketClient *c, int argc, char **argv) = 0;
|
/system/core/logd/ |
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) { \
|
D | CommandListener.cpp | 60 int CommandListener::ShutdownCmd::runCommand(SocketClient* /*cli*/, in runCommand() argument 79 int CommandListener::ClearCmd::runCommand(SocketClient* cli, int argc, in runCommand() 106 int CommandListener::GetBufSizeCmd::runCommand(SocketClient* cli, int argc, in runCommand() 131 int CommandListener::SetBufSizeCmd::runCommand(SocketClient* cli, int argc, in runCommand() 164 int CommandListener::GetBufSizeUsedCmd::runCommand(SocketClient* cli, int argc, in runCommand() 199 int CommandListener::GetStatisticsCmd::runCommand(SocketClient* cli, int argc, in runCommand() 240 int CommandListener::GetPruneListCmd::runCommand(SocketClient* cli, in runCommand() 251 int CommandListener::SetPruneListCmd::runCommand(SocketClient* cli, int argc, in runCommand() 283 int CommandListener::GetEventTagCmd::runCommand(SocketClient* cli, int argc, in runCommand() 332 int CommandListener::ReinitCmd::runCommand(SocketClient* cli, int /*argc*/, in runCommand() [all …]
|
D | FlushCommand.h | 42 virtual void runSocketCommand(SocketClient* client); 44 static bool hasReadLogs(SocketClient* client); 45 static bool hasSecurityLogs(SocketClient* client);
|
D | FlushCommand.cpp | 50 void FlushCommand::runSocketCommand(SocketClient* client) { in runSocketCommand() 102 bool FlushCommand::hasReadLogs(SocketClient* client) { in hasReadLogs() 106 static bool clientHasSecurityCredentials(SocketClient* client) { in clientHasSecurityCredentials() 110 bool FlushCommand::hasSecurityLogs(SocketClient* client) { in hasSecurityLogs()
|
D | LogReader.h | 38 virtual bool onDataAvailable(SocketClient* cli); 43 void doSocketDelete(SocketClient* cli);
|
/system/chre/host/common/test/ |
D | chre_test_client.cc | 40 using android::chre::SocketClient; 53 class SocketCallbacks : public SocketClient::ICallbacks, 119 void requestHubInfo(SocketClient& client) { in requestHubInfo() 129 void requestNanoappList(SocketClient& client) { in requestNanoappList() 139 void sendMessageToNanoapp(SocketClient& client) { in sendMessageToNanoapp() 153 void sendLoadNanoappRequest(SocketClient& client, const char *filename) { in sendLoadNanoappRequest() 183 SocketClient client; in main()
|
/system/chre/host/common/include/chre_host/ |
D | socket_client.h | 32 class SocketClient { 34 SocketClient(); 35 ~SocketClient();
|