Home
last modified time | relevance | path

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

/frameworks/native/libs/sensor/
DBitTube.cpp37 : mSendFd(-1), mReceiveFd(-1) in BitTube()
43 : mSendFd(-1), mReceiveFd(-1) in BitTube()
49 : mSendFd(-1), mReceiveFd(-1) in BitTube()
51 mReceiveFd = dup(data.readFileDescriptor()); in BitTube()
52 if (mReceiveFd < 0) { in BitTube()
53 mReceiveFd = -errno; in BitTube()
55 strerror(-mReceiveFd)); in BitTube()
64 if (mReceiveFd >= 0) in ~BitTube()
65 close(mReceiveFd); in ~BitTube()
79 mReceiveFd = sockets[0]; in init()
[all …]
/frameworks/native/libs/gui/
DBitTube.cpp58 mReceiveFd.reset(sockets[0]); in init()
61 mReceiveFd.reset(); in init()
67 if (mReceiveFd < 0) { in initCheck()
68 return status_t(mReceiveFd); in initCheck()
74 return mReceiveFd; in getFd()
82 return std::move(mReceiveFd); in moveReceiveFd()
86 mReceiveFd = std::move(receiveFd); in setReceiveFd()
106 len = ::recv(mReceiveFd, vaddr, size, MSG_DONTWAIT); in read()
118 if (mReceiveFd < 0) return -EINVAL; in writeToParcel()
120 status_t result = reply->writeDupFileDescriptor(mReceiveFd); in writeToParcel()
[all …]
/frameworks/native/libs/sensor/include/sensor/
DBitTube.h80 mutable int mReceiveFd; variable
/frameworks/native/libs/gui/include/private/gui/
DBitTube.h92 mutable base::unique_fd mReceiveFd; variable