Home
last modified time | relevance | path

Searched refs:Process (Results 1 – 21 of 21) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcessTest.java31 ArrayList<Process> children = new ArrayList<Process>(); in test_55017()
45 Process ps = Runtime.getRuntime().exec(psCommand, null, null); in test_55017()
57 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getOutputStream()
85 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream()
114 Process process = Runtime.getRuntime().exec(commands, null, null); in test_exitValue()
143 Process process = Runtime.getRuntime().exec(commands, null, null); in test_destroy()
151 Process process = Runtime.getRuntime().exec(commands, null, null); in test_destroyForcibly()
159 Process process = Runtime.getRuntime().exec(commands, null, null); in test_isAlive()
168 Process process = Runtime.getRuntime().exec(commands, null, null); in test_waitForTimeout()
180 Process process = Runtime.getRuntime().exec(commands, null, null); in test_waitForTimeout_NPE()
DProcessManagerTest.java32 Process process = null;
37 Process process = Runtime.getRuntime().exec(commands, null, null); in testCat()
116 Process process = Runtime.getRuntime().exec( in testPwd()
127 Process process = Runtime.getRuntime().exec( in testEnvironment()
133 String readLine(Process process) throws IOException { in readLine()
139 void logErrors(final Process process) throws IOException { in logErrors()
168 Process proc = rt.exec("ls"); in stuff()
185 Process process = Runtime.getRuntime().exec(commands, null, null); in testCloseNonStandardFds()
207 private int countLines(Process process) throws IOException { in countLines()
DProcess2Test.java34 Process p = javaProcessBuilder().start(); in test_streams()
42 Process process = null; in test_getErrorStream()
63 Process erProcess = null; in test_getErrorStream()
DProcessBuilderTest.java151 Process process = pb.start(); in testStart()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DRuntime.java66 public java.lang.Process exec(java.lang.String command) throws java.io.IOException { in exec()
70 public java.lang.Process exec(java.lang.String command, java.lang.String[] envp) in exec()
75 public java.lang.Process exec( in exec()
81 public java.lang.Process exec(java.lang.String[] cmdarray) throws java.io.IOException { in exec()
85 public java.lang.Process exec(java.lang.String[] cmdarray, java.lang.String[] envp) in exec()
90 public java.lang.Process exec( in exec()
DUNIXProcess.java31 final class UNIXProcess extends java.lang.Process {
/libcore/ojluni/src/main/java/java/lang/
DProcess.java77 public abstract class Process { class
244 public Process destroyForcibly() { in destroyForcibly()
DRuntime.java420 public Process exec(String command) throws IOException { in exec()
461 public Process exec(String command, String[] envp) throws IOException { in exec()
515 public Process exec(String command, String[] envp, File dir) in exec()
558 public Process exec(String cmdarray[]) throws IOException { in exec()
601 public Process exec(String[] cmdarray, String[] envp) throws IOException { in exec()
689 public Process exec(String[] cmdarray, String[] envp, File dir) in exec()
DProcessImpl.java61 static Process start(String[] cmdarray, in start()
DUNIXProcess.java55 final class UNIXProcess extends Process {
DProcessBuilder.java1004 public Process start() throws IOException {
/libcore/luni/src/test/java/libcore/java/lang/
DProcessBuilderTest.java85 Process process = new ProcessBuilder(shell()) in testRedirectErrorStream_outputAndErrorAreMerged()
105 Process process = new ProcessBuilder() in testRedirectInherit()
201 Process process = new ProcessBuilder("ls", missingFilePath) in testRedirectPipe_error()
214 Process process = new ProcessBuilder() in testRedirect_nullStreams()
228 Process process = new ProcessBuilder() in testRedirectErrorStream_nullStream()
246 Process process = new ProcessBuilder(shell(), "-c", "echo out; echo err 1>&2").start(); in testDestroyClosesEverything()
275 Process process = new ProcessBuilder(shell(), "-c", "echo out; echo err 1>&2").start(); in testDestroyDoesNotLeak()
476 Process process = pb.start(); in checkProcessExecution()
528 private static int getChildProcessPid(Process process) { in getChildProcessPid()
DOldRuntimeTest.java298 Process proc = null; in checkExec()
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesSetup.java164 static Process execCmdAndWaitForTermination(String... cmdList) in execCmdAndWaitForTermination()
166 Process process = Runtime.getRuntime().exec(cmdList); in execCmdAndWaitForTermination()
DFiles2Test.java263 Process statProcess = execCmdAndWaitForTermination(statCmd); in test_getOwner()
/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DPssInstrumentation.java21 import android.os.Process;
/libcore/support/src/test/java/tests/support/
DSupport_Exec.java84 Process process = builder.start(); in execAndGetOutput()
/libcore/luni/src/test/java/libcore/java/lang/invoke/
DMethodHandlesTest.java933 … mh = MethodHandles.lookup().findConstructor(Process.class, MethodType.methodType(void.class)); in testConstructors()
1187 Process p = (Process) mh.invokeExact(LARGE, SMALL); in testPrimitiveReturnValueConversions()
1193 Process p = (Process) mh.invoke(LARGE, SMALL); in testPrimitiveReturnValueConversions()
1568 vat, 'x', (Process) null, 3.131, "bad", new Integer(37))); in testVariableArity_Number()
1683 'x', (Process) null, 3.131, "bad", new Integer(37))).lastResult()); in testVariableArity_numberConstructors()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java1330 Process p = r.exec("attrib +h \"" + f.getPath() + "\""); in test_listFiles()
1366 Process p = r.exec("attrib -h \"" in test_listFiles()
/libcore/api/
Dcurrent.txt3457 public abstract class Process {
3458 ctor public Process();
3460 method public Process destroyForcibly();
3491 method public Process start() throws java.io.IOException;
3530 method public Process exec(String) throws java.io.IOException;
3531 method public Process exec(String, String[]) throws java.io.IOException;
3532 method public Process exec(String, String[], java.io.File) throws java.io.IOException;
3533 method public Process exec(String[]) throws java.io.IOException;
3534 method public Process exec(String[], String[]) throws java.io.IOException;
3535 method public Process exec(String[], String[], java.io.File) throws java.io.IOException;
/libcore/
Dopenjdk_java_files.bp178 "ojluni/src/main/java/java/lang/Process.java",