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.java584 public void execute(Runnable command) { e.execute(command); } argument
644 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { argument
645 return e.schedule(command, delay, unit);
650 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, TimeUnit unit) { argument
651 return e.scheduleAtFixedRate(command, initialDelay, period, unit);
653 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, TimeUnit unit) { argument
654 return e.scheduleWithFixedDelay(command, initialDelay, delay, unit);
H A DScheduledThreadPoolExecutor.java519 public ScheduledFuture<?> schedule(Runnable command, argument
522 if (command == null || unit == null)
524 RunnableScheduledFuture<Void> t = decorateTask(command,
525 new ScheduledFutureTask<Void>(command, null,
552 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, argument
556 if (command == null || unit == null)
561 new ScheduledFutureTask<Void>(command,
565 RunnableScheduledFuture<Void> t = decorateTask(command, sft);
576 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, argument
580 if (command
615 execute(Runnable command) argument
[all...]
H A DThreadPoolExecutor.java790 * Invokes the rejected execution handler for the given command.
793 final void reject(Runnable command) { argument
794 handler.rejectedExecution(command, this);
1297 * @param command the task to execute
1301 * @throws NullPointerException if {@code command} is null
1303 public void execute(Runnable command) { argument
1304 if (command == null)
1310 * start a new thread with the given command as its first
1328 if (addWorker(command, true))
1332 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.java419 private void socksSendRequest(int command, InetAddress address, int port) throws IOException { argument
421 request.setCommandOrResult(command);
/libcore/luni/src/main/java/libcore/net/url/
H A DFtpURLConnection.java240 /* Cannot set REUSEADDR so we need to send a PORT command */
437 * Issue the STOR command to the server with the file as the parameter
506 private void write(String command) throws IOException { argument
507 ctrlOutput.write(command.getBytes(StandardCharsets.ISO_8859_1));

Completed in 279 milliseconds