Searched refs:apiLevel (Results 1 – 7 of 7) sorted by relevance
/tools/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | AndroidJarReader.java | 74 for (int apiLevel = 1; apiLevel < mApiLevels.length; apiLevel++) { in getApi() 75 File jar = getAndroidJarFile(apiLevel); in getApi() 76 readJar(api, apiLevel, jar); in getApi() 79 int apiLevel = mCodebase.getApiLevel(); in getApi() local 80 if (apiLevel != -1) { in getApi() 81 processCodebase(api, apiLevel); in getApi() 87 int apiLevel = mMinApi - 1; in getApi() local 89 apiLevel++; in getApi() 91 if (apiLevel == mCurrentApi) { in getApi() 95 jar = getAndroidJarFile(apiLevel); in getApi() [all …]
|
D | AddApisFromCodebase.kt | 26 fun addApisFromCodebase(api: Api, apiLevel: Int, codebase: Codebase) { in addApisFromCodebase() 39 val newClass = api.addClass(cls.internalName(), apiLevel, cls.deprecated) in addApisFromCodebase() 55 val since = removed?.since ?: apiLevel in addApisFromCodebase() 58 entry.update(apiLevel) in addApisFromCodebase() 78 newClass.addSuperClass(filteredSuperClass.internalName(), apiLevel) in addApisFromCodebase() 81 newClass.addSuperClass(superClass.internalName(), apiLevel) in addApisFromCodebase() 86 newClass.addInterface(superClass.internalName(), apiLevel) in addApisFromCodebase() 91 newClass.addSuperClass("java/lang/Enum", apiLevel) in addApisFromCodebase() 95 … newClass.addMethod("valueOf(Ljava/lang/String;)L" + newClass.name + ";", apiLevel, false) in addApisFromCodebase() 96 newClass.addMethod("values()[L" + newClass.name + ";", apiLevel, false) in addApisFromCodebase() [all …]
|
/tools/metalava/src/test/java/com/android/tools/metalava/ |
D | CompatibilityCheckTest.kt | 3299 for (apiLevel in 5..27) { in Test All Android API levels() constant 3300 if (!expected.containsKey(apiLevel)) { in Test All Android API levels() 3303 println("Checking compatibility from API level ${apiLevel - 1} to $apiLevel...") in Test All Android API levels() 3304 val current = getAndroidJar(apiLevel) in Test All Android API levels() 3310 val previous = getAndroidJar(apiLevel - 1) in Test All Android API levels() 3323 suppressLevels[apiLevel] in Test All Android API levels() 3325 … (if ((apiLevel == 19 || apiLevel == 20) && loadPrevAsSignature) ",ChangedType" else "") in Test All Android API levels() 3328 expectedIssues = expected[apiLevel]?.trimIndent() ?: "", in Test All Android API levels() 3334 if (apiLevel >= 21) { in Test All Android API levels() 3349 suppressLevels[apiLevel] in Test All Android API levels() [all …]
|
D | DriverTest.kt | 1519 fun getAndroidJar(apiLevel: Int): File? { in <lambda>() 1520 val localFile = File("../../prebuilts/sdk/$apiLevel/public/android.jar") in <lambda>() 1524 val androidJar = File("../../prebuilts/sdk/$apiLevel/android.jar") in <lambda>()
|
/tools/metalava/src/main/java/com/android/tools/metalava/ |
D | Options.kt | 1901 var apiLevel = minApi - 1 in <lambda>() variable 1903 apiLevel++ in <lambda>() 1906 if (apiLevel == currentApiLevel) { in <lambda>() 1910 jar = getAndroidJarFile(apiLevel, androidJarPatterns) in <lambda>() 1917 if (apiLevel < 28) { in <lambda>() 1925 … throw DriverException(stderr = "Could not find android.jar for API level $apiLevel; the " + in <lambda>() 1932 stdout.println("Found API $apiLevel at ${jar.path}") in <lambda>() 1943 private fun getAndroidJarFile(apiLevel: Int, patterns: List<String>): File? { in <lambda>() 1946 .map { fileForPathInner(it.replace("%", apiLevel.toString())) } in <lambda>()
|
D | Driver.kt | 914 codebase.apiLevel = currentApiLevel in parseSources()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | Codebase.kt | 61 var apiLevel: Int in <lambda>() variable 272 override var apiLevel: Int = -1 variable in com.android.tools.metalava.model.DefaultCodebase
|