Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DPhantomProcessList.java346 if (proc.mPidFd != null) { in getOrCreatePhantomProcessIfNeededLocked()
348 proc.mPidFd, EVENT_INPUT | EVENT_ERROR, in getOrCreatePhantomProcessIfNeededLocked()
350 mPhantomProcessesPidFds.put(proc.mPidFd.getInt$(), proc); in getOrCreatePhantomProcessIfNeededLocked()
385 if (proc.mPidFd != null && proc.mPidFd.valid()) { in onPhantomProcessKilledLocked()
387 .removeOnFileDescriptorEventListener(proc.mPidFd); in onPhantomProcessKilledLocked()
388 mPhantomProcessesPidFds.remove(proc.mPidFd.getInt$()); in onPhantomProcessKilledLocked()
389 IoUtils.closeQuietly(proc.mPidFd); in onPhantomProcessKilledLocked()
DPhantomProcessRecord.java58 final FileDescriptor mPidFd; // The fd to monitor the termination of this process field in PhantomProcessRecord
90 mPidFd = Process.openPidFd(pid, 0); in PhantomProcessRecord()
91 if (mPidFd == null) { in PhantomProcessRecord()
104 mPidFd = null; in PhantomProcessRecord()