/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessTest.java | 114 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 …]
|
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() 111 process.destroy(); in testSleep() 116 Process process = Runtime.getRuntime().exec( in testPwd() local [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 | 85 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/ |
D | Support_Exec.java | 84 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/ |
D | FilesSetup.java | 166 Process process = Runtime.getRuntime().exec(cmdList); in execCmdAndWaitForTermination() local 168 process.waitFor(); in execCmdAndWaitForTermination() 169 return process; in execCmdAndWaitForTermination()
|
/libcore/ |
D | known_oj_tags.txt | 17 # during the documentation generation process.
|
/libcore/tools/testmapping/ |
D | README | 5 The process is as follows.
|
/libcore/tools/docs/crypto/ |
D | README | 23 Updating the documentation is a three-step process: get the set of supported
|
/libcore/ojluni/annotations/hiddenapi/sun/security/util/ |
D | SignatureFileVerifier.java | 67 public void process( in process() method in SignatureFileVerifier
|
/libcore/ojluni/src/main/java/java/util/jar/ |
D | JarVerifier.java | 274 sfv.process(sigFileSigners, manifestDigests); in processEntry() 317 sfv.process(sigFileSigners, manifestDigests); in processEntry()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | SignatureFileVerifier.java | 258 public void process(Hashtable<String, CodeSigner[]> signers, in process() method in SignatureFileVerifier
|
/libcore/ojluni/src/main/native/ |
D | UNIXProcess_md.c | 856 jobject process, in UNIXProcess_forkAndExec() argument
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 794 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/ |
D | R.java | 2052 public static final int process = 0; field in R
|