Home
last modified time | relevance | path

Searched refs:apiFile (Results 1 – 6 of 6) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/
DDriver.kt265 options.apiFile?.let { apiFile -> in processFlags() method
270 createReportFile(codebase, apiFile, "API") { printWriter -> in processFlags()
275 options.dexApiFile?.let { apiFile -> in processFlags() method
282 codebase, apiFile, "DEX API" in processFlags()
286 options.apiXmlFile?.let { apiFile -> in processFlags() method
291 createReportFile(codebase, apiFile, "XML API") { printWriter -> in processFlags()
296 options.dexApiMappingFile?.let { apiFile -> in processFlags() method
302 codebase, apiFile, "DEX API Mapping" in processFlags()
312 options.removedApiFile?.let { apiFile -> in processFlags() method
319 createReportFile(unfiltered, apiFile, "removed API") { printWriter -> in processFlags()
[all …]
DAnnotationsDiffer.kt113 fun writeDiffSignature(apiFile: File) { in <lambda>()
139 apiFile.writeText(cleanedUp, UTF_8) in <lambda>()
141 reporter.report(Errors.IO_ERROR, apiFile, "Cannot open file for write.") in <lambda>()
DApiType.kt33 return options.apiFile in <lambda>()
DOptions.kt373 var apiFile: File? = null in <lambda>() variable in com.android.tools.metalava.Options
700 ARG_API, "-api" -> apiFile = stringToNewFile(getValue(args, ++index)) in <lambda>()
1460 apiFile = null in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/
DAnnotationsDifferTest.kt59 val apiFile = temporaryFolder.newFile("diff.txt") in Write diff() constant
62 AnnotationsDiffer(codebase, codebase2).writeDiffSignature(apiFile) in Write diff()
63 assertTrue(apiFile.exists()) in Write diff()
64 val actual = apiFile.readText(UTF_8) in Write diff()
DDriverTest.kt730 var apiFile: File? = null in <lambda>() variable
732 apiFile = temporaryFolder.newFile("public-api.txt") in <lambda>()
733 arrayOf(ARG_API, apiFile.path) in <lambda>()
1066 if (api != null && apiFile != null) { in <lambda>()
1067 … assertTrue("${apiFile.path} does not exist even though --api was used", apiFile.exists()) in <lambda>()
1068 val actualText = readFile(apiFile, stripBlankLines, trim) in <lambda>()
1071 ApiFile.parseApi(apiFile, options.outputKotlinStyleNulls) in <lambda>()
1349 api != null && apiFile != null in <lambda>()
1351 apiFile.delete() in <lambda>()
1355 output = apiFile, in <lambda>()
[all …]