Searched refs:toFd (Results 1 - 3 of 3) sorted by relevance
/frameworks/base/cmds/incidentd/src/ |
H A D | FdBuffer.cpp | 123 status_t FdBuffer::readProcessedDataInStream(int fd, unique_fd toFd, unique_fd fromFd, argument 127 {.fd = toFd.get(), .events = POLLOUT}, 135 fcntl(toFd.get(), F_SETFL, fcntl(toFd.get(), F_GETFL, 0) | O_NONBLOCK); 207 amt = ::write(toFd.get(), cirBuf + wpos, rpos - wpos); 209 amt = ::write(toFd.get(), cirBuf + wpos, BUFFER_SIZE - wpos); 213 VLOG("Fail to write toFd %d: %s", toFd.get(), strerror(errno)); 224 VLOG("Close write pipe %d", toFd.get()); 225 toFd [all...] |
H A D | FdBuffer.h | 55 * The parsing process provides IO fds which are 'toFd' and 'fromFd'. The function 56 * reads original data in 'fd' and writes to parsing process through 'toFd', then it reads 63 status_t readProcessedDataInStream(int fd, unique_fd toFd, unique_fd fromFd, int64_t timeoutMs,
|
/frameworks/av/media/mtp/ |
H A D | MtpUtils.cpp | 164 android::base::unique_fd toFd(open(toPath, O_CREAT | O_WRONLY, FILE_PERM)); 165 if (toFd == -1) { 180 ret = sendfile(toFd, fromFd, &offset, transfer_length);
|
Completed in 76 milliseconds