/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessManagerTest.java | 32 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 …]
|
D | ProcessTest.java | 113 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 …]
|
D | Process2Test.java | 42 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()
|
D | ProcessBuilderTest.java | 151 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/ |
D | ProcessBuilderTest.java | 58 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/ |
D | Support_Exec.java | 84 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/ |
D | known_oj_tags.txt | 17 # during the documentation generation process.
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarVerifier.java | 263 sfv.process(sigFileSigners, manifestDigests); in processEntry() 306 sfv.process(sigFileSigners, manifestDigests); in processEntry()
|
/libcore/expectations/ |
D | brokentests.txt | 167 "com.android.org.apache.harmony.luni.tests.internal.process.SystemProcessTest#test_interrupt"
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | SignatureFileVerifier.java | 183 public void process(Hashtable<String, CodeSigner[]> signers, in process() method in SignatureFileVerifier
|
/libcore/ojluni/src/main/native/ |
D | UNIXProcess_md.c | 834 jobject process, in UNIXProcess_forkAndExec() argument
|
/libcore/luni/src/main/native/ |
D | libcore_io_Posix.cpp | 703 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/ |
D | R.java | 2052 public static final int process = 0; field in R
|