Searched defs:command (Results 1 - 11 of 11) 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.java583 public void execute(Runnable command) { e.execute(command); } argument
643 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { argument
644 return e.schedule(command, delay, unit);
649 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { argument
650 return e.scheduleAtFixedRate(command, initialDelay, period, unit);
652 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) { argument
653 return e.scheduleWithFixedDelay(command, initialDelay, delay, unit);
H A DScheduledThreadPoolExecutor.java495 public ScheduledFuture<?> schedule(Runnable command, argument
498 if (command == null || unit == null)
500 RunnableScheduledFuture<?> t = decorateTask(command,
501 new ScheduledFutureTask<Void>(command, null,
528 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, argument
532 if (command == null || unit == null)
537 new ScheduledFutureTask<Void>(command,
541 RunnableScheduledFuture<Void> t = decorateTask(command, sft);
552 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, argument
556 if (command
591 execute(Runnable command) argument
[all...]
H A DThreadPoolExecutor.java789 * Invokes the rejected execution handler for the given command.
792 final void reject(Runnable command) { argument
793 handler.rejectedExecution(command, this);
1296 * @param command the task to execute
1300 * @throws NullPointerException if {@code command} is null
1302 public void execute(Runnable command) { argument
1303 if (command == null)
1309 * start a new thread with the given command as its first
1327 if (addWorker(command, true))
1331 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/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.java423 private void socksSendRequest(int command, InetAddress address, int port) throws IOException { argument
425 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(StandardCharsets.ISO_8859_1));

Completed in 579 milliseconds