Home
last modified time | relevance | path

Searched refs:pidfd (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/core/java/android/os/
H A DProcess.java1562 FileDescriptor pidfd = null; in waitForProcessDeath() local
1566 pidfd = new FileDescriptor(); in waitForProcessDeath()
1567 pidfd.setInt$(fd); in waitForProcessDeath()
1571 if (pidfd != null) { in waitForProcessDeath()
1575 fds[0].fd = pidfd; in waitForProcessDeath()
1594 if (pidfd != null) { in waitForProcessDeath()
1595 IoUtils.closeQuietly(pidfd); in waitForProcessDeath()
1662 FileDescriptor pidfd = new FileDescriptor();
1663 pidfd.setInt$(nativePidFdOpen(pid, flags));
1664 return pidfd;
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_am_CachedAppOptimizer.cpp234 int madviseVmasFromBatch(unique_fd& pidfd, VmaBatch& batch, int madviseType, in madviseVmasFromBatch() argument
244 process_madvise(pidfd, batch.vmas, batch.totalVmas, madviseType, 0); in madviseVmasFromBatch()
287 unique_fd pidfd(pidfd_open(pid, 0)); in compactMemory() local
288 if (pidfd < 0) { in compactMemory()
312 int error = madviseVmasFromBatch(pidfd, batch, madviseType, &bytesProcessedInSend); in compactMemory()