Home
last modified time | relevance | path

Searched refs:fileFormat (Results 1 – 11 of 11) sorted by relevance

/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DSignatureWriter.kt42 private val fileFormat: FileFormat, in <lambda>() constant
50 methodComparator = fileFormat.overloadedMethodOrder.comparator, in <lambda>()
59 writer.print(fileFormat.header()) in <lambda>()
66 skipNullnessAnnotations = fileFormat.kotlinStyleNulls, in <lambda>()
73 writer.print(fileFormat.header()) in <lambda>()
127 if (fileFormat.kotlinNameTypeOrder) { in <lambda>()
150 if (fileFormat.kotlinNameTypeOrder) { in <lambda>()
169 if (fileFormat.kotlinNameTypeOrder) { in <lambda>()
249 annotations = fileFormat.includeTypeUseAnnotations, in <lambda>()
250 kotlinStyleNulls = fileFormat.kotlinStyleNulls, in <lambda>()
[all …]
DConvertJarsToSignatureFiles.kt53 private val fileFormat: FileFormat, in <lambda>() constant in com.android.tools.metalava.ConvertJarsToSignatureFiles
150 fileFormat = fileFormat, in <lambda>()
DAndroidJarsToSignaturesCommand.kt82 signatureFormat.fileFormat, in <lambda>()
DDriver.kt310 fileFormat = options.signatureFileFormat, in processFlags()
DOptions.kt478 val signatureFileFormat by signatureFormatOptions::fileFormat
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/signature/
DSignatureFormatOptionsTest.kt116 assertThat(options.fileFormat).isEqualTo(FileFormat.V3) in --use-same-format-as reads from a valid file and ignores --format()
124 assertThat(options.fileFormat).isEqualTo(FileFormat.V4) in --use-same-format-as ignores empty file and falls back to format()
137 assertThat(options.fileFormat.overloadedMethodOrder) in --use-same-format-as will honor --format-defaults overloaded-method-order=source()
161 options.fileFormat in --use-same-format-as fails to read from an invalid file()
172 runTest("--format", "2.0") { assertEquals(FileFormat.V2, options.fileFormat) } in --format with no properties()
180 options.fileFormat.overloadedMethodOrder in --format with no properties and --format-defaults overloaded-method-order=source()
188 assertEquals(true, options.fileFormat.addAdditionalOverrides) in --format with no properties and --format-defaults add-additional-overrides=yes()
199 options.fileFormat in --format with overloaded-method-order=signature()
214 options.fileFormat.overloadedMethodOrder in --format with overloaded-method-order=signature and --format-defaults overloaded-method-order=source()
231 options.fileFormat in --format specifier with all the supported properties()
[all …]
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSignatureWriterTest.kt29 fileFormat: FileFormat = FileFormat.V2, in runTest()
42 fileFormat = fileFormat, in runTest()
DSignatureInputOutputTest.kt62 fileFormat = format, in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/signature/
DMergeSignaturesCommand.kt92 fileFormat = signatureFormat.fileFormat, in run()
DSignatureFormatOptions.kt159 val fileFormat: FileFormat by in <lambda>() constant in com.android.tools.metalava.cli.signature.SignatureFormatOptions
DUpdateSignatureHeaderCommand.kt90 val outputFormat = formatOptions.fileFormat in <lambda>()