Home
last modified time | relevance | path

Searched refs:writer (Results 1 – 17 of 17) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/
DProguardWriter.kt31 private val writer: PrintWriter, constant in com.android.tools.metalava.ProguardWriter
43 writer.print("-keep class ") in visitClass()
44 writer.print(cls.qualifiedNameWithDollarInnerClasses()) in visitClass()
45 writer.print(" {\n") in visitClass()
49 writer.print("}\n") in afterVisitClass()
53 writer.print(" ") in visitConstructor()
54 writer.print("<init>") in visitConstructor()
57 writer.print(";\n") in visitConstructor()
61 writer.print(" ") in visitMethod()
64 modifiers.isPublic() -> writer.write("public ") in visitMethod()
[all …]
DDexApiWriter.kt28 private val writer: PrintWriter, constant in com.android.tools.metalava.DexApiWriter
41 writer.print(cls.toType().internalName()) in visitClass()
42 writer.print("\n") in visitClass()
51 writer.print(method.containingClass().toType().internalName()) in visitMethod()
52 writer.print("->") in visitMethod()
53 writer.print(method.internalName()) in visitMethod()
54 writer.print("(") in visitMethod()
56 writer.print(pi.type().internalName()) in visitMethod()
58 writer.print(")") in visitMethod()
60 writer.print("V") in visitMethod()
[all …]
DAnnotationsDiffer.kt114 val writer = PrintWriter(stringWriter) in <lambda>() constant
115 writer.use { printWriter -> in <lambda>()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTableFormatter.java46 public void displayTable(List<List<String>> table, PrintWriter writer) { in displayTable() argument
54 writer.append(rowData.get(col)); in displayTable()
56 insertPadding(numPaddingChars, writer); in displayTable()
58 writer.println(); in displayTable()
62 private void insertPadding(int numChars, PrintWriter writer) { in insertPadding() argument
64 writer.append(' '); in insertPadding()
DStreamUtil.java178 public static void copyStreamToWriter(InputStream inStream, Writer writer) throws IOException { in copyStreamToWriter() argument
182 writer.write(new String(buf, 0, size)); in copyStreamToWriter()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DTableFormatterTest.java64 PrintWriter writer = new PrintWriter(outStream); in doDisplayTable() local
65 new TableFormatter().displayTable(testData, writer); in doDisplayTable()
66 writer.flush(); in doDisplayTable()
67 writer.close(); in doDisplayTable()
DStreamUtilTest.java144 Writer writer = new OutputStreamWriter(baos); in testCopyStreamToWriter() local
145 StreamUtil.copyStreamToWriter(bais, writer); in testCopyStreamToWriter()
147 writer.close(); in testCopyStreamToWriter()
/tools/tradefederation/contrib/src/com/android/media/tests/
DCameraTestBase.java504 BufferedWriter writer = new BufferedWriter(new FileWriter(mOutputFile, false)); in createOutputFile() local
505 writer.write(LOG_HEADER); in createOutputFile()
506 writer.newLine(); in createOutputFile()
507 writer.flush(); in createOutputFile()
508 writer.close(); in createOutputFile()
544 BufferedWriter writer = null; in printMeminfo() local
548 writer = new BufferedWriter(new FileWriter(outputFile, true)); in printMeminfo()
574 writer.write(printMsg); in printMeminfo()
575 writer.newLine(); in printMeminfo()
576 writer.flush(); in printMeminfo()
[all …]
DAudioLoopbackTestHelper.java536 final PrintWriter writer = new PrintWriter(csvFile, StandardCharsets.UTF_8.name()); in writeAllResultsToCSVFile() local
540 writer.println( in writeAllResultsToCSVFile()
562 writer.println(sb.toString()); in writeAllResultsToCSVFile()
566 writer.close(); in writeAllResultsToCSVFile()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/
DHttpMultipartPostTest.java45 PrintWriter writer = new PrintWriter(new FileOutputStream(mFile)); in setUp() local
46 writer.write("Test data"); in setUp()
47 writer.close(); in setUp()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/xml/
DAndroidManifestWriterTest.java65 AndroidManifestWriter writer = AndroidManifestWriter.parse(manifest.getAbsolutePath()); in assertMinSdkChange() local
66 assertNotNull(writer); in assertMinSdkChange()
67 writer.setMinSdkVersion(TEST_SDK_VERSION); in assertMinSdkChange()
/tools/tradefederation/core/util-apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiMonitorService.java104 final PrintWriter writer = new PrintWriter(out); in monitor() local
105 writer.write(String.format("%d,", checkLatency(urlToCheck))); in monitor()
106 writer.flush(); in monitor()
/tools/dexter/slicer/
DAndroid.bp17 "writer.cc",
/tools/dexter/dexter/
Ddexter.cc277 dex::Writer writer(dex_ir); in CreateNewImage() local
278 new_image = writer.CreateImage(&allocator, &new_image_size); in CreateNewImage()
/tools/metalava/
DREADME.md345 private val writer: PrintWriter,
353 writer.print(" ctor ")
355 writer.print(constructor.containingClass().fullName())
358 writer.print(";\n")
/tools/tradefederation/core/res/jacoco/
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/MTNMINDS.SF META-INF/MTNMINDS ...