Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
DFdBuffer.cpp145 status_t FdBuffer::readProcessedDataInStream(int fd, unique_fd toFd, unique_fd fromFd, in readProcessedDataInStream() argument
150 {.fd = fromFd.get(), .events = POLLIN}, in readProcessedDataInStream()
158 fcntl(fromFd.get(), F_SETFL, fcntl(fromFd.get(), F_GETFL, 0) | O_NONBLOCK); in readProcessedDataInStream()
265 ::read(fromFd.get(), mBuffer->writeBuffer(), mBuffer->currentToWrite())); in readProcessedDataInStream()
268 VLOG("Fail to read fromFd %d: %s", fromFd.get(), strerror(errno)); in readProcessedDataInStream()
272 VLOG("Reached EOF of fromFd %d", fromFd.get()); in readProcessedDataInStream()
DFdBuffer.h64 status_t readProcessedDataInStream(int fd, unique_fd toFd, unique_fd fromFd, int64_t timeoutMs,
/frameworks/av/media/mtp/
DMtpUtils.cpp160 android::base::unique_fd fromFd(open(fromPath, O_RDONLY)); in copyFile() local
161 if (fromFd == -1) { in copyFile()
181 ret = sendfile(toFd, fromFd, &offset, transfer_length); in copyFile()
/frameworks/base/core/java/android/os/
DParcelFileDescriptor.java282 return fromFd(fd, handler, listener); in open()
302 return fromFd(original, handler, listener); in wrap()
307 public static ParcelFileDescriptor fromFd(FileDescriptor fd, Handler handler, in fromFd() method in ParcelFileDescriptor
428 public static ParcelFileDescriptor fromFd(int fd) throws IOException { in fromFd() method in ParcelFileDescriptor
/frameworks/base/core/java/android/util/
DMemoryIntArray.java183 try (ParcelFileDescriptor pfd = ParcelFileDescriptor.fromFd(mFd)) { in writeToParcel()
/frameworks/base/core/java/android/hardware/
DSyncFence.java187 return ParcelFileDescriptor.fromFd(fd); in getFdDup()
/frameworks/base/media/java/android/media/
DImageWriter.java1151 return SyncFence.create(ParcelFileDescriptor.fromFd(mNativeFenceFd)); in getFence()
DImageReader.java1263 return SyncFence.create(ParcelFileDescriptor.fromFd(nativeGetFenceFd())); in getFence()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java777 return SharedMemory.fromFileDescriptor(ParcelFileDescriptor.fromFd(fd)); in getSharedMemory()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt12490 HSPLandroid/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/config/
Dboot-image-profile.txt12493 HSPLandroid/os/ParcelFileDescriptor;->fromFd(I)Landroid/os/ParcelFileDescriptor;
/frameworks/base/core/api/
Dcurrent.txt33515 method public static android.os.ParcelFileDescriptor fromFd(int) throws java.io.IOException;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt37360 Landroid/os/ParcelFileDescriptor;->fromFd(Ljava/io/FileDescriptor;Landroid/os/Handler;Landroid/os/P…