Searched defs:command (Results 1 - 12 of 12) sorted by relevance

/libcore/luni/src/main/java/java/util/concurrent/
H A DExecutor.java102 * Executes the given command at some time in the future. The command
106 * @param command the runnable task
109 * @throws NullPointerException if command is null
111 void execute(Runnable command); argument
H A DScheduledExecutorService.java71 * @param command the task to execute
79 * @throws NullPointerException if command is null
81 public ScheduledFuture<?> schedule(Runnable command, argument
112 * @param command the task to execute
121 * @throws NullPointerException if command is null
124 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, argument
138 * @param command the task to execute
148 * @throws NullPointerException if command is null
151 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, argument
H A DExecutors.java552 public void execute(Runnable command) { e.execute(command); } argument
612 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { argument
613 return e.schedule(command, delay, unit);
618 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { argument
619 return e.scheduleAtFixedRate(command, initialDelay, period, unit);
621 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) { argument
622 return e.scheduleWithFixedDelay(command, initialDelay, delay, unit);
H A DScheduledThreadPoolExecutor.java497 public ScheduledFuture<?> schedule(Runnable command, argument
500 if (command == null || unit == null)
502 RunnableScheduledFuture<?> t = decorateTask(command,
503 new ScheduledFutureTask<Void>(command, null,
530 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, argument
534 if (command == null || unit == null)
539 new ScheduledFutureTask<Void>(command,
543 RunnableScheduledFuture<Void> t = decorateTask(command, sft);
554 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, argument
558 if (command
593 execute(Runnable command) argument
[all...]
H A DThreadPoolExecutor.java782 * Invokes the rejected execution handler for the given command.
785 final void reject(Runnable command) { argument
786 handler.rejectedExecution(command, this);
1264 * @param command the task to execute
1268 * @throws NullPointerException if {@code command} is null
1270 public void execute(Runnable command) { argument
1271 if (command == null)
1277 * start a new thread with the given command as its first
1295 if (addWorker(command, true))
1299 if (isRunning(c) && workQueue.offer(command)) {
[all...]
/libcore/luni/src/main/java/java/lang/
H A DProcessBuilder.java33 private List<String> command; field in class:ProcessBuilder
42 * @param command
45 public ProcessBuilder(String... command) { argument
46 this(new ArrayList<String>(Arrays.asList(command)));
55 * @param command
58 * if {@code command} is {@code null}.
60 public ProcessBuilder(List<String> command) { argument
61 if (command == null) {
62 throw new NullPointerException("command == null");
64 this.command
77 public List<String> command() { method in class:ProcessBuilder
88 command(String... command) argument
103 command(List<String> command) argument
[all...]
H A DCompiler.java32 * Executes an operation according to the specified command object. This
38 * the command object for the JIT compiler.
39 * @return the result of executing command or {@code null}.
41 public static Object command(Object cmd) { method in class:Compiler
H A DProcessManager.java160 private static native int exec(String[] command, String[] environment, argument
178 String[] command = taintedCommand.clone();
182 for (int i = 0; i < command.length; i++) {
183 if (command[i] == null) {
209 pid = exec(command, environment, workingPath, in, out, err, redirectErrorStream);
212 + " Command: " + Arrays.toString(command)
/libcore/dalvik/src/main/java/dalvik/system/
H A DZygote.java174 * Executes "/system/bin/sh -c &lt;command&gt;" using the exec() system call.
177 * @param command The shell command to execute.
179 public static void execShell(String command) { argument
180 nativeExecShell(command);
186 * prefixed with a space, and appended to the command.
188 * @param command A string builder for the shell command being constructed.
189 * @param args An array of argument strings to be quoted and appended to the command.
192 public static void appendQuotedShellArgs(StringBuilder command, Strin argument
198 nativeExecShell(String command) argument
[all...]
/libcore/luni/src/main/java/java/net/
H A DSocks4Message.java63 * Get the request's command or result.
70 * Set the request's command or result.
72 public void setCommandOrResult(int command) { argument
73 buffer[INDEX_COMMAND] = (byte) command;
H A DPlainSocketImpl.java426 private void socksSendRequest(int command, InetAddress address, int port) throws IOException { argument
428 request.setCommandOrResult(command);
/libcore/luni/src/main/java/libcore/net/url/
H A DFtpURLConnection.java233 /* Cannot set REUSEADDR so we need to send a PORT command */
430 * Issue the STOR command to the server with the file as the parameter
499 private void write(String command) throws IOException { argument
500 ctrlOutput.write(command.getBytes(Charsets.ISO_8859_1));

Completed in 162 milliseconds