/libcore/luni/src/main/java/java/lang/ |
D | ProcessBuilder.java | 33 private List<String> command; field in ProcessBuilder 48 public ProcessBuilder(String... command) { in ProcessBuilder() argument 49 this(toList(command)); in ProcessBuilder() 63 public ProcessBuilder(List<String> command) { in ProcessBuilder() argument 65 if (command == null) { in ProcessBuilder() 68 this.command = command; in ProcessBuilder() 81 public List<String> command() { in command() method in ProcessBuilder 82 return command; in command() 92 public ProcessBuilder command(String... command) { in command() argument 93 return command(toList(command)); in command() [all …]
|
D | ProcessManager.java | 170 static native int exec(String[] command, String[] environment, in exec() argument 188 String[] command = taintedCommand.clone(); in exec() local 192 securityManager.checkExec(command[0]); in exec() 195 for (String arg : command) { in exec() 222 pid = exec(command, environment, workingPath, in, out, err, redirectErrorStream); in exec() 225 + " Command: " + Arrays.toString(command) in exec()
|
D | Compiler.java | 44 public static Object command(Object cmd) { in command() method in Compiler
|
/libcore/luni/src/main/java/java/util/concurrent/ |
D | ScheduledExecutorService.java | 82 public ScheduledFuture<?> schedule(Runnable command, in schedule() argument 125 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, in scheduleAtFixedRate() argument 152 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, in scheduleWithFixedDelay() argument
|
D | CyclicBarrier.java | 184 final Runnable command = barrierCommand; in dowait() local 185 if (command != null) in dowait() 186 command.run(); in dowait()
|
D | ScheduledThreadPoolExecutor.java | 493 public ScheduledFuture<?> schedule(Runnable command, in schedule() argument 496 if (command == null || unit == null) in schedule() 498 RunnableScheduledFuture<?> t = decorateTask(command, in schedule() 499 new ScheduledFutureTask<Void>(command, null, in schedule() 526 public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, in scheduleAtFixedRate() argument 530 if (command == null || unit == null) in scheduleAtFixedRate() 535 new ScheduledFutureTask<Void>(command, in scheduleAtFixedRate() 539 RunnableScheduledFuture<Void> t = decorateTask(command, sft); in scheduleAtFixedRate() 550 public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, in scheduleWithFixedDelay() argument 554 if (command == null || unit == null) in scheduleWithFixedDelay() [all …]
|
D | Executors.java | 602 public void execute(Runnable command) { e.execute(command); } 666 public ScheduledFuture<?> schedule(Runnable command, long delay, TimeUnit unit) { 667 return e.schedule(command, delay, unit); 672 …public ScheduledFuture<?> scheduleAtFixedRate(Runnable command, long initialDelay, long period, T… 673 return e.scheduleAtFixedRate(command, initialDelay, period, unit); 675 …public ScheduledFuture<?> scheduleWithFixedDelay(Runnable command, long initialDelay, long delay,… 676 return e.scheduleWithFixedDelay(command, initialDelay, delay, unit);
|
D | Executor.java | 111 void execute(Runnable command); in execute() argument
|
D | ThreadPoolExecutor.java | 793 final void reject(Runnable command) { in reject() argument 794 handler.rejectedExecution(command, this); in reject() 1278 public void execute(Runnable command) { in execute() argument 1279 if (command == null) in execute() 1303 if (addWorker(command, true)) in execute() 1307 if (isRunning(c) && workQueue.offer(command)) { in execute() 1309 if (! isRunning(recheck) && remove(command)) in execute() 1310 reject(command); in execute() 1314 else if (!addWorker(command, false)) in execute() 1315 reject(command); in execute()
|
/libcore/luni/src/test/java/org/apache/harmony/archive/tests/java/util/jar/ |
D | JarExecTest.java | 67 builder.command().add("-jar"); in test_1562() 68 builder.command().add(outputJar.getAbsolutePath()); in test_1562() 107 builder.command().add("-jar"); in test_jar_class_path() 108 builder.command().add(fooJar.getAbsolutePath()); in test_jar_class_path() 172 builder.command().add("-jar"); in test_main_class_in_another_jar() 173 builder.command().add(barJar.getAbsolutePath()); in test_main_class_in_another_jar() 195 builder.command().add("foo.bar.execjartest.Foo"); in test_classpath() 220 builder.command().add("-cp"); in test_classpath() 221 builder.command().add(booJar.getAbsolutePath()); in test_classpath() 222 builder.command().add("foo.bar.execjartest.Foo"); in test_classpath() [all …]
|
D | DalvikExecTest.java | 43 builder.command().add(base + "/system/bin/dalvikvm"); in execDalvik1() 45 builder.command().add("-Djava.io.tmpdir=/tmp/mc"); in execDalvik1() 46 builder.command().add("-Duser.language=en"); in execDalvik1() 47 builder.command().add("-Duser.region=US"); in execDalvik1() 53 builder.command().add("-Xbootclasspath:" + System.getProperty("java.boot.class.path")); in execDalvik1() 58 builder.command().add("-classpath"); in execDalvik1() 59 builder.command().add(classpath); in execDalvik1() 60 builder.command().add(mainClass); in execDalvik1() 63 builder.command().add(arg1); in execDalvik1()
|
D | ZipExecTest.java | 65 builder.command().add("-jar"); in test_1562() 66 builder.command().add(outputZip.getAbsolutePath()); in test_1562() 108 builder.command().add("-jar"); in test_zip_class_path() 109 builder.command().add(fooZip.getAbsolutePath()); in test_zip_class_path() 172 builder.command().add("-jar"); in test_zip_jar_mix() 173 builder.command().add(fooJar.getAbsolutePath()); in test_zip_jar_mix() 209 builder.command().add("-jar"); in test_zip_jar_mix_1() 210 builder.command().add(fooZip.getAbsolutePath()); in test_zip_jar_mix_1() 253 builder.command().add("-jar"); in test_main_class_in_another_zip() 254 builder.command().add(barZip.getAbsolutePath()); in test_main_class_in_another_zip()
|
/libcore/luni/src/test/java/tests/api/java/security/ |
D | PermissionCollectionTest.java | 174 builder.command().add("-cp"); in test_impliesLjava_security_Permission() 175 builder.command().add(Support_Exec.createPath( in test_impliesLjava_security_Permission() 177 builder.command().add("-Djava.security.policy=" + policyFile.toURL()); in test_impliesLjava_security_Permission() 178 builder.command().add("tests.support.Support_PermissionCollection"); in test_impliesLjava_security_Permission() 179 builder.command().add(signedBKS.toExternalForm()); in test_impliesLjava_security_Permission()
|
/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/org/apache/harmony/luni/tests/java/lang/ |
D | CompilerTest.java | 28 assertNull("Incorrect behavior.", Compiler.command(new Object())); in test_commandLjava_lang_Object()
|
D | RuntimeTest.java | 493 String command = "mkdir " + folder; in checkExec() local 499 proc = Runtime.getRuntime().exec(command, envp); in checkExec() 502 proc = Runtime.getRuntime().exec(command); in checkExec() 505 proc = Runtime.getRuntime().exec(command, envp, file); in checkExec()
|
/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
D | Socks4Message.java | 71 public void setCommandOrResult(int command) { in setCommandOrResult() argument 72 buffer[INDEX_COMMAND] = (byte) command; in setCommandOrResult()
|
D | PlainSocketImpl.java | 402 private void socksSendRequest(int command, InetAddress address, int port) 405 request.setCommandOrResult(command);
|
/libcore/luni/src/main/java/org/apache/xalan/processor/ |
D | XSLProcessorVersion.src | 34 * Print the processor version to the command line. 36 * @param argv command line arguments, unused.
|
/libcore/luni/src/main/java/org/apache/xml/serializer/ |
D | Version.src | 52 * Print the processor version to the command line. 54 * @param argv command line arguments, unused.
|
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/ftp/ |
D | FtpURLConnection.java | 499 private void write(String command) throws IOException { in write() argument 500 ctrlOutput.write(command.getBytes(Charsets.ISO_8859_1)); in write()
|
/libcore/luni/src/main/java/org/apache/xalan/ |
D | Version.src | 55 * Print the processor version to the command line. 57 * @param argv command line arguments, unused.
|
/libcore/luni/src/main/java/java/security/ |
D | security.properties | 43 # extra properties file passed on the command line with 70 # Flag to enable/disable an extra policy to be passed on the command line
|
/libcore/luni/src/main/java/java/util/logging/ |
D | logging.properties | 22 # passed to "java" command, or as property definition passed to JNI_CreateJavaVM.
|
/libcore/luni/src/test/java/tests/api/java/io/ |
D | FileTest.java | 2455 builder.command().add("-cp"); in test_deleteOnExit() 2456 builder.command().add(System.getProperty("java.class.path")); in test_deleteOnExit() 2457 builder.command().add("tests.support.Support_DeleteOnExitTest"); in test_deleteOnExit() 2458 builder.command().add(dir.getAbsolutePath()); in test_deleteOnExit() 2459 builder.command().add(subDir.getAbsolutePath()); in test_deleteOnExit()
|