Home
last modified time | relevance | path

Searched refs:exec (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DOldRuntimeTest.java101 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/
DProcessTest.java33 …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()
DProcessManagerTest.java37 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()
DProcess2Test.java44 process = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream()
65 erProcess = Runtime.getRuntime().exec(unknownCommands, null, null); in test_getErrorStream()
DRuntimeTest.java77 Runtime.getRuntime().exec("AnInexistentProgram"); in test_exec()
/libcore/ojluni/src/main/java/java/lang/
DRuntime.java420 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/
DRecursiveAction.java159 protected final boolean exec() { in exec() method in RecursiveAction
DRecursiveTask.java64 protected final boolean exec() { in exec() method in RecursiveTask
DForkJoinTask.java256 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
DCountedCompleter.java702 protected final boolean exec() { in exec() method in CountedCompleter
DCompletableFuture.java422 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
DForkJoinPool.java706 public final boolean exec() { return true; } in exec() method in ForkJoinPool.EmptyTask
/libcore/ojluni/src/main/java/sun/net/www/
DMimeLauncher.java153 Runtime.getRuntime().exec(c); in run()
/libcore/jsr166-tests/src/test/java/jsr166/
DCompletableFutureTest.java3205 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 …]
DForkJoinTask8Test.java313 public final boolean exec() {
351 public final boolean exec() {
DForkJoinTaskTest.java344 public final boolean exec() {
369 public final boolean exec() {
DForkJoinPoolTest.java130 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/
DFileTest.java1325 Process p = r.exec("attrib +h \"" + f.getPath() + "\""); in test_listFiles()
1361 Process p = r.exec("attrib -h \"" in test_listFiles()