Home | History | Annotate | Download | only in gui

Lines Matching refs:mReceiveFd

39     : mSendFd(-1), mReceiveFd(-1)
45 : mSendFd(-1), mReceiveFd(-1)
51 : mSendFd(-1), mReceiveFd(-1)
53 mReceiveFd = dup(data.readFileDescriptor());
54 if (mReceiveFd < 0) {
55 mReceiveFd = -errno;
57 strerror(-mReceiveFd));
66 if (mReceiveFd >= 0)
67 close(mReceiveFd);
81 mReceiveFd = sockets[0];
84 mReceiveFd = -errno;
85 ALOGE("BitTube: pipe creation failed (%s)", strerror(-mReceiveFd));
91 if (mReceiveFd < 0) {
92 return status_t(mReceiveFd);
99 return mReceiveFd;
117 len = ::recv(mReceiveFd, vaddr, size, MSG_DONTWAIT);
130 if (mReceiveFd < 0)
133 status_t result = reply->writeDupFileDescriptor(mReceiveFd);
134 close(mReceiveFd);
135 mReceiveFd = -1;