/external/caliper/caliper/src/main/java/com/google/caliper/util/ |
OutputModule.java | 22 import java.io.PrintWriter; 25 * A module that binds {@link PrintWriter} instances for {@link Stdout} and {@link Stderr}. 30 return new OutputModule(new PrintWriter(System.out, true), new PrintWriter(System.err, true)); 33 private final PrintWriter stdout; 34 private final PrintWriter stderr; 36 public OutputModule(PrintWriter stdout, PrintWriter stderr) { 41 @Provides @Stdout PrintWriter provideStdoutWriter() { 45 @Provides @Stderr PrintWriter provideStderr() [all...] |
InvalidCommandException.java | 19 import java.io.PrintWriter; 37 public void display(PrintWriter writer) { 45 protected final void displayUsage(PrintWriter writer) {
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
PrintWriterTest.java | 27 import java.io.PrintWriter; 45 static class MockPrintWriter extends PrintWriter { 58 PrintWriter pw; 67 * java.io.PrintWriter#PrintWriter(java.io.OutputStream) 70 // Test for method java.io.PrintWriter(java.io.OutputStream) 89 * java.io.PrintWriter#PrintWriter(java.io.OutputStream, boolean) 92 // Test for method java.io.PrintWriter(java.io.OutputStream, boolean) 94 pw = new PrintWriter(bao, true) [all...] |
/packages/services/Telephony/src/com/android/phone/ |
DumpsysHandler.java | 9 import java.io.PrintWriter; 16 public static void dump(Context context, FileDescriptor fd, PrintWriter writer,
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
Writers.java | 19 import java.io.PrintWriter; 34 * Makes a {@code PrintWriter} for the given {@code Writer}, 41 public static PrintWriter printWriterFor(Writer writer) { 42 if (writer instanceof PrintWriter) { 43 return (PrintWriter) writer; 46 return new PrintWriter(writer);
|
/dalvik/dx/src/com/android/dx/util/ |
Writers.java | 19 import java.io.PrintWriter; 34 * Makes a {@code PrintWriter} for the given {@code Writer}, 41 public static PrintWriter printWriterFor(Writer writer) { 42 if (writer instanceof PrintWriter) { 43 return (PrintWriter) writer; 46 return new PrintWriter(writer);
|
/external/dexmaker/src/dx/java/com/android/dx/util/ |
Writers.java | 19 import java.io.PrintWriter; 34 * Makes a {@code PrintWriter} for the given {@code Writer}, 41 public static PrintWriter printWriterFor(Writer writer) { 42 if (writer instanceof PrintWriter) { 43 return (PrintWriter) writer; 46 return new PrintWriter(writer);
|
/frameworks/base/core/java/android/util/ |
PrintWriterPrinter.java | 19 import java.io.PrintWriter; 23 * to a {@link java.io.PrintWriter}. 26 private final PrintWriter mPW; 29 * Create a new Printer that sends to a PrintWriter object. 31 * @param pw The PrintWriter where you would like output to go. 33 public PrintWriterPrinter(PrintWriter pw) {
|
LocalLog.java | 20 import java.io.PrintWriter; 51 public synchronized void dump(FileDescriptor fd, PrintWriter pw, String[] args) { 58 public synchronized void reverseDump(FileDescriptor fd, PrintWriter pw, String[] args) { 69 public void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
|
/external/jcommander/src/main/java/com/beust/jcommander/internal/ |
JDK6Console.java | 5 import java.io.PrintWriter; 12 private PrintWriter writer; 17 writer = (PrintWriter) writerMethod.invoke(console, new Object[0]);
|
/external/junit/src/junit/framework/ |
TestFailure.java | 3 import java.io.PrintWriter; 47 PrintWriter writer= new PrintWriter(stringWriter);
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
MockContentProvider.java | 32 import java.io.PrintWriter; 84 PrintWriter printWriter = null; 86 printWriter = new PrintWriter(new OutputStreamWriter(outputStream, "UTF-8")); 87 printWriter.print(args); 90 if (printWriter != null) { 91 printWriter.flush();
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/perf/ |
PerformanceSuite.java | 14 import java.io.PrintWriter; 38 final PrintWriter writer; 40 writer = new PrintWriter(System.out, true); 42 writer = new PrintWriter(args[0]);
|
/cts/tools/signature-tools/src/signature/converter/doclet/ |
DocletFactory.java | 20 import java.io.PrintWriter;
105 String.class, PrintWriter.class, PrintWriter.class,
106 PrintWriter.class);
108 PrintWriter err = new PrintWriter(new StringWriter());
109 PrintWriter warn = new PrintWriter(new StringWriter());
110 PrintWriter notice = new PrintWriter(new StringWriter()); [all...] |
/cts/tests/tests/util/src/android/util/cts/ |
PrintWriterPrinterTest.java | 25 import java.io.PrintWriter; 47 PrintWriter pw = new PrintWriter(mFile); 57 PrintWriter pw = null; 59 pw = new PrintWriter(mFile);
|
/frameworks/base/services/core/java/com/android/server/am/ |
BroadcastFilter.java | 23 import java.io.PrintWriter; 43 public void dump(PrintWriter pw, String prefix) { 48 public void dumpBrief(PrintWriter pw, String prefix) { 52 public void dumpInReceiverList(PrintWriter pw, Printer pr, String prefix) { 57 void dumpBroadcastFilterState(PrintWriter pw, String prefix) {
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldAndroidPrintWriterTest.java | 19 import java.io.PrintWriter; 28 PrintWriter a = new PrintWriter(aa); 48 PrintWriter b = new PrintWriter(ba);
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
InvalidInstrumentException.java | 17 import java.io.PrintWriter; 28 public void display(PrintWriter writer) {
|
UserCodeException.java | 17 import java.io.PrintWriter; 33 @Override public void display(PrintWriter writer) {
|
TrialOutputFactory.java | 21 import java.io.PrintWriter; 31 /** A simple tuple of a {@link File} and a {@link PrintWriter} for writing to that file. */ 34 final PrintWriter writer; 36 FileAndWriter(File file, PrintWriter writer) {
|
/external/jarjar/src/main/com/tonicsystems/jarjar/ |
TextDepHandler.java | 24 private PrintWriter w; 26 public TextDepHandler(PrintWriter w, int level) {
|
/libcore/dalvik/src/test/java/dalvik/system/ |
CloseGuardMonitor.java | 20 import java.io.PrintWriter; 108 PrintWriter printWriter = new PrintWriter(writer); 111 printWriter.print(++i); 112 printWriter.print(") "); 113 allocationSite.printStackTrace(printWriter); 114 printWriter.println(" --------------------------------");
|
/packages/services/Car/service/src/com/android/car/ |
CarServiceBase.java | 19 import java.io.PrintWriter; 35 void dump(PrintWriter writer);
|
/frameworks/base/core/java/com/android/internal/util/ |
DumpUtils.java | 21 import java.io.PrintWriter; 38 public static void dumpAsync(Handler handler, final Dump dump, PrintWriter pw, 44 PrintWriter lpw = new FastPrintWriter(sw); 56 void dump(PrintWriter pw, String prefix);
|
/dalvik/dx/src/com/android/dx/command/findusages/ |
Main.java | 22 import java.io.PrintWriter; 31 PrintWriter out = new PrintWriter(System.out);
|