Home
last modified time | relevance | path

Searched refs:F_DUPFD_CLOEXEC (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/core/java/android/os/
DNativeHandle.java19 import static android.system.OsConstants.F_DUPFD_CLOEXEC;
116 int fdint = Os.fcntlInt(mFds[i], F_DUPFD_CLOEXEC, 0); in dup()
DParcelFileDescriptor.java21 import static android.system.OsConstants.F_DUPFD_CLOEXEC;
396 int intfd = Os.fcntlInt(orig, (isAtLeastQ() ? F_DUPFD_CLOEXEC : F_DUPFD), 0); in dup()
434 int intfd = Os.fcntlInt(original, (isAtLeastQ() ? F_DUPFD_CLOEXEC : F_DUPFD), 0); in fromFd()
/frameworks/base/native/android/
Dsharedmem.cpp76 fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in ASharedMemory_dupFromJava()
/frameworks/native/libs/binder/
DIShellCallback.cpp50 return fd >= 0 ? fcntl(fd, F_DUPFD_CLOEXEC, 0) : fd; in openFile()
DOS_unix_base.cpp59 int ret = fcntl(oldFd, F_DUPFD_CLOEXEC, 0); in dupFileDescriptor()
DIMemory.cpp300 int fd = fcntl(heap->mHeapId.load(memory_order_relaxed), F_DUPFD_CLOEXEC, 0); in assertMapped()
340 int fd = fcntl(parcel_fd, F_DUPFD_CLOEXEC, 0); in assertReallyMapped()
DMemoryHeapBase.cpp130 mapfd(fcntl(fd, F_DUPFD_CLOEXEC, 0), false, size, offset); in MemoryHeapBase()
DIActivityManager.cpp51 fd = fcntl(reply.readParcelFileDescriptor(), F_DUPFD_CLOEXEC, 0); in openContentUri()
/frameworks/base/ravenwood/runtime-jni/
Dravenwood_runtime.cpp77 return throwIfMinusOne(env, "fcntl", TEMP_FAILURE_RETRY(fcntl(fd, F_DUPFD_CLOEXEC, 0))); in nDup()
/frameworks/av/media/libshmem/
DShmemCompat.cpp87 base::unique_fd fd(fcntl(heap->getHeapID(), F_DUPFD_CLOEXEC, 0)); in convertIMemoryToSharedFileRegion()
/frameworks/libs/binary_translation/kernel_api/
Dfcntl_emulation.cc132 case F_DUPFD_CLOEXEC: in GuestFcntl()
/frameworks/av/media/libaaudio/src/binding/
DSharedMemoryParcelable.cpp62 mFd.reset(fcntl(fd.get(), F_DUPFD_CLOEXEC, minFd)); // store a duplicate FD in setup()
/frameworks/base/core/jni/
Dandroid_hardware_SerialPort.cpp137 fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in android_hardware_SerialPort_open()
Dandroid_content_res_ApkAssets.cpp285 unique_fd dup_fd(::fcntl(fd, F_DUPFD_CLOEXEC, 0)); in NativeLoadFromFd()
352 unique_fd dup_fd(::fcntl(fd, F_DUPFD_CLOEXEC, 0)); in NativeLoadFromFdOffset()
Dandroid_hardware_UsbDeviceConnection.cpp51 fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in android_hardware_UsbDeviceConnection_open()
Dcom_android_internal_content_NativeLibraryHelper.cpp583 int dupedFd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in com_android_internal_content_NativeLibraryHelper_openApkFd()
Dandroid_os_Debug.cpp515 int fd = fcntl(origFd, F_DUPFD_CLOEXEC, 0); in openFile()
Dandroid_os_Parcel.cpp528 fd = fcntl(fd, F_DUPFD_CLOEXEC, 0); in android_os_Parcel_readFileDescriptor()
/frameworks/native/libs/binder/tests/
DbinderRpcTestService.cpp80 mFdChannel.write(unique_fd(fcntl(fd.get(), F_DUPFD_CLOEXEC, 0))); in blockingSendFdOneway()
/frameworks/base/media/jni/soundpool/
DSound.cpp34 , mFd(fcntl(fd, F_DUPFD_CLOEXEC, (int)0 /* arg */)) // dup(fd) + close on exec to prevent leaks. in Sound()
/frameworks/base/native/graphics/jni/
Dimagedecoder.cpp162 int dupDescriptor = fcntl(fd, F_DUPFD_CLOEXEC, 0); in AImageDecoder_createFromFd()
/frameworks/base/libs/androidfw/
DCursorWindow.cpp164 window->mAshmemFd = ::fcntl(window->mAshmemFd, F_DUPFD_CLOEXEC, 0); in createFromParcel()
/frameworks/base/libs/hwui/jni/
DImageDecoder.cpp176 int dupDescriptor = fcntl(descriptor, F_DUPFD_CLOEXEC, 0); in ImageDecoder_nCreateFd()
DBitmapFactory.cpp713 int dupDescriptor = fcntl(descriptor, F_DUPFD_CLOEXEC, 0); in nativeDecodeFileDescriptor()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java342 public static final int F_DUPFD_CLOEXEC = placeholder(); field in OsConstants

12