Home
last modified time | relevance | path

Searched refs:ApiType (Results 1 – 10 of 10) sorted by relevance

/tools/metalava/metalava/src/test/java/com/android/tools/metalava/compatibility/
DFastPathTest.kt21 import com.android.tools.metalava.ApiType
82 apiType: ApiType = ApiType.PUBLIC_API, in checkFastPath()
102 ApiType.PUBLIC_API -> in checkFastPath()
109 ApiType.REMOVED -> 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/main/java/com/android/tools/metalava/cli/compatibility/
DCompatibilityCheckOptions.kt19 import com.android.tools.metalava.ApiType in <lambda>()
94 .map { CheckRequest.optionalCheckRequest(it, ApiType.PUBLIC_API) } in <lambda>()
113 .map { CheckRequest.optionalCheckRequest(it, ApiType.REMOVED) } in <lambda>()
162 val apiType: ApiType, in <lambda>()
169 internal fun optionalCheckRequest(files: List<File>, apiType: ApiType) = in <lambda>()
179 if (apiType == ApiType.REMOVED && previouslyReleasedApi is JarBasedApi) { in <lambda>()
187 private fun checkCompatibilityOptionForApiType(apiType: ApiType) = in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/cli/compatibility/
DCompatibilityCheckOptionsTest.kt19 import com.android.tools.metalava.ApiType
90 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/cli/signature/
DSignatureToDexCommand.kt19 import com.android.tools.metalava.ApiType in <lambda>()
62 val apiType = ApiType.ALL in <lambda>()
DSignatureToJDiffCommand.kt19 import com.android.tools.metalava.ApiType in <lambda>()
142 val apiType = ApiType.ALL in <lambda>()
232 ApiType.ALL.getReferenceFilter(apiVisitorConfig.apiPredicateConfig) in computeDelta()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DDriver.kt272 val apiType = ApiType.PUBLIC_API in processFlags()
300 val apiType = ApiType.PUBLIC_API in processFlags()
318 val apiType = ApiType.REMOVED in processFlags()
460 ApiType.ALL.getReferenceFilter(options.apiPredicateConfig) in subtractApi()
477 ApiType.PUBLIC_API -> options.apiFile in checkCompatibility()
478 ApiType.REMOVED -> options.removedApiFile in checkCompatibility()
509 if (options.showUnannotated && apiType == ApiType.PUBLIC_API) { in checkCompatibility()
DJarToJDiffCommand.kt78 val apiType = ApiType.PUBLIC_API in <lambda>()
DApiType.kt23 enum class ApiType(val flagName: String, val displayName: String = flagName) { class
DConvertJarsToSignatureFiles.kt80 val apiEmit = ApiType.PUBLIC_API.getEmitFilter(apiPredicateConfig) in <lambda>()
81 val apiReference = ApiType.PUBLIC_API.getReferenceFilter(apiPredicateConfig) in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/compatibility/
DCompatibilityCheck.kt21 import com.android.tools.metalava.ApiType
55 private val apiType: ApiType,
800 if (apiType == ApiType.REMOVED) { in handleAdded()
993 apiType: ApiType, in checkCompatibility()
1002 .or(ApiType.PUBLIC_API.getReferenceFilter(options.apiPredicateConfig)) in checkCompatibility()
1003 .or(ApiType.PUBLIC_API.getEmitFilter(options.apiPredicateConfig)) in checkCompatibility()
1014 if (options.showUnannotated && apiType == ApiType.PUBLIC_API) { in checkCompatibility()