Home
last modified time | relevance | path

Searched refs:process (Results 1 – 16 of 16) 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 …]
DProcess2Test.java42 Process process = null; in test_getErrorStream() local
44 process = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream()
45 InputStream is = process.getErrorStream(); in test_getErrorStream()
57 if (process != null) { in test_getErrorStream()
58 process.destroy(); in test_getErrorStream()
DProcessBuilderTest.java151 Process process = pb.start(); in testStart() local
152 InputStream in = process.getInputStream(); in testStart()
153 InputStream err = process.getErrorStream(); in testStart()
157 process.waitFor(); in testStart()
/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/support/src/test/java/tests/support/
DSupport_Exec.java84 Process process = builder.start(); in execAndGetOutput() local
88 streamToStringCallable(process.getErrorStream())); in execAndGetOutput()
90 streamToStringCallable(process.getInputStream())); in execAndGetOutput()
/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/annotations/hiddenapi/sun/security/util/
DSignatureFileVerifier.java67 public void process( in process() method in SignatureFileVerifier
/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.c856 jobject process, in UNIXProcess_forkAndExec() argument
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp794 return process("getpwnam_r", getpwnam_r(name, &mPwd, mBuffer.get(), mBufferSize, &mResult)); in getpwnam()
798 return process("getpwuid_r", getpwuid_r(uid, &mPwd, mBuffer.get(), mBufferSize, &mResult)); in getpwuid()
806 jobject process(const char* syscall, int error) { in process() function in Passwd
/libcore/benchmarks/src/benchmarks/regression/
DR.java2052 public static final int process = 0; field in R