/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldRuntimeTest.java | 98 Runtime.getRuntime().exec((String)null, null); in test_execLjava_lang_StringLjava_lang_StringArray() 120 Runtime.getRuntime().exec("", envp); in test_execLjava_lang_StringLjava_lang_StringArray() 136 Runtime.getRuntime().exec((String[])null, null); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 145 Runtime.getRuntime().exec(new String[]{"ls", null}, null); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 167 Runtime.getRuntime().exec(new String[]{}, envp); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 176 Runtime.getRuntime().exec(new String[]{""}, envp); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 191 Runtime.getRuntime().exec((String)null, null, workFolder); in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File() 213 Runtime.getRuntime().exec("", envp, workFolder); in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File() 231 Runtime.getRuntime().exec((String[])null, null, workFolder); in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File() 240 Runtime.getRuntime().exec(new String[]{"ls", null}, null, workFolder); in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File() [all …]
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessTest.java | 32 …children.add(Runtime.getRuntime().exec(new String[] { "/system/bin/does-not-exist" }, null, null)); in test_55017() 41 Process ps = Runtime.getRuntime().exec(psCommand, null, null); in test_55017() 53 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getOutputStream() 81 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream() 110 Process process = Runtime.getRuntime().exec(commands, null, null); in test_exitValue() 115 process = Runtime.getRuntime().exec(commandsSleep, null, null); in test_exitValue() 120 process = Runtime.getRuntime().exec(new String[] { "sleep", "3000" }, null, null); in test_exitValue() 130 Process process = Runtime.getRuntime().exec(commands, null, null); in test_destroy()
|
D | ProcessManagerTest.java | 37 Process process = Runtime.getRuntime().exec(commands, null, null); in testCat() 51 process = Runtime.getRuntime().exec(commands, null, null); in testSleep() 64 process = Runtime.getRuntime().exec(commands, null, null); in testSleep() 114 Process process = Runtime.getRuntime().exec( in testPwd() 125 Process process = Runtime.getRuntime().exec( in testEnvironment() 166 Process proc = rt.exec("ls"); in stuff() 183 Process process = Runtime.getRuntime().exec(commands, null, null); in testCloseNonStandardFds() 190 process = Runtime.getRuntime().exec(commands, null, null); in testCloseNonStandardFds() 218 Runtime.getRuntime().exec(commands, null, null); in testInvalidCommand()
|
D | Process2Test.java | 51 process = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream() 70 erProcess = Runtime.getRuntime().exec(unknownCommands, null, null); in test_getErrorStream()
|
D | RuntimeTest.java | 77 Runtime.getRuntime().exec("AnInexistentProgram"); in test_exec()
|
/libcore/luni/src/main/java/java/lang/ |
D | Runtime.java | 127 public Process exec(String[] progArray) throws java.io.IOException { in exec() method in Runtime 128 return exec(progArray, null, null); in exec() 148 public Process exec(String[] progArray, String[] envp) throws java.io.IOException { in exec() method in Runtime 149 return exec(progArray, envp, null); in exec() 171 public Process exec(String[] progArray, String[] envp, File directory) throws IOException { in exec() method in Runtime 173 return ProcessManager.getInstance().exec(progArray, envp, directory, false); in exec() 188 public Process exec(String prog) throws java.io.IOException { in exec() method in Runtime 189 return exec(prog, null, null); in exec() 207 public Process exec(String prog, String[] envp) throws java.io.IOException { in exec() method in Runtime 208 return exec(prog, envp, null); in exec() [all …]
|
D | ProcessManager.java | 160 private static native int exec(String[] command, String[] environment, in exec() method in ProcessManager 167 public Process exec(String[] taintedCommand, String[] taintedEnvironment, File workingDirectory, in exec() method in ProcessManager 209 pid = exec(command, environment, workingPath, in, out, err, redirectErrorStream); in exec()
|
D | ProcessBuilder.java | 195 … return ProcessManager.getInstance().exec(cmdArray, envArray, directory, redirectErrorStream); in start()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | RecursiveAction.java | 159 protected final boolean exec() { in exec() method in RecursiveAction
|
D | RecursiveTask.java | 63 protected final boolean exec() { in exec() method in RecursiveTask
|
D | ForkJoinTask.java | 257 completed = exec(); in doExec() 1230 protected abstract boolean exec(); in exec() method in ForkJoinTask 1359 public final boolean exec() { runnable.run(); return true; } in exec() method in ForkJoinTask.AdaptedRunnable 1376 public final boolean exec() { runnable.run(); return true; } in exec() method in ForkJoinTask.AdaptedRunnableAction 1392 public final boolean exec() { runnable.run(); return true; } in exec() method in ForkJoinTask.RunnableExecuteAction 1412 public final boolean exec() { in exec() method in ForkJoinTask.AdaptedCallable
|
D | CountedCompleter.java | 683 protected final boolean exec() { in exec() method in CountedCompleter
|
D | ForkJoinPool.java | 555 public final boolean exec() { return true; } in exec() method in ForkJoinPool.EmptyTask
|
/libcore/luni/src/main/native/ |
D | java_lang_ProcessManager.cpp | 233 …NATIVE_METHOD(ProcessManager, exec, "([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljav…
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | JSR166TestCase.java | 385 void joinPool(ExecutorService exec) { in joinPool() argument 387 exec.shutdown(); in joinPool() 389 exec.awaitTermination(2 * LONG_DELAY_MS, MILLISECONDS)); in joinPool()
|
D | ForkJoinTaskTest.java | 325 public final boolean exec() { 353 public final boolean exec() {
|
D | ForkJoinPoolTest.java | 120 protected final boolean exec() { throw new Error(); } in exec() method in ForkJoinPoolTest.FailingTask
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | FileTest.java | 1329 Process p = r.exec("attrib +h \"" + f.getPath() + "\""); in test_listFiles() 1365 Process p = r.exec("attrib -h \"" in test_listFiles()
|