Home
last modified time | relevance | path

Searched refs:PrintWriter (Results 1 – 25 of 44) sorted by relevance

12

/tools/tradefederation/core/tests/src/com/android/tradefed/command/remote/
DRemoteManagerTest.java40 import java.io.PrintWriter;
78 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_invalidAction()
97 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_initHandover()
116 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_addCommand()
132 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_addCommand_fail()
150 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_addCommand_config()
168 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_allocateDevice_fail()
185 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_allocateDevice()
202 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_processFree_notFound()
223 PrintWriter pw = new PrintWriter(out); in testProcessClientOperations_processFree()
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DXml.kt24 import java.io.PrintWriter
45 fun parseDocument(xml: String, namespaceAware: Boolean, errorWriter: PrintWriter = PrintWriter(Syst… in parseDocument()
58 fun parseDocument(xml: Reader, namespaceAware: Boolean, errorWriter: PrintWriter = PrintWriter(Syst… in parseDocument()
/tools/tradefederation/core/src/com/android/tradefed/command/
DICommandScheduler.java30 import java.io.PrintWriter;
230 public void displayInvocationsInfo(PrintWriter printWriter); in displayInvocationsInfo()
276 public void displayCommandsInfo(PrintWriter printWriter, String regex); in displayCommandsInfo()
286 public void dumpCommandsXml(PrintWriter printWriter, String regex); in dumpCommandsXml()
293 public void displayCommandQueue(PrintWriter printWriter); in displayCommandQueue()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DTableFormatterTest.java21 import java.io.PrintWriter;
64 PrintWriter writer = new PrintWriter(outStream); in doDisplayTable()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
DHttpMultipartPostTest.java28 import java.io.PrintWriter;
45 PrintWriter writer = new PrintWriter(new FileOutputStream(mFile)); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/targetprep/
DBaseTargetPreparerTest.java31 import java.io.PrintWriter;
58 try (PrintWriter pw = new PrintWriter(configFile)) { in testDisabledByDefault()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/sl4a/
DFakeSocketServerHelper.java23 import java.io.PrintWriter;
54 PrintWriter out = null; in run()
59 out = new PrintWriter(client.getOutputStream(), true); in run()
/tools/tradefederation/core/tests/src/com/android/tradefed/config/
DConfigurationUtilTest.java38 import java.io.PrintWriter;
58 PrintWriter output = new PrintWriter(tmpXml); in testDumpClassToXml()
99 PrintWriter output = new PrintWriter(tmpXml); in testDumpClassToXml_filtered()
281 PrintWriter output = new PrintWriter(tmpXml); in testDumpClassToXml_filterDeprecated()
321 PrintWriter output = new PrintWriter(tmpXml); in testDumpClassToXml_filterNotChanged()
DConfigurationTest.java47 import java.io.PrintWriter;
598 PrintWriter out = new PrintWriter(test); in testDumpXml()
617 PrintWriter out = new PrintWriter(test); in testDumpXml_withFilter()
642 PrintWriter out = new PrintWriter(test); in testDumpXml_multi_device()
665 PrintWriter out = new PrintWriter(test); in testDumpXml_multi_device_fake()
683 PrintWriter pw = new PrintWriter(sw); in testDumpChangedOption()
693 pw = new PrintWriter(sw); in testDumpChangedOption()
701 pw = new PrintWriter(sw); in testDumpChangedOption()
715 PrintWriter pw = new PrintWriter(sw); in testDumpChangedOption_structure()
726 pw = new PrintWriter(sw); in testDumpChangedOption_structure()
DSandboxConfigurationFactoryTest.java47 import java.io.PrintWriter;
166 try (PrintWriter pw = new PrintWriter(mConfig)) { in testCreateConfiguration_runConfig()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTableFormatter.java18 import java.io.PrintWriter;
46 public void displayTable(List<List<String>> table, PrintWriter writer) { in displayTable()
62 private void insertPadding(int numChars, PrintWriter writer) { in insertPadding()
/tools/metalava/src/test/java/com/android/tools/metalava/
DOptionsTest.kt26 import java.io.PrintWriter
446 stdout = PrintWriter(stdout), in Test invalid arguments()
447 stderr = PrintWriter(stderr) in Test invalid arguments()
469 stdout = PrintWriter(stdout), in Test help()
470 stderr = PrintWriter(stderr) in Test help()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DSubprocessConfigBuilder.java26 import java.io.PrintWriter;
77 PrintWriter writer = new PrintWriter(f); in build()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aClient.java32 import java.io.PrintWriter;
223 PrintWriter out = new PrintWriter(mSocket.getOutputStream(), true); in sendCommand()
244 PrintWriter out = new PrintWriter(mSocket.getOutputStream(), false); in sendThroughSocket()
/tools/metalava/src/main/java/com/android/tools/metalava/
DTerminal.kt19 import java.io.PrintWriter
85 fun PrintWriter.terminalPrint( in terminalPrint() method
DAnnotationsDiffer.kt26 import java.io.PrintWriter in <lambda>()
122 val writer = PrintWriter(stringWriter) in <lambda>()
DProguardWriter.kt28 import java.io.PrintWriter
32 private val writer: PrintWriter,
/tools/tradefederation/core/src/com/android/tradefed/device/
DIDeviceManager.java23 import java.io.PrintWriter;
215 public void displayDevicesInfo(PrintWriter printWriter, boolean includeStub); in displayDevicesInfo()
/tools/tradefederation/core/src/com/android/tradefed/config/
DIConfiguration.java41 import java.io.PrintWriter;
556 public void dumpXml(PrintWriter output) throws IOException; in dumpXml()
568 public void dumpXml(PrintWriter output, List<String> excludeFilters) throws IOException; in dumpXml()
582 PrintWriter output, in dumpXml()
/tools/tradefederation/core/src/com/android/tradefed/log/
DTerribleFailureEmailHandler.java28 import java.io.PrintWriter;
246 PrintWriter pw = new PrintWriter(sw); in getStackTraceString()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DSandboxConfigDump.java38 import java.io.PrintWriter;
86 PrintWriter pw = null; in parse()
133 pw = new PrintWriter(resFile); in parse()
/tools/tradefederation/core/src/com/android/tradefed/command/remote/
DRemoteManager.java39 import java.io.PrintWriter;
217 PrintWriter out = null; in processClientConnections()
221 out = new PrintWriter(clientSocket.getOutputStream(), true); in processClientConnections()
244 void processClientOperations(BufferedReader in, PrintWriter out) throws IOException { in processClientOperations()
475 private void sendAck(JSONObject result, PrintWriter out) { in sendAck()
513 private void closeWriter(PrintWriter out) { in closeWriter()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandRunnerTest.java39 import java.io.PrintWriter;
112 PrintWriter pw = new PrintWriter(out); in printStackTrace()
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiMonitorService.java35 import java.io.PrintWriter;
100 final PrintWriter writer = new PrintWriter(out); in monitor()
/tools/tradefederation/core/common_util/com/android/tradefed/log/
DLogUtil.java22 import java.io.PrintWriter;
287 PrintWriter pw = new PrintWriter(sw); in getStackTraceString()

12