Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/main/java/android/system/
DStructUcred.java28 public final int pid; field in StructUcred
36 public StructUcred(int pid, int uid, int gid) { in StructUcred() argument
37 this.pid = pid; in StructUcred()
DOs.java230 …public static void kill(int pid, int signal) throws ErrnoException { Libcore.os.kill(pid, signal);… in kill() argument
509 …public static int waitpid(int pid, MutableInt status, int options) throws ErrnoException { return … in waitpid() argument
/libcore/luni/src/main/java/java/lang/
DProcessManager.java86 int pid = Libcore.os.waitpid(0, status, 0); in watchChildren() local
100 onExit(pid, exitValue); in watchChildren()
120 private void onExit(int pid, int exitValue) { in onExit() argument
124 processReference = processReferences.remove(pid); in onExit()
207 int pid; in exec() local
209 pid = exec(command, environment, workingPath, in, out, err, redirectErrorStream); in exec()
218 ProcessImpl process = new ProcessImpl(pid, in, out, err); in exec()
220 processReferences.put(pid, processReference); in exec()
233 private final int pid; field in ProcessManager.ProcessImpl
247 ProcessImpl(int pid, FileDescriptor in, FileDescriptor out, FileDescriptor err) { in ProcessImpl() argument
[all …]
/libcore/luni/src/main/java/libcore/io/
DForwardingOs.java101 public void kill(int pid, int signal) throws ErrnoException { os.kill(pid, signal); } in kill() argument
163 …public int waitpid(int pid, MutableInt status, int options) throws ErrnoException { return os.wait… in waitpid() argument
DOs.java93 public void kill(int pid, int signal) throws ErrnoException; in kill() argument
156 public int waitpid(int pid, MutableInt status, int options) throws ErrnoException; in waitpid() argument
DPosix.java95 public native void kill(int pid, int signal) throws ErrnoException; in kill() argument
243 public native int waitpid(int pid, MutableInt status, int options) throws ErrnoException; in waitpid() argument
/libcore/luni/src/test/java/libcore/io/
DOsTest.java78 assertEquals(Libcore.os.getpid(), credentials.pid); in checkUnixDomainSocket()
/libcore/luni/src/main/native/
Dlibcore_io_Posix.cpp345 return env->NewObject(JniConstants::structUcredClass, ctor, u.pid, u.uid, u.gid); in makeStructUcred()
936 static void Posix_kill(JNIEnv* env, jobject, jint pid, jint sig) { in Posix_kill() argument
937 throwIfMinusOne(env, "kill", TEMP_FAILURE_RETRY(kill(pid, sig))); in Posix_kill()
1508 static jint Posix_waitpid(JNIEnv* env, jobject, jint pid, jobject javaStatus, jint options) { in Posix_waitpid() argument
1510 int rc = throwIfMinusOne(env, "waitpid", TEMP_FAILURE_RETRY(waitpid(pid, &status, options))); in Posix_waitpid()