Searched refs:fromFd (Results 1 - 5 of 5) 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 128 {.fd = fromFd.get(), .events = POLLIN}, 136 fcntl(fromFd.get(), F_SETFL, fcntl(fromFd.get(), F_GETFL, 0) | O_NONBLOCK); 238 ssize_t amt = ::read(fromFd.get(), mBuffer.writeBuffer(), mBuffer.currentToWrite()); 241 VLOG("Fail to read fromFd %d: %s", fromFd.get(), strerror(errno)); 245 VLOG("Reached EOF of fromFd %d", fromFd.get());
|
H A D | FdBuffer.h | 55 * The parsing process provides IO fds which are 'toFd' and 'fromFd'. The function 57 * and stores the processed data from 'fromFd' in memory for later usage. 63 status_t readProcessedDataInStream(int fd, unique_fd toFd, unique_fd fromFd, int64_t timeoutMs,
|
/frameworks/av/media/mtp/ |
H A D | MtpUtils.cpp | 159 android::base::unique_fd fromFd(open(fromPath, O_RDONLY)); 160 if (fromFd == -1) { 180 ret = sendfile(toFd, fromFd, &offset, transfer_length);
|
/frameworks/base/core/java/android/os/ |
H A D | ParcelFileDescriptor.java | 247 return fromFd(fd, handler, listener); 251 public static ParcelFileDescriptor fromFd( method in class:ParcelFileDescriptor 356 public static ParcelFileDescriptor fromFd(int fd) throws IOException { method in class:ParcelFileDescriptor
|
/frameworks/base/config/ |
H A D | boot-image-profile.txt | 4341 HPLandroid/os/ParcelFileDescriptor;->fromFd(Ljava/io/FileDescriptor;Landroid/os/Handler;Landroid/os/ParcelFileDescriptor$OnCloseListener;)Landroid/os/ParcelFileDescriptor; [all...] |
Completed in 214 milliseconds