Searched refs:mPollFds (Results 1 – 4 of 4) sorted by relevance
/system/chre/host/common/ |
D | socket_server.cc | 63 mPollFds[i].fd = -1; in SocketServer() 64 mPollFds[i].events = POLLIN; in SocketServer() 164 if (mPollFds[i].fd < 0) { in acceptClientConnection() 165 mPollFds[i].fd = clientSocket; in acceptClientConnection() 215 if (mPollFds[i].fd == clientSocket) { in disconnectClient() 216 mPollFds[i].fd = -1; in disconnectClient() 252 mPollFds[kListenIndex].fd = mSockFd; in serviceSocket() 253 mPollFds[kListenIndex].events = POLLIN; in serviceSocket() 270 int ret = ppoll(mPollFds, 1 + kMaxActiveClients, nullptr, &signalMask); in serviceSocket() 277 if (mPollFds[kListenIndex].revents & POLLIN) { in serviceSocket() [all …]
|
/system/netd/server/ |
D | MDnsSdListener.cpp | 525 mPollFds = nullptr; in Monitor() 584 mPollFds = (struct pollfd *)calloc(sizeof(struct pollfd), mPollSize); in run() 586 … LOG_ALWAYS_FATAL_IF((mPollFds == nullptr), "initial calloc failed on mPollFds with a size of %d", in run() 591 mPollFds[0].fd = mCtrlSocketPair[0]; in run() 592 mPollFds[0].events = POLLIN; in run() 597 int pollResults = poll(mPollFds, pollCount, 10000000); in run() 603 if (mPollFds[i].revents != 0) { in run() 606 i, mPollFds[i].revents); in run() 610 mPollFds[i].revents = 0; in run() 613 if (VDBG) ALOGD("controlSocket shows revent= %d", mPollFds[0].revents); in run() [all …]
|
D | MDnsSdListener.h | 100 struct pollfd *mPollFds; variable
|
/system/chre/host/common/include/chre_host/ |
D | socket_server.h | 95 struct pollfd mPollFds[1 + kMaxActiveClients] = {}; variable
|