Home
last modified time | relevance | path

Searched refs:apiType (Results 1 – 8 of 8) sorted by relevance

/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/compatibility/
DCompatibilityCheckOptions.kt162 val apiType: ApiType, in <lambda>() constant in CheckRequest
169 internal fun optionalCheckRequest(files: List<File>, apiType: ApiType) = in <lambda>()
171 checkCompatibilityOptionForApiType(apiType), in <lambda>()
179 if (apiType == ApiType.REMOVED && previouslyReleasedApi is JarBasedApi) { in <lambda>()
184 CheckRequest(previouslyReleasedApi, apiType) in <lambda>()
187 private fun checkCompatibilityOptionForApiType(apiType: ApiType) = in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/compatibility/
DFastPathTest.kt82 apiType: ApiType = ApiType.PUBLIC_API, in checkFastPath()
101 when (apiType) { in checkFastPath()
116 else -> error("unsupported $apiType") in checkFastPath()
162 apiType = ApiType.REMOVED, in Check fast path taken for removed()
172 apiType = ApiType.REMOVED, in Check fast path not taken for removed()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/compatibility/
DCompatibilityCheckOptionsTest.kt90 apiType = ApiType.PUBLIC_API, in createOptions()
117 apiType = ApiType.PUBLIC_API, in check compatibility api released multiple files()
134 apiType = ApiType.REMOVED, in check compatibility removed api released()
156 apiType = ApiType.PUBLIC_API, in fakeJar()
212 apiType = ApiType.PUBLIC_API, in check compatibility api released jar is not supported for --revert-annotation()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DDriver.kt272 val apiType = ApiType.PUBLIC_API in processFlags() constant
273 val apiEmit = apiType.getEmitFilter(options.apiPredicateConfig) in processFlags()
274 val apiReference = apiType.getReferenceFilter(options.apiPredicateConfig) in processFlags()
300 val apiType = ApiType.PUBLIC_API in processFlags() constant
301 val apiEmit = apiType.getEmitFilter(options.apiPredicateConfig) in processFlags()
302 val apiReference = apiType.getReferenceFilter(options.apiPredicateConfig) in processFlags()
318 val apiType = ApiType.REMOVED in processFlags() constant
319 val removedEmit = apiType.getEmitFilter(options.apiPredicateConfig) in processFlags()
320 val removedReference = apiType.getReferenceFilter(options.apiPredicateConfig) in processFlags()
474 val apiType = check.apiType in checkCompatibility() constant
[all …]
DJarToJDiffCommand.kt78 val apiType = ApiType.PUBLIC_API in <lambda>() constant
80 val apiEmit = apiType.getEmitFilter(apiPredicateConfig) in <lambda>()
81 val apiReference = apiType.getReferenceFilter(apiPredicateConfig) in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/signature/
DSignatureToDexCommand.kt62 val apiType = ApiType.ALL in <lambda>() constant
63 val apiEmit = apiType.getEmitFilter(apiPredicateConfig) in <lambda>()
64 val apiReference = apiType.getReferenceFilter(apiPredicateConfig) in <lambda>()
DSignatureToJDiffCommand.kt142 val apiType = ApiType.ALL in <lambda>() constant
143 val apiEmit = apiType.getEmitFilter(apiPredicateConfig) in <lambda>()
146 if (strip) apiType.getEmitFilter(apiPredicateConfig) in <lambda>()
147 else apiType.getReferenceFilter(apiPredicateConfig) in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt55 private val apiType: ApiType, constant in com.android.tools.metalava.compatibility.CompatibilityCheck
800 if (apiType == ApiType.REMOVED) { in handleAdded()
993 apiType: ApiType, in checkCompatibility()
999 apiType in checkCompatibility()
1001 .or(apiType.getEmitFilter(options.apiPredicateConfig)) in checkCompatibility()
1008 apiType, in checkCompatibility()
1014 if (options.showUnannotated && apiType == ApiType.PUBLIC_API) { in checkCompatibility()