Home
last modified time | relevance | path

Searched refs:mListen (Results 1 – 2 of 2) sorted by relevance

/system/core/libsysutils/src/
DSocketListener.cpp52 mListen = listen; in init()
92 if (mListen && listen(mSock, backlog) < 0) { in startListener()
95 } else if (!mListen) in startListener()
158 if (mListen) fds.push_back({.fd = mSock, .events = POLLIN}); in runListener()
167 SLOGV("mListen=%d, mSocketName=%s", mListen, mSocketName); in runListener()
170 SLOGE("poll failed (%s) mListen=%d", strerror(errno), mListen); in runListener()
183 if (mListen && (fds[1].revents & (POLLIN | POLLERR))) { in runListener()
200 for (int i = mListen ? 2 : 1; i < size; ++i) { in runListener()
229 if (mListen && c) { in release()
/system/core/libsysutils/include/sysutils/
DSocketListener.h27 bool mListen; variable