/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldRuntimeTest.java | 101 Runtime.getRuntime().exec((String)null, null); in test_execLjava_lang_StringLjava_lang_StringArray() 123 Runtime.getRuntime().exec("", envp); in test_execLjava_lang_StringLjava_lang_StringArray() 139 Runtime.getRuntime().exec((String[])null, null); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 148 Runtime.getRuntime().exec(new String[]{"ls", null}, null); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 170 Runtime.getRuntime().exec(new String[]{}, envp); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 179 Runtime.getRuntime().exec(new String[]{""}, envp); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 194 Runtime.getRuntime().exec((String)null, null, workFolder); in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File() 216 Runtime.getRuntime().exec("", envp, workFolder); in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File() 234 Runtime.getRuntime().exec((String[])null, null, workFolder); in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File() 243 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 | 33 …children.add(Runtime.getRuntime().exec(new String[] { "/system/bin/does-not-exist" }, null, null)); in test_55017() 44 Process ps = Runtime.getRuntime().exec(psCommand, null, null); in test_55017() 56 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getOutputStream() 84 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream() 113 Process process = Runtime.getRuntime().exec(commands, null, null); in test_exitValue() 118 process = Runtime.getRuntime().exec(commandsNonZeroExit, null, null); in test_exitValue() 123 process = Runtime.getRuntime().exec(commandsSleep, null, null); in test_exitValue() 128 process = Runtime.getRuntime().exec(new String[] { "sleep", "3000" }, null, null); in test_exitValue() 138 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 | 44 process = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream() 65 erProcess = Runtime.getRuntime().exec(unknownCommands, null, null); in test_getErrorStream()
|
D | RuntimeTest.java | 77 Runtime.getRuntime().exec("AnInexistentProgram"); in test_exec()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | Runtime.java | 420 public Process exec(String command) throws IOException { in exec() method in Runtime 421 return exec(command, null, null); in exec() 461 public Process exec(String command, String[] envp) throws IOException { in exec() method in Runtime 462 return exec(command, envp, null); in exec() 515 public Process exec(String command, String[] envp, File dir) in exec() method in Runtime 524 return exec(cmdarray, envp, dir); in exec() 558 public Process exec(String cmdarray[]) throws IOException { in exec() method in Runtime 559 return exec(cmdarray, null, null); in exec() 601 public Process exec(String[] cmdarray, String[] envp) throws IOException { in exec() method in Runtime 602 return exec(cmdarray, envp, null); in exec() [all …]
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | RecursiveAction.java | 159 protected final boolean exec() { in exec() method in RecursiveAction
|
D | RecursiveTask.java | 64 protected final boolean exec() { in exec() method in RecursiveTask
|
D | ForkJoinTask.java | 256 completed = exec(); in doExec() 1205 protected abstract boolean exec(); in exec() method in ForkJoinTask 1350 public final boolean exec() { runnable.run(); return true; } in exec() method in ForkJoinTask.AdaptedRunnable 1367 public final boolean exec() { runnable.run(); return true; } in exec() method in ForkJoinTask.AdaptedRunnableAction 1383 public final boolean exec() { runnable.run(); return true; } in exec() method in ForkJoinTask.RunnableExecuteAction 1403 public final boolean exec() { in exec() method in ForkJoinTask.AdaptedCallable
|
D | CountedCompleter.java | 702 protected final boolean exec() { in exec() method in CountedCompleter
|
D | CompletableFuture.java | 422 public final boolean exec() { tryFire(ASYNC); return false; } in exec() method in CompletableFuture.Completion 1588 public final boolean exec() { run(); return true; } in exec() method in CompletableFuture.AsyncSupply 1624 public final boolean exec() { run(); return true; } in exec() method in CompletableFuture.AsyncRun
|
D | ForkJoinPool.java | 706 public final boolean exec() { return true; } in exec() method in ForkJoinPool.EmptyTask
|
/libcore/ojluni/src/main/java/sun/net/www/ |
D | MimeLauncher.java | 153 Runtime.getRuntime().exec(c); in run()
|
/libcore/jsr166-tests/src/test/java/jsr166/ |
D | CompletableFutureTest.java | 3205 ThreadExecutor exec = new ThreadExecutor(); in testNPE() local 3209 () -> CompletableFuture.supplyAsync(null, exec), in testNPE() 3213 () -> CompletableFuture.runAsync(null, exec), in testNPE() 3221 () -> f.thenApplyAsync(null, exec), in testNPE() 3226 () -> f.thenAcceptAsync(null, exec), in testNPE() 3231 () -> f.thenRunAsync(null, exec), in testNPE() 3235 () -> f.thenCombineAsync(g, null, exec), in testNPE() 3238 () -> f.thenCombineAsync(nullFuture, (x, y) -> x, exec), in testNPE() 3243 () -> f.thenAcceptBothAsync(g, null, exec), in testNPE() 3246 () -> f.thenAcceptBothAsync(nullFuture, (x, y) -> {}, exec), in testNPE() [all …]
|
D | ForkJoinTask8Test.java | 313 public final boolean exec() { 351 public final boolean exec() {
|
D | ForkJoinTaskTest.java | 344 public final boolean exec() { 369 public final boolean exec() {
|
D | ForkJoinPoolTest.java | 130 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 | 1325 Process p = r.exec("attrib +h \"" + f.getPath() + "\""); in test_listFiles() 1361 Process p = r.exec("attrib -h \"" in test_listFiles()
|