/libcore/ojluni/src/main/java/sun/net/www/ |
D | MimeEntry.java | 36 private String command; field in MimeEntry 75 command = null; in MimeEntry() 82 MimeEntry(String typeName, int action, String command, in MimeEntry() argument 86 this.command = command; in MimeEntry() 94 MimeEntry(String typeName, int action, String command, in MimeEntry() argument 99 this.command = command; in MimeEntry() 119 public synchronized void setAction(int action, String command) { in setAction() argument 121 this.command = command; in setAction() 129 return command; in getLaunchString() 132 public synchronized void setCommand(String command) { in setCommand() argument [all …]
|
D | MimeLauncher.java | 168 String command; in findExecutablePath() local 171 command = str.substring(0, index); in findExecutablePath() 174 command = str; in findExecutablePath() 177 File f = new File(command); in findExecutablePath() 195 String fullCmd = prefix + File.separator + command; in findExecutablePath()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | ProcessBuilder.java | 115 private List<String> command; field in ProcessBuilder 133 public ProcessBuilder(List<String> command) { in ProcessBuilder() argument 134 if (command == null) in ProcessBuilder() 136 this.command = command; in ProcessBuilder() 150 public ProcessBuilder(String... command) { in ProcessBuilder() argument 151 this.command = new ArrayList<>(command.length); in ProcessBuilder() 152 for (String arg : command) in ProcessBuilder() 153 this.command.add(arg); in ProcessBuilder() 169 public ProcessBuilder command(List<String> command) { in command() argument 170 if (command == null) in command() [all …]
|
D | Runtime.java | 420 public Process exec(String command) throws IOException { in exec() argument 421 return exec(command, null, null); in exec() 461 public Process exec(String command, String[] envp) throws IOException { in exec() argument 462 return exec(command, envp, null); in exec() 515 public Process exec(String command, String[] envp, File dir) in exec() argument 517 if (command.length() == 0) in exec() 520 StringTokenizer st = new StringTokenizer(command); in exec()
|
D | Compiler.java | 78 public static Object command(Object cmd) { in command() method in Compiler
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ |
D | ProcessBuilderTest.java | 44 assertEquals(1, pb.command().size()); in testCommand() 45 assertEquals("command", pb.command().get(0)); in testCommand() 49 pb.command("BBB", "CCC"); in testCommand() 50 List<String> list = pb.command(); in testCommand() 52 String[] command = new String[3]; in testCommand() local 53 list.toArray(command); in testCommand() 54 assertTrue(Arrays.equals(new String[] { "BBB", "CCC", "DDD" }, command)); in testCommand() 59 ProcessBuilder pbReturn = pb.command("cmd"); in testCommandStringArray() 61 assertEquals(1, pb.command().size()); in testCommandStringArray() 62 assertEquals("cmd", pb.command().get(0)); in testCommandStringArray() [all …]
|
D | CompilerTest.java | 28 assertNull("Incorrect behavior.", Compiler.command(new Object())); in test_commandLjava_lang_Object()
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ScheduledExecutorService.java | 81 public ScheduledFuture<?> schedule(Runnable command, in schedule() argument 139 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, in scheduleAtFixedRate() argument 179 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, in scheduleWithFixedDelay() argument
|
D | Executors.java | 591 public void execute(Runnable command) { e.execute(command); } 651 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 652 return e.schedule(command, delay, unit); 657 …public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, Ti… 658 return e.scheduleAtFixedRate(command, initialDelay, period, unit); 660 …public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay, … 661 return e.scheduleWithFixedDelay(command, initialDelay, delay, unit);
|
D | ScheduledThreadPoolExecutor.java | 524 public ScheduledFuture<?> schedule(Runnable command, in schedule() argument 527 if (command == null || unit == null) in schedule() 529 RunnableScheduledFuture<Void> t = decorateTask(command, in schedule() 530 new ScheduledFutureTask<Void>(command, null, in schedule() 559 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, in scheduleAtFixedRate() argument 563 if (command == null || unit == null) in scheduleAtFixedRate() 568 new ScheduledFutureTask<Void>(command, in scheduleAtFixedRate() 573 RunnableScheduledFuture<Void> t = decorateTask(command, sft); in scheduleAtFixedRate() 584 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, in scheduleWithFixedDelay() argument 588 if (command == null || unit == null) in scheduleWithFixedDelay() [all …]
|
D | CyclicBarrier.java | 190 final Runnable command = barrierCommand; in dowait() local 191 if (command != null) in dowait() 192 command.run(); in dowait()
|
D | Executor.java | 109 void execute(Runnable command); in execute() argument
|
D | ThreadPoolExecutor.java | 813 final void reject(Runnable command) { in reject() argument 814 handler.rejectedExecution(command, this); in reject() 1323 public void execute(Runnable command) { in execute() argument 1324 if (command == null) in execute() 1348 if (addWorker(command, true)) in execute() 1352 if (isRunning(c) && workQueue.offer(command)) { in execute() 1354 if (! isRunning(recheck) && remove(command)) in execute() 1355 reject(command); in execute() 1359 else if (!addWorker(command, false)) in execute() 1360 reject(command); in execute()
|
D | CompletableFuture.java | 2623 static ScheduledFuture<?> delay(Runnable command, long delay, in delay() argument 2625 return delayer.schedule(command, delay, unit); in delay()
|
/libcore/luni/src/test/java/libcore/java/io/ |
D | OldFileTest.java | 171 builder.command().add("-cp"); in test_deleteOnExit() 172 builder.command().add(System.getProperty("java.class.path")); in test_deleteOnExit() 173 builder.command().add("tests.support.Support_DeleteOnExitTest"); in test_deleteOnExit() 174 builder.command().add(dir.getAbsolutePath()); in test_deleteOnExit() 175 builder.command().add(subDir.getAbsolutePath()); in test_deleteOnExit()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_Exec.java | 51 builder.command().add(againstDalvik ? "dalvikvm" : "java"); in javaProcessBuilder() 56 builder.command().addAll(Arrays.asList(testVMArgs.split("\\s+"))); in javaProcessBuilder() 106 "Failed to execute " + builder.command() + "; output was:\n" + out); in execAndGetOutput()
|
/libcore/luni/src/test/java/libcore/java/lang/ |
D | OldRuntimeTest.java | 286 String command = "mkdir " + folder; in checkExec() local 292 proc = Runtime.getRuntime().exec(command, envp); in checkExec() 295 proc = Runtime.getRuntime().exec(command); in checkExec() 298 proc = Runtime.getRuntime().exec(command, envp, file); in checkExec()
|
/libcore/luni/src/main/java/java/util/logging/ |
D | logging.properties | 22 # passed to "java" command, or as property definition passed to JNI_CreateJavaVM.
|