Home
last modified time | relevance | path

Searched refs:Process (Results 1 – 22 of 22) 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()
50 Process ps = Runtime.getRuntime().exec(psCommand, null, null); in test_55017()
62 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getOutputStream()
90 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream()
119 Process process = Runtime.getRuntime().exec(commands, null, null); in test_exitValue()
148 Process process = Runtime.getRuntime().exec(commands, null, null); in test_destroy()
156 Process process = Runtime.getRuntime().exec(commands, null, null); in test_destroyForcibly()
164 Process process = Runtime.getRuntime().exec(commands, null, null); in test_isAlive()
173 Process process = Runtime.getRuntime().exec(commands, null, null); in test_waitForTimeout()
185 Process process = Runtime.getRuntime().exec(commands, null, null); in test_waitForTimeout_NPE()
DProcessManagerTest.java36 Process process = null;
51 Process process = Runtime.getRuntime().exec(commands, null, null); in testCat()
130 Process process = Runtime.getRuntime().exec( in testPwd()
141 Process process = Runtime.getRuntime().exec( in testEnvironment()
147 String readLine(Process process) throws IOException { in readLine()
153 void logErrors(final Process process) throws IOException { in logErrors()
183 Process proc = rt.exec("ls " + TEMP_DIR.toString()); in stuff()
197 Process process = Runtime.getRuntime().exec(commands, null, null); in testCloseNonStandardFds()
219 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/
DRuntime.java429 public Process exec(String command) throws IOException { in exec()
470 public Process exec(String command, String[] envp) throws IOException { in exec()
524 public Process exec(String command, String[] envp, File dir) in exec()
567 public Process exec(String cmdarray[]) throws IOException { in exec()
610 public Process exec(String[] cmdarray, String[] envp) throws IOException { in exec()
704 public Process exec(String[] cmdarray, String[] envp, File dir) in exec()
DProcess.java77 public abstract class Process { class
244 public Process destroyForcibly() { in destroyForcibly()
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.java1009 mh = MethodHandles.lookup().findConstructor(Process.class, methodType(void.class)); in testConstructors()
1263 Process p = (Process) mh.invokeExact(LARGE, SMALL); in testPrimitiveReturnValueConversions()
1269 Process p = (Process) mh.invoke(LARGE, SMALL); in testPrimitiveReturnValueConversions()
1644 vat, 'x', (Process) null, 3.131, "bad", Integer.valueOf(37))); in testVariableArity_Number()
1759 'x', (Process) null, 3.131, "bad", Integer.valueOf(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.txt3889 public abstract class Process {
3890 ctor public Process();
3892 method public Process destroyForcibly();
3923 method public Process start() throws java.io.IOException;
3969 method public Process exec(String) throws java.io.IOException;
3970 method public Process exec(String, String[]) throws java.io.IOException;
3971 method public Process exec(String, String[], java.io.File) throws java.io.IOException;
3972 method public Process exec(String[]) throws java.io.IOException;
3973 method public Process exec(String[], String[]) throws java.io.IOException;
3974 method public Process exec(String[], String[], java.io.File) throws java.io.IOException;
/libcore/
Dopenjdk_java_files.bp186 "ojluni/src/main/java/java/lang/Process.java",
DEXPECTED_UPSTREAM190 ojluni/src/main/java/java/lang/Process.java,jdk8u/jdk8u121-b13,jdk/src/share/classes/java/lang/Proc…