Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DProcessTest.java34 …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 …]
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()
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()
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/luni/src/test/java/libcore/java/lang/
DOldRuntimeTest.java107 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/
DRuntime.java424 public Process exec(String command) throws IOException { in exec() method in Runtime
425 return exec(command, null, null); in exec()
465 public Process exec(String command, String[] envp) throws IOException { in exec() method in Runtime
466 return exec(command, envp, null); in exec()
519 public Process exec(String command, String[] envp, File dir) in exec() method in Runtime
528 return exec(cmdarray, envp, dir); in exec()
562 public Process exec(String cmdarray[]) throws IOException { in exec() method in Runtime
563 return exec(cmdarray, null, null); in exec()
605 public Process exec(String[] cmdarray, String[] envp) throws IOException { in exec() method in Runtime
606 return exec(cmdarray, envp, null); in exec()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/lang/
DRuntime.java66 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/
DRecursiveAction.java188 protected final boolean exec() { in exec() method in RecursiveAction
DRecursiveTask.java93 protected final boolean exec() { in exec() method in RecursiveTask
DForkJoinTask.java285 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
DCountedCompleter.java731 protected final boolean exec() { in exec() method in CountedCompleter
DCompletableFuture.java453 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
DForkJoinPool.java736 public final boolean exec() { return true; } in exec() method in ForkJoinPool.EmptyTask
/libcore/luni/src/test/java/libcore/java/io/
DFileTest.java407 …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/
DFilesSetup.java166 Process process = Runtime.getRuntime().exec(cmdList); in execCmdAndWaitForTermination()
/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/luni/src/test/java/libcore/java/net/
DNetworkInterfaceTest.java210 Process proc = Runtime.getRuntime().exec(cmd); in testGetNetworkInterfaces()
/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()