Searched refs:mPidFd (Results 1 – 2 of 2) sorted by relevance
346 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()
58 final FileDescriptor mPidFd; // The fd to monitor the termination of this process field in PhantomProcessRecord90 mPidFd = Process.openPidFd(pid, 0); in PhantomProcessRecord()91 if (mPidFd == null) { in PhantomProcessRecord()104 mPidFd = null; in PhantomProcessRecord()