Home
last modified time | relevance | path

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

/hardware/qcom/sm8150p/gps/utils/
DLocIpc.cpp252 mutable int32_t mConnFd; member in loc_util::LocIpcInetTcpRecver
256 if (-1 == mConnFd && mSock->isValid()) { in recv()
258 (mConnFd = accept(mSock->mSid, (struct sockaddr*)&mAddr, &size)) < 0) { in recv()
260 mConnFd = -1; in recv()
263 return mSock->recv(mDataCb, 0, (struct sockaddr*)&mAddr, &size, mConnFd); in recv()
268 LocIpcInetRecver(listener, name, port, SOCK_STREAM), mConnFd(-1) {} in LocIpcInetTcpRecver()
269 inline virtual ~LocIpcInetTcpRecver() { if (-1 != mConnFd) ::close(mConnFd);} in ~LocIpcInetTcpRecver()
/hardware/qcom/sm7150/gps/utils/
DLocIpc.cpp273 mutable int32_t mConnFd; member in loc_util::LocIpcInetTcpRecver
277 if (-1 == mConnFd && mSock->isValid()) { in recv()
279 (mConnFd = accept(mSock->mSid, (struct sockaddr*)&mAddr, &size)) < 0) { in recv()
281 mConnFd = -1; in recv()
284 return mSock->recv(*this, mDataCb, 0, (struct sockaddr*)&mAddr, &size, mConnFd); in recv()
289 LocIpcInetRecver(listener, name, port, SOCK_STREAM), mConnFd(-1) {} in LocIpcInetTcpRecver()
290 inline virtual ~LocIpcInetTcpRecver() { if (-1 != mConnFd) ::close(mConnFd);} in ~LocIpcInetTcpRecver()
/hardware/qcom/sm8150/gps/utils/
DLocIpc.cpp273 mutable int32_t mConnFd; member in loc_util::LocIpcInetTcpRecver
277 if (-1 == mConnFd && mSock->isValid()) { in recv()
279 (mConnFd = accept(mSock->mSid, (struct sockaddr*)&mAddr, &size)) < 0) { in recv()
281 mConnFd = -1; in recv()
284 return mSock->recv(*this, mDataCb, 0, (struct sockaddr*)&mAddr, &size, mConnFd); in recv()
289 LocIpcInetRecver(listener, name, port, SOCK_STREAM), mConnFd(-1) {} in LocIpcInetTcpRecver()
290 inline virtual ~LocIpcInetTcpRecver() { if (-1 != mConnFd) ::close(mConnFd);} in ~LocIpcInetTcpRecver()