Home
last modified time | relevance | path

Searched refs:getSocket (Results 1 – 8 of 8) sorted by relevance

/system/core/logd/
DLogReader.cpp44 return android::base::StringPrintf("pid %d, fd %d", client->getPid(), client->getSocket()); in SocketClientToName()
67 void Shutdown() override { shutdown(client_->getSocket(), SHUT_RDWR); } in Shutdown()
89 int len = read(cli->getSocket(), buffer, sizeof(buffer) - 1); in onDataAvailable()
225 setsockopt(cli->getSocket(), SOL_SOCKET, SO_SNDTIMEO, (const char*)&t, in onDataAvailable()
DLogAudit.cpp92 if (audit_get_reply(cli->getSocket(), &rep, GET_REPLY_BLOCKING, 0) < 0) { in onDataAvailable()
DLogKlog.cpp234 read(cli->getSocket(), buffer + len, sizeof(buffer) - 1 - len); in onDataAvailable()
/system/core/libsysutils/src/
DSocketListener.cpp161 const int fd = pair.second->getSocket(); in runListener()
217 SLOGV("processing fd %d", c->getSocket()); in runListener()
231 SLOGV("going to zap %d for %s", c->getSocket(), mSocketName); in release()
233 ret = (mClients.erase(c->getSocket()) != 0); in release()
DNetlinkListener.cpp48 int socket = cli->getSocket(); in onDataAvailable()
DFrameworkListener.cpp57 len = TEMP_FAILURE_RETRY(read(c->getSocket(), buffer, sizeof(buffer))); in onDataAvailable()
/system/core/libsysutils/include/sysutils/
DSocketClient.h36 int getSocket() const { return mSocket; } in getSocket() function
/system/netd/server/
DFwmarkServer.cpp53 if (getpeercon(client->getSocket(), &context)) { in isSystemServer()
108 ReceiveFileDescriptorVector(client->getSocket(), buf, sizeof(buf), 1, &received_fds); in processClient()