Home
last modified time | relevance | path

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

/hardware/qcom/sm8150/gps/utils/
DLocIpc.cpp210 mutable int32_t mConnFd; member in loc_util::LocIpcInetTcpRecver
214 if (-1 == mConnFd && mSock->isValid()) { in recv()
216 (mConnFd = accept(mSock->mSid, (struct sockaddr*)&mAddr, &size)) < 0) { in recv()
218 mConnFd = -1; in recv()
221 return mSock->recv(mDataCb, 0, (struct sockaddr*)&mAddr, &size, mConnFd); in recv()
226 LocIpcInetTcpSender(name, port), LocIpcRecver(listener, *this), mConnFd(-1) { in LocIpcInetTcpRecver()
232 inline virtual ~LocIpcInetTcpRecver() { if (-1 != mConnFd) ::close(mConnFd); } in ~LocIpcInetTcpRecver()