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.java98 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/
DProcessTest.java32 …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()
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.java51 process = Runtime.getRuntime().exec(commands, null, null); in test_getErrorStream()
70 erProcess = Runtime.getRuntime().exec(unknownCommands, null, null); in test_getErrorStream()
DRuntimeTest.java77 Runtime.getRuntime().exec("AnInexistentProgram"); in test_exec()
/libcore/luni/src/main/java/java/lang/
DRuntime.java127 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 …]
DProcessManager.java160 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()
DProcessBuilder.java195 … return ProcessManager.getInstance().exec(cmdArray, envArray, directory, redirectErrorStream); in start()
/libcore/luni/src/main/java/java/util/concurrent/
DRecursiveAction.java159 protected final boolean exec() { in exec() method in RecursiveAction
DRecursiveTask.java63 protected final boolean exec() { in exec() method in RecursiveTask
DForkJoinTask.java257 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
DCountedCompleter.java683 protected final boolean exec() { in exec() method in CountedCompleter
DForkJoinPool.java555 public final boolean exec() { return true; } in exec() method in ForkJoinPool.EmptyTask
/libcore/luni/src/main/native/
Djava_lang_ProcessManager.cpp233 …NATIVE_METHOD(ProcessManager, exec, "([Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljav…
/libcore/jsr166-tests/src/test/java/jsr166/
DJSR166TestCase.java385 void joinPool(ExecutorService exec) { in joinPool() argument
387 exec.shutdown(); in joinPool()
389 exec.awaitTermination(2 * LONG_DELAY_MS, MILLISECONDS)); in joinPool()
DForkJoinTaskTest.java325 public final boolean exec() {
353 public final boolean exec() {
DForkJoinPoolTest.java120 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.java1329 Process p = r.exec("attrib +h \"" + f.getPath() + "\""); in test_listFiles()
1365 Process p = r.exec("attrib -h \"" in test_listFiles()