Home
last modified time | relevance | path

Searched refs:Redirect (Results 1 – 4 of 4) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
DProcessBuilder.java184 private Redirect[] redirects;
459 public static abstract class Redirect { class in ProcessBuilder
511 public static final Redirect PIPE = new Redirect() {
526 public static final Redirect INHERIT = new Redirect() {
560 public static Redirect from(final File file) { in from()
563 return new Redirect() { in from()
587 public static Redirect to(final File file) { in to()
590 return new Redirect() { in to()
618 public static Redirect appendTo(final File file) {
621 return new Redirect() {
[all …]
DProcessImpl.java31 import java.lang.ProcessBuilder.Redirect;
32 import java.lang.ProcessBuilder.Redirect;
64 ProcessBuilder.Redirect[] redirects, in start()
101 if (redirects[0] == Redirect.PIPE) in start()
103 else if (redirects[0] == Redirect.INHERIT) in start()
112 if (redirects[1] == Redirect.PIPE) in start()
114 else if (redirects[1] == Redirect.INHERIT) in start()
124 if (redirects[2] == Redirect.PIPE) in start()
126 else if (redirects[2] == Redirect.INHERIT) in start()
/libcore/luni/src/test/java/libcore/java/lang/
DProcessBuilderTest.java29 import java.lang.ProcessBuilder.Redirect;
30 import java.lang.ProcessBuilder.Redirect.Type;
44 import static java.lang.ProcessBuilder.Redirect.INHERIT;
45 import static java.lang.ProcessBuilder.Redirect.PIPE;
107 .redirectInput(Redirect.INHERIT) in testRedirectInherit()
108 .redirectOutput(Redirect.INHERIT) in testRedirectInherit()
109 .redirectError(Redirect.INHERIT) in testRedirectInherit()
202 .redirectError(Redirect.PIPE).start(); in testRedirectPipe_error()
352 Redirect a = Redirect.from(file); in testRedirect_hashCodeDependsOnFile()
353 Redirect b = Redirect.from(otherFile); in testRedirect_hashCodeDependsOnFile()
[all …]
/libcore/api/
Dcurrent.txt3480 method public ProcessBuilder redirectError(java.lang.ProcessBuilder.Redirect);
3482 method public java.lang.ProcessBuilder.Redirect redirectError();
3485 method public ProcessBuilder redirectInput(java.lang.ProcessBuilder.Redirect);
3487 method public java.lang.ProcessBuilder.Redirect redirectInput();
3488 method public ProcessBuilder redirectOutput(java.lang.ProcessBuilder.Redirect);
3490 method public java.lang.ProcessBuilder.Redirect redirectOutput();
3494 public abstract static class ProcessBuilder.Redirect {
3495 method public static java.lang.ProcessBuilder.Redirect appendTo(java.io.File);
3497 method public static java.lang.ProcessBuilder.Redirect from(java.io.File);
3498 method public static java.lang.ProcessBuilder.Redirect to(java.io.File);
[all …]