/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessTest.java | 34 …children.add(Runtime.getRuntime().exec(new String[] { "/system/bin/does-not-exist" }, null, null)); in test_55017() 45 Process ps = Runtime.getRuntime().exec(psCommand, null, null); in test_55017() 57 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getOutputStream() 85 Process p = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream() 114 Process process = Runtime.getRuntime().exec(commands, null, null); in test_exitValue() 119 process = Runtime.getRuntime().exec(commandsNonZeroExit, null, null); in test_exitValue() 124 process = Runtime.getRuntime().exec(commandsSleep, null, null); in test_exitValue() 129 process = Runtime.getRuntime().exec(new String[] { "sleep", "3000" }, null, null); in test_exitValue() 143 Process process = Runtime.getRuntime().exec(commands, null, null); in test_destroy() 151 Process process = Runtime.getRuntime().exec(commands, null, null); in test_destroyForcibly() [all …]
|
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() 116 Process process = Runtime.getRuntime().exec( in testPwd() 127 Process process = Runtime.getRuntime().exec( in testEnvironment() 168 Process proc = rt.exec("ls"); in stuff() 185 Process process = Runtime.getRuntime().exec(commands, null, null); in testCloseNonStandardFds() 193 process = Runtime.getRuntime().exec(commands, null, null); in testCloseNonStandardFds() 222 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/luni/src/test/java/libcore/java/lang/ |
D | OldRuntimeTest.java | 107 Runtime.getRuntime().exec((String)null, null); in test_execLjava_lang_StringLjava_lang_StringArray() 129 Runtime.getRuntime().exec("", envp); in test_execLjava_lang_StringLjava_lang_StringArray() 145 Runtime.getRuntime().exec((String[])null, null); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 154 Runtime.getRuntime().exec(new String[]{"ls", null}, null); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 176 Runtime.getRuntime().exec(new String[]{}, envp); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 185 Runtime.getRuntime().exec(new String[]{""}, envp); in test_execLjava_lang_StringArrayLjava_lang_StringArray() 200 Runtime.getRuntime().exec((String)null, null, workFolder); in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File() 222 Runtime.getRuntime().exec("", envp, workFolder); in test_execLjava_lang_StringLjava_lang_StringArrayLjava_io_File() 240 Runtime.getRuntime().exec((String[])null, null, workFolder); in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File() 249 Runtime.getRuntime().exec(new String[]{"ls", null}, null, workFolder); in test_execLjava_lang_StringArrayLjava_lang_StringArrayLjava_io_File() [all …]
|
/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/ojluni/annotations/hiddenapi/java/lang/ |
D | Runtime.java | 66 public java.lang.Process exec(java.lang.String command) throws java.io.IOException { in exec() method in Runtime 70 public java.lang.Process exec(java.lang.String command, java.lang.String[] envp) in exec() method in Runtime 75 public java.lang.Process exec( in exec() method in Runtime 81 public java.lang.Process exec(java.lang.String[] cmdarray) throws java.io.IOException { in exec() method in Runtime 85 public java.lang.Process exec(java.lang.String[] cmdarray, java.lang.String[] envp) in exec() method in Runtime 90 public java.lang.Process exec( in exec() method in Runtime
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | RecursiveAction.java | 188 protected final boolean exec() { in exec() method in RecursiveAction
|
D | RecursiveTask.java | 93 protected final boolean exec() { in exec() method in RecursiveTask
|
D | ForkJoinTask.java | 285 completed = exec(); in doExec() 1234 protected abstract boolean exec(); in exec() method in ForkJoinTask 1378 public final boolean exec() { runnable.run(); return true; } in exec() method in ForkJoinTask.AdaptedRunnable 1395 public final boolean exec() { runnable.run(); return true; } in exec() method in ForkJoinTask.AdaptedRunnableAction 1411 public final boolean exec() { runnable.run(); return true; } in exec() method in ForkJoinTask.RunnableExecuteAction 1431 public final boolean exec() { in exec() method in ForkJoinTask.AdaptedCallable
|
D | CountedCompleter.java | 731 protected final boolean exec() { in exec() method in CountedCompleter
|
D | CompletableFuture.java | 453 public final boolean exec() { tryFire(ASYNC); return false; } in exec() method in CompletableFuture.Completion 1619 public final boolean exec() { run(); return true; } in exec() method in CompletableFuture.AsyncSupply 1655 public final boolean exec() { run(); return true; } in exec() method in CompletableFuture.AsyncRun
|
D | ForkJoinPool.java | 736 public final boolean exec() { return true; } in exec() method in ForkJoinPool.EmptyTask
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | FileTest.java | 407 …assertEquals(0, Runtime.getRuntime().exec("ln -s " + f1.getAbsolutePath() + " " + symlinkFile.getA… in test_canonicalCachesAreOff() 411 assertEquals(0, Runtime.getRuntime().exec("rm " + symlinkFile.getAbsolutePath()).waitFor()); in test_canonicalCachesAreOff() 412 …assertEquals(0, Runtime.getRuntime().exec("ln -s " + f2.getAbsolutePath() + " " + symlinkFile.getA… in test_canonicalCachesAreOff()
|
/libcore/luni/src/test/java/libcore/java/nio/file/ |
D | FilesSetup.java | 166 Process process = Runtime.getRuntime().exec(cmdList); in execCmdAndWaitForTermination()
|
/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/ojluni/src/test/java/util/concurrent/tck/ |
D | CompletableFutureTest.java | 3273 ThreadExecutor exec = new ThreadExecutor(); in testNPE() local 3277 () -> CompletableFuture.supplyAsync(null, exec), in testNPE() 3281 () -> CompletableFuture.runAsync(null, exec), in testNPE() 3289 () -> f.thenApplyAsync(null, exec), in testNPE() 3294 () -> f.thenAcceptAsync(null, exec), in testNPE() 3299 () -> f.thenRunAsync(null, exec), in testNPE() 3303 () -> f.thenCombineAsync(g, null, exec), in testNPE() 3306 () -> f.thenCombineAsync(nullFuture, (x, y) -> x, exec), in testNPE() 3311 () -> f.thenAcceptBothAsync(g, null, exec), in testNPE() 3314 () -> f.thenAcceptBothAsync(nullFuture, (x, y) -> {}, exec), in testNPE() [all …]
|
D | ForkJoinTask8Test.java | 336 public final boolean exec() { 374 public final boolean exec() {
|
D | ForkJoinTaskTest.java | 366 public final boolean exec() { 391 public final boolean exec() {
|
D | ForkJoinPoolTest.java | 148 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 | 1330 Process p = r.exec("attrib +h \"" + f.getPath() + "\""); in test_listFiles() 1366 Process p = r.exec("attrib -h \"" in test_listFiles()
|
/libcore/api/ |
D | current.txt | 3530 method public Process exec(String) throws java.io.IOException; 3531 method public Process exec(String, String[]) throws java.io.IOException; 3532 method public Process exec(String, String[], java.io.File) throws java.io.IOException; 3533 method public Process exec(String[]) throws java.io.IOException; 3534 method public Process exec(String[], String[]) throws java.io.IOException; 3535 method public Process exec(String[], String[], java.io.File) throws java.io.IOException; 14535 method protected final boolean exec(); 14731 method protected abstract boolean exec(); 14925 method protected final boolean exec(); 14933 method protected final boolean exec();
|