/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | JDiffXmlWriter.kt | 44 private val writer: PrintWriter, in <lambda>() constant in com.android.tools.metalava.JDiffXmlWriter 60 writer.print("<api") in <lambda>() 64 writer.print(" name=\"") in <lambda>() 65 writer.print(apiName) in <lambda>() 66 writer.print("\"") in <lambda>() 70 writer.print(" xmlns:metalava=\"http://www.android.com/metalava/\"") in <lambda>() 72 writer.println(">") in <lambda>() 76 writer.println("</api>") in <lambda>() 81 writer.println("<package name=\"${pkg.qualifiedName()}\"\n>") in <lambda>() 85 writer.println("</package>") in <lambda>() [all …]
|
D | SignatureWriter.kt | 36 private val writer: PrintWriter, in <lambda>() constant in com.android.tools.metalava.SignatureWriter 52 writer.print(options.outputFormat.header()) in <lambda>() 57 writer.print("package ") in <lambda>() 59 writer.print("${pkg.qualifiedName()} {\n\n") in <lambda>() 63 writer.print("}\n\n") in <lambda>() 67 writer.print(" ctor ") in <lambda>() 71 writer.print(constructor.containingClass().fullName()) in <lambda>() 74 writer.print(";\n") in <lambda>() 83 writer.print(" ") in <lambda>() 84 writer.print(name) in <lambda>() [all …]
|
D | ProguardWriter.kt | 32 private val writer: PrintWriter, constant in com.android.tools.metalava.ProguardWriter 44 writer.print("-keep class ") in visitClass() 45 writer.print(cls.qualifiedNameWithDollarInnerClasses()) in visitClass() 46 writer.print(" {\n") in visitClass() 50 writer.print("}\n") in afterVisitClass() 54 writer.print(" ") in visitConstructor() 55 writer.print("<init>") in visitConstructor() 58 writer.print(";\n") in visitConstructor() 62 writer.print(" ") in visitMethod() 66 writer.write(visibilityLevel.javaSourceCodeModifier + " ") in visitMethod() [all …]
|
D | DexApiWriter.kt | 28 private val writer: PrintWriter, constant in com.android.tools.metalava.DexApiWriter 40 writer.print(cls.toType().internalName()) in visitClass() 41 writer.print("\n") in visitClass() 50 writer.print(method.containingClass().toType().internalName()) in visitMethod() 51 writer.print("->") in visitMethod() 52 writer.print(method.internalName()) in visitMethod() 53 writer.print("(") in visitMethod() 55 writer.print(pi.type().internalName(method)) in visitMethod() 57 writer.print(")") in visitMethod() 59 writer.print("V") in visitMethod() [all …]
|
D | ExtractAnnotations.kt | 125 StringPrintWriter.create().use { writer -> in <lambda>() method 126 writer.println("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<root>") in <lambda>() 133 writer.print(" </item>") in <lambda>() 134 writer.println() in <lambda>() 136 writer.print(" <item name=\"") in <lambda>() 137 writer.print(item.getExternalAnnotationSignature()) in <lambda>() 138 writer.println("\">") in <lambda>() 143 writeAnnotation(writer, item, annotation) in <lambda>() 146 writer.print(" </item>") in <lambda>() 147 writer.println() in <lambda>() [all …]
|
D | Driver.kt | 195 val writer = options.strictInputViolationsPrintWriter!! in maybeActivateSandbox() constant 211 writer.println("$absolutePath$suffix") in maybeActivateSandbox() 213 Throwable().printStackTrace(writer) in maybeActivateSandbox() 224 private fun repeatErrors(writer: PrintWriter, reporters: List<Reporter>, max: Int) { in repeatErrors() 225 writer.println("Error: $PROGRAM_NAME detected the following problems:") in repeatErrors() 230 var numShown = it.printErrors(writer, remainingCap) in repeatErrors() 235 …writer.println("${totalErrors - totalShown} more error(s) omitted. Search the log for 'error:' to … in repeatErrors() 764 class PrintWriterOutputStream(private val writer: PrintWriter) : OutputStream() { constant in com.android.tools.metalava.PrintWriterOutputStream 767 writer.write(String(b, UTF_8)) in write() 775 writer.write(String(b, off, len, UTF_8)) in write() [all …]
|
D | Baseline.kt | 265 fun dumpStats(writer: PrintWriter) { in <lambda>() 273 writer.println("Baseline issue type counts for $description baseline:") in <lambda>() 274 writer.println("" + in <lambda>() 283 …writer.println(" ${String.format("%5d", count)} ${String.format("%-30s", issue.name)} ${configu… in <lambda>() 286 writer.println("" + in <lambda>() 289 writer.println() in <lambda>()
|
D | SdkFileWriter.kt | 264 private fun writeClass(writer: BufferedWriter, clazz: ClassItem, prefix: Char) { in writeClass() 265 writer.append(prefix).append(clazz.qualifiedName()) in writeClass() 268 writer.append(' ').append(superClass.qualifiedName()) in writeClass() 271 writer.append('\n') in writeClass()
|
D | Reporter.kt | 402 fun printErrors(writer: PrintWriter, maxErrors: Int): Int { in printErrors() 409 writer.println(it) in printErrors() 415 fun writeErrorMessage(writer: PrintWriter) { in writeErrorMessage() 417 errorMessage ?. let { writer.write(it) } in writeErrorMessage()
|
D | AnnotationsDiffer.kt | 119 val writer = PrintWriter(stringWriter) in <lambda>() constant 120 writer.use { printWriter -> in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/stub/ |
D | JavaStubWriter.kt | 37 private val writer: PrintWriter, in <lambda>() constant in com.android.tools.metalava.stub.JavaStubWriter 50 writer.println("package $qualifiedName;") in <lambda>() 51 writer.println() in <lambda>() 62 writer.println("import ${item.qualifiedName()}.*;") in <lambda>() 64 writer.println("import ${item.qualifiedName()};") in <lambda>() 66 writer.println( in <lambda>() 72 writer.println() in <lambda>() 77 appendDocumentation(cls, writer, docStubs) in <lambda>() 80 writer.println("@SuppressWarnings({\"unchecked\", \"deprecation\", \"all\"})") in <lambda>() 89 cls.isAnnotationType() -> writer.print("@interface") in <lambda>() [all …]
|
D | KotlinStubWriter.kt | 35 private val writer: PrintWriter, in <lambda>() constant in com.android.tools.metalava.stub.KotlinStubWriter 48 writer.println("package $qualifiedName") in <lambda>() 49 writer.println() in <lambda>() 56 writer.println("import ${item.qualifiedName()}.*") in <lambda>() 58 writer.println("import ${item.qualifiedName()}") in <lambda>() 60 … writer.println("import static ${item.containingClass().qualifiedName()}.${item.name()}") in <lambda>() 63 writer.println() in <lambda>() 66 appendDocumentation(cls, writer, docStubs) in <lambda>() 68 writer.println("@file:Suppress(\"ALL\")") in <lambda>() 77 cls.isAnnotationType() -> writer.print("annotation class") in <lambda>() [all …]
|
D | StubWriter.kt | 139 writer = packageInfoWriter in <lambda>() 248 writer: PrintWriter, in appendDocumentation() 255 writer.println(trimmed) in appendDocumentation() 256 writer.println() in appendDocumentation()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | FieldItem.kt | 155 writer: PrintWriter, in <lambda>() 165 writer.print(" = ") in <lambda>() 166 writer.print(value) in <lambda>() 167 writer.print("; // 0x") in <lambda>() 168 writer.print(Integer.toHexString(value)) in <lambda>() 171 writer.print(" = ") in <lambda>() 172 writer.print('"') in <lambda>() 173 writer.print(javaEscapeString(value)) in <lambda>() 174 writer.print('"') in <lambda>() 175 writer.print(";") in <lambda>() [all …]
|
D | ModifierList.kt | 239 writer: Writer, in <lambda>() 281 writer, in <lambda>() 290 writer.write("@Deprecated") in <lambda>() 291 writer.write(if (separateLines) "\n" else " ") in <lambda>() 312 writer.write(visibilityLevel.javaSourceCodeModifier + " ") in <lambda>() 316 writer.write("default ") in <lambda>() 320 writer.write("static ") in <lambda>() 330 writer.write("final ") in <lambda>() 334 writer.write("sealed ") in <lambda>() 338 writer.write("suspend ") in <lambda>() [all …]
|
/tools/test/connectivity/acts/framework/tests/libs/testtracker/ |
D | testtracker_results_writer_test.py | 68 writer = TestTrackerResultsWriter(MOCK_LOG_PATH, MOCK_PROPERTIES) 69 writer._add_property(self.mock_proto, 'bool_prop', False) 76 writer = TestTrackerResultsWriter(MOCK_LOG_PATH, MOCK_PROPERTIES) 77 writer._add_property(self.mock_proto, 'int_prop', 5) 84 writer = TestTrackerResultsWriter(MOCK_LOG_PATH, MOCK_PROPERTIES) 85 writer._add_property(self.mock_proto, 'float_prop', 7.4) 92 writer = TestTrackerResultsWriter(MOCK_LOG_PATH, MOCK_PROPERTIES) 93 writer._add_property(self.mock_proto, 'str_prop', 'ok') 100 writer = TestTrackerResultsWriter(MOCK_LOG_PATH, MOCK_PROPERTIES) 101 result = writer._create_result_proto(self.mock_record) [all …]
|
/tools/platform-compat/javatest/android/processor/compat/changeid/ |
D | XmlWriterTest.java | 36 XmlWriter writer = new XmlWriter(); in testNoChanges() local 37 writer.write(mOutputStream); in testNoChanges() 46 XmlWriter writer = new XmlWriter(); in testOneChange() local 52 writer.addChange(c); in testOneChange() 53 writer.write(mOutputStream); in testOneChange() 64 XmlWriter writer = new XmlWriter(); in testSomeChanges() local 98 writer.addChange(c); in testSomeChanges() 99 writer.addChange(disabled); in testSomeChanges() 100 writer.addChange(sdkRestricted); in testSomeChanges() 101 writer.addChange(both); in testSomeChanges() [all …]
|
/tools/test/connectivity/acts_tests/tests/google/power/bt/ |
D | PowerBTcalibrationTest.py | 70 writer = csv.writer(f) 71 writer.writerows(self.cal_matrix)
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/ |
D | TextModifiers.kt | 84 val writer = StringWriter() in <lambda>() constant 85 ModifierList.write(writer, this, item, target = AnnotationTarget.SDK_STUBS_FILE) in <lambda>() 86 return writer.toString() in <lambda>()
|
/tools/platform-compat/java/android/processor/compat/changeid/ |
D | ChangeIdProcessor.java | 85 XmlWriter writer = new XmlWriter(); in process() local 90 writer.addChange(change); in process() 98 writer.write(outputStream); in process()
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/ |
D | ota_sniffer.py | 384 writer = csv.DictWriter(output_csv, 387 writer.writeheader() 397 writer.writerow(row)
|
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/ |
D | PsiTypePrinterTest.kt | 909 val writer = StringWriter() in <lambda>() constant 910 val printWriter = PrintWriter(writer) in <lambda>() 933 return writer.toString().removeSuffix("\n\n") in <lambda>()
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | latency.py | 159 csv_writer = csv.writer(out_file) 173 csv_writer = csv.writer(out_file)
|
/tools/test/connectivity/acts/framework/acts/ |
D | test_decorators.py | 314 writer = TestTrackerResultsWriter( 316 writer.write_results_from_test_signal(
|
/tools/dexter/dexter/ |
D | dexter.cc | 277 dex::Writer writer(dex_ir); in CreateNewImage() local 278 new_image = writer.CreateImage(&allocator, &new_image_size); in CreateNewImage()
|