/libcore/luni/src/main/java/android/system/ |
D | StructCapUserHeader.java | 35 public final int pid; field in StructCapUserHeader 40 public StructCapUserHeader(int version, int pid) { in StructCapUserHeader() argument 42 this.pid = pid; in StructCapUserHeader()
|
D | StructUcred.java | 28 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()
|
D | Os.java | 210 …/** @hide */ public static int getpgid(int pid) throws ErrnoException { return Libcore.os.getpgid(… in getpgid() argument 279 …public static void kill(int pid, int signal) throws ErrnoException { Libcore.os.kill(pid, signal);… in kill() argument 490 …/** @hide */ public static void setpgid(int pid, int pgid) throws ErrnoException { Libcore.os.setp… in setpgid() argument 609 …public static int waitpid(int pid, MutableInt status, int options) throws ErrnoException { return … in waitpid() argument
|
/libcore/ojluni/src/main/java/java/lang/ |
D | UNIXProcess.java | 56 private final int pid; field in UNIXProcess 65 private native int waitForProcessExit(int pid); in waitForProcessExit() argument 133 pid = forkAndExec(prog, 172 int exitcode = waitForProcessExit(pid); 220 private static native void destroyProcess(int pid); 230 destroyProcess(pid); 240 sb.append(pid);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessTest.java | 41 String pid = Integer.toString(Libcore.os.getpid()); in test_55017() local 43 String[] psCommand = onDevice ? new String[] { "ps", "--ppid", pid } in test_55017() 44 : new String[] { "ps", "S", "--ppid", pid }; in test_55017()
|
/libcore/luni/src/main/java/libcore/io/ |
D | ForwardingOs.java | 96 public int getpgid(int pid) throws ErrnoException { return os.getpgid(pid); } in getpgid() argument 120 public void kill(int pid, int signal) throws ErrnoException { os.kill(pid, signal); } in kill() argument 162 public void setpgid(int pid, int pgid) throws ErrnoException { os.setpgid(pid, pgid); } in setpgid() argument 191 …public int waitpid(int pid, MutableInt status, int options) throws ErrnoException { return os.wait… in waitpid() argument
|
D | Os.java | 82 public int getpgid(int pid) throws ErrnoException; in getpgid() argument 106 public void kill(int pid, int signal) throws ErrnoException; in kill() argument 149 public void setpgid(int pid, int pgid) throws ErrnoException; in setpgid() argument 178 public int waitpid(int pid, MutableInt status, int options) throws ErrnoException; in waitpid() argument
|
D | Linux.java | 87 public native int getpgid(int pid); in getpgid() argument 111 public native void kill(int pid, int signal) throws ErrnoException; in kill() argument 236 public native void setpgid(int pid, int pgid) throws ErrnoException; in setpgid() argument 271 public native int waitpid(int pid, MutableInt status, int options) throws ErrnoException; in waitpid() argument
|
/libcore/ojluni/src/main/native/ |
D | UNIXProcess_md.c | 324 jint pid) in UNIXProcess_waitForProcessExit() argument 331 while (waitpid(pid, &status, 0) < 0) { in UNIXProcess_waitForProcessExit() 967 UNIXProcess_destroyProcess(JNIEnv *env, jobject junk, jint pid) in UNIXProcess_destroyProcess() argument 969 kill(pid, SIGTERM); in UNIXProcess_destroyProcess()
|
/libcore/ojluni/src/main/java/java/util/ |
D | XMLUtils.java | 189 public InputSource resolveEntity(String pid, String sid) in resolveEntity() argument
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | ProcessBuilderTest.java | 89 long pid = getChildProcessPid(process); in testRedirectErrorStream_outputAndErrorAreMerged() local 90 String path = "/proc/" + pid + "/fd/"; in testRedirectErrorStream_outputAndErrorAreMerged()
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 469 return env->NewObject(JniConstants::structUcredClass, ctor, u.pid, u.uid, u.gid); in makeStructUcred() 771 c_header->pid = env->GetIntField(java_header, pid_fid); in ReadStructCapUserHeader() 1287 static jint Linux_getpgid(JNIEnv* env, jobject, jint pid) { in Linux_getpgid() argument 1288 return throwIfMinusOne(env, "getpgid", TEMP_FAILURE_RETRY(getpgid(pid))); in Linux_getpgid() 1616 static void Linux_kill(JNIEnv* env, jobject, jint pid, jint sig) { in Linux_kill() argument 1617 throwIfMinusOne(env, "kill", TEMP_FAILURE_RETRY(kill(pid, sig))); in Linux_kill() 2072 static void Linux_setpgid(JNIEnv* env, jobject, jint pid, int pgid) { in Linux_setpgid() argument 2073 throwIfMinusOne(env, "setpgid", TEMP_FAILURE_RETRY(setpgid(pid, pgid))); in Linux_setpgid() 2346 static jint Linux_waitpid(JNIEnv* env, jobject, jint pid, jobject javaStatus, jint options) { in Linux_waitpid() argument 2348 int rc = throwIfMinusOne(env, "waitpid", TEMP_FAILURE_RETRY(waitpid(pid, &status, options))); in Linux_waitpid()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | XmlSupport.java | 429 public InputSource resolveEntity(String pid, String sid) in resolveEntity() argument
|
/libcore/luni/src/test/java/libcore/io/ |
D | OsTest.java | 114 assertEquals(Libcore.os.getpid(), credentials.pid); in checkUnixDomainSocket()
|