Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
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()
114 Process process = Runtime.getRuntime().exec( in testPwd() local
116 logErrors(process); in testPwd()
[all …]
DProcessTest.java113 Process process = Runtime.getRuntime().exec(commands, null, null); in test_exitValue() local
114 process.waitFor(); in test_exitValue()
115 assertEquals(0, process.exitValue()); in test_exitValue()
118 process = Runtime.getRuntime().exec(commandsNonZeroExit, null, null); in test_exitValue()
119 process.waitFor(); in test_exitValue()
120 assertEquals(34, process.exitValue()); in test_exitValue()
123 process = Runtime.getRuntime().exec(commandsSleep, null, null); in test_exitValue()
124 process.destroy(); in test_exitValue()
125 process.waitFor(); // destroy is asynchronous. in test_exitValue()
126 assertTrue(process.exitValue() != 0); in test_exitValue()
[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.java58 Process process = new ProcessBuilder(shell(), "-c", "echo out; echo err 1>&2").start(); in testDestroyClosesEverything() local
59 InputStream in = process.getInputStream(); in testDestroyClosesEverything()
60 InputStream err = process.getErrorStream(); in testDestroyClosesEverything()
61 OutputStream out = process.getOutputStream(); in testDestroyClosesEverything()
62 process.destroy(); in testDestroyClosesEverything()
87 Process process = new ProcessBuilder(shell(), "-c", "echo out; echo err 1>&2").start(); in testDestroyDoesNotLeak() local
88 process.destroy(); in testDestroyDoesNotLeak()
/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()
124 Process process = builder.start(); in execAndCheckOutput() local
128 executorService.submit(streamToStringCallable(process.getErrorStream())); in execAndCheckOutput()
130 executorService.submit(streamToStringCallable(process.getInputStream())); in execAndCheckOutput()
135 process.waitFor(); in execAndCheckOutput()
/libcore/
Dknown_oj_tags.txt17 # during the documentation generation process.
/libcore/ojluni/src/main/java/java/util/jar/
DJarVerifier.java263 sfv.process(sigFileSigners, manifestDigests); in processEntry()
306 sfv.process(sigFileSigners, manifestDigests); in processEntry()
/libcore/expectations/
Dbrokentests.txt167 "com.android.org.apache.harmony.luni.tests.internal.process.SystemProcessTest#test_interrupt"
/libcore/ojluni/src/main/java/sun/security/util/
DSignatureFileVerifier.java183 public void process(Hashtable<String, CodeSigner[]> signers, in process() method in SignatureFileVerifier
/libcore/ojluni/src/main/native/
DUNIXProcess_md.c834 jobject process, in UNIXProcess_forkAndExec() argument
/libcore/luni/src/main/native/
Dlibcore_io_Posix.cpp703 return process("getpwnam_r", getpwnam_r(name, &mPwd, mBuffer.get(), mBufferSize, &mResult)); in getpwnam()
707 return process("getpwuid_r", getpwuid_r(uid, &mPwd, mBuffer.get(), mBufferSize, &mResult)); in getpwuid()
715 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