Home
last modified time | relevance | path

Searched refs:process (Results 1 – 10 of 10) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcessTest.java114 Process process = Runtime.getRuntime().exec(commands, null, null); in test_exitValue() local
115 process.waitFor(); in test_exitValue()
116 assertEquals(0, process.exitValue()); in test_exitValue()
119 process = Runtime.getRuntime().exec(commandsNonZeroExit, null, null); in test_exitValue()
120 process.waitFor(); in test_exitValue()
121 assertEquals(34, process.exitValue()); in test_exitValue()
124 process = Runtime.getRuntime().exec(commandsSleep, null, null); in test_exitValue()
125 process.destroy(); in test_exitValue()
126 process.waitFor(); // destroy is asynchronous. in test_exitValue()
127 assertTrue(process.exitValue() != 0); in test_exitValue()
[all …]
DProcessManagerTest.java32 Process process = null; field in ProcessManagerTest
37 Process process = Runtime.getRuntime().exec(commands, null, null); in testCat() local
39 OutputStream out = process.getOutputStream(); in testCat()
45 assertEquals(greeting, readLine(process)); in testCat()
51 process = Runtime.getRuntime().exec(commands, null, null); in testSleep()
53 assertEquals(0, process.waitFor()); in testSleep()
64 process = Runtime.getRuntime().exec(commands, null, null); in testSleep()
69 process.waitFor(); in testSleep()
111 process.destroy(); in testSleep()
116 Process process = Runtime.getRuntime().exec( in testPwd() local
[all …]
/libcore/luni/src/test/java/libcore/java/lang/
DProcessBuilderTest.java85 Process process = new ProcessBuilder(shell()) in testRedirectErrorStream_outputAndErrorAreMerged() local
89 int pid = getChildProcessPid(process); in testRedirectErrorStream_outputAndErrorAreMerged()
94 process.destroy(); in testRedirectErrorStream_outputAndErrorAreMerged()
105 Process process = new ProcessBuilder() in testRedirectInherit() local
116 int childPid = getChildProcessPid(process); in testRedirectInherit()
126 throw new AssertionError("stat failed; child process: " + process, e); in testRedirectInherit()
128 process.destroy(); in testRedirectInherit()
201 Process process = new ProcessBuilder("ls", missingFilePath) in testRedirectPipe_error() local
203 process.getOutputStream().close(); // no process input in testRedirectPipe_error()
204 int resultCode = process.waitFor(); in testRedirectPipe_error()
[all …]
/libcore/luni/src/test/java/libcore/java/nio/file/
DFilesSetup.java166 Process process = Runtime.getRuntime().exec(cmdList); in execCmdAndWaitForTermination() local
168 process.waitFor(); in execCmdAndWaitForTermination()
169 return process; in execCmdAndWaitForTermination()
/libcore/
Dknown_oj_tags.txt17 # during the documentation generation process.
/libcore/tools/testmapping/
DREADME5 The process is as follows.
/libcore/tools/docs/crypto/
DREADME23 Updating the documentation is a three-step process: get the set of supported
/libcore/ojluni/src/main/java/java/util/jar/
DJarVerifier.java274 sfv.process(sigFileSigners, manifestDigests); in processEntry()
317 sfv.process(sigFileSigners, manifestDigests); in processEntry()
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java258 public void process(Hashtable<String, CodeSigner[]> signers, in process() method in SignatureFileVerifier
/libcore/ojluni/src/main/native/
DUNIXProcess_md.c855 jobject process, in UNIXProcess_forkAndExec() argument