Home
last modified time | relevance | path

Searched refs:fromFd (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/cmds/incidentd/src/
DFdBuffer.cpp123 status_t FdBuffer::readProcessedDataInStream(int fd, unique_fd toFd, unique_fd fromFd, in readProcessedDataInStream() argument
128 {.fd = fromFd.get(), .events = POLLIN}, in readProcessedDataInStream()
136 fcntl(fromFd.get(), F_SETFL, fcntl(fromFd.get(), F_GETFL, 0) | O_NONBLOCK); in readProcessedDataInStream()
238 ssize_t amt = ::read(fromFd.get(), mBuffer.writeBuffer(), mBuffer.currentToWrite()); in readProcessedDataInStream()
241 VLOG("Fail to read fromFd %d: %s", fromFd.get(), strerror(errno)); in readProcessedDataInStream()
245 VLOG("Reached EOF of fromFd %d", fromFd.get()); in readProcessedDataInStream()
DFdBuffer.h63 status_t readProcessedDataInStream(int fd, unique_fd toFd, unique_fd fromFd, int64_t timeoutMs,
/frameworks/av/media/mtp/
DMtpUtils.cpp159 android::base::unique_fd fromFd(open(fromPath, O_RDONLY)); in copyFile() local
160 if (fromFd == -1) { in copyFile()
180 ret = sendfile(toFd, fromFd, &offset, transfer_length); in copyFile()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java247 return fromFd(fd, handler, listener); in open()
251 public static ParcelFileDescriptor fromFd( in fromFd() method in ParcelFileDescriptor
356 public static ParcelFileDescriptor fromFd(int fd) throws IOException { in fromFd() method in ParcelFileDescriptor
/frameworks/base/config/
Dboot-image-profile.txt4341 HPLandroid/os/ParcelFileDescriptor;->fromFd(Ljava/io/FileDescriptor;Landroid/os/Handler;Landroid/os…
28269 HSPLandroid/os/ParcelFileDescriptor;->fromFd(I)Landroid/os/ParcelFileDescriptor;
Dhiddenapi-public-dex.txt31500 Landroid/os/ParcelFileDescriptor;->fromFd(I)Landroid/os/ParcelFileDescriptor;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt22061 method public static android.os.ParcelFileDescriptor fromFd(int) throws java.io.IOException;
/frameworks/base/api/
Dcurrent.txt32859 method public static android.os.ParcelFileDescriptor fromFd(int) throws java.io.IOException;