Home
last modified time | relevance | path

Searched refs:apiText (Results 1 – 2 of 2) sorted by relevance

/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DApiFile.java89 final String apiText; in parseApi() local
91 apiText = Files.asCharSource(file, UTF_8).read(); in parseApi()
95 parseApiSingleFile(api, !first, file.getPath(), apiText, kotlinStyleNulls); in parseApi()
105 public static TextCodebase parseApi(@Nonnull String filename, @Nonnull String apiText, in parseApi() argument
107 return parseApi(filename, apiText, kotlinStyleNulls != null && kotlinStyleNulls); in parseApi()
114 public static TextCodebase parseApi(@Nonnull String filename, @Nonnull String apiText, in parseApi() argument
118 parseApiSingleFile(api, false, filename, apiText, kotlinStyleNulls); in parseApi()
123 …tatic void parseApiSingleFile(TextCodebase api, boolean appending, String filename, String apiText, in parseApiSingleFile() argument
126 FileFormat format = FileFormat.Companion.parseHeader(apiText); in parseApiSingleFile()
140 if (StringsKt.isBlank(apiText)) { in parseApiSingleFile()
[all …]
/tools/metalava/src/test/java/com/android/tools/metalava/
DDriverTest.kt1540 var apiText = apiLines.joinToString(separator = "\n") { it } in <lambda>() variable
1542 apiText = apiText.trim() in <lambda>()
1544 return apiText in <lambda>()