Searched refs:getSocket (Results 1 – 8 of 8) sorted by relevance
/system/core/logd/ |
D | LogReader.cpp | 44 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()
|
D | LogAudit.cpp | 92 if (audit_get_reply(cli->getSocket(), &rep, GET_REPLY_BLOCKING, 0) < 0) { in onDataAvailable()
|
D | LogKlog.cpp | 234 read(cli->getSocket(), buffer + len, sizeof(buffer) - 1 - len); in onDataAvailable()
|
/system/core/libsysutils/src/ |
D | SocketListener.cpp | 161 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()
|
D | NetlinkListener.cpp | 48 int socket = cli->getSocket(); in onDataAvailable()
|
D | FrameworkListener.cpp | 57 len = TEMP_FAILURE_RETRY(read(c->getSocket(), buffer, sizeof(buffer))); in onDataAvailable()
|
/system/core/libsysutils/include/sysutils/ |
D | SocketClient.h | 36 int getSocket() const { return mSocket; } in getSocket() function
|
/system/netd/server/ |
D | FwmarkServer.cpp | 53 if (getpeercon(client->getSocket(), &context)) { in isSystemServer() 108 ReceiveFileDescriptorVector(client->getSocket(), buf, sizeof(buf), 1, &received_fds); in processClient()
|