Lines Matching refs:mReceiveFd
37 : 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()
82 mReceiveFd = -errno; in init()
83 ALOGE("BitTube: pipe creation failed (%s)", strerror(-mReceiveFd)); in init()
89 if (mReceiveFd < 0) { in initCheck()
90 return status_t(mReceiveFd); in initCheck()
97 return mReceiveFd; in getFd()
120 len = ::recv(mReceiveFd, vaddr, size, MSG_DONTWAIT); in read()
133 if (mReceiveFd < 0) in writeToParcel()
136 status_t result = reply->writeDupFileDescriptor(mReceiveFd); in writeToParcel()
137 close(mReceiveFd); in writeToParcel()
138 mReceiveFd = -1; in writeToParcel()