Searched refs:apiLookup (Results 1 – 5 of 5) sorted by relevance
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/apilevels/ |
D | ExtractSystemApiLevelsTest.kt | 144 val apiLookup = getApiLookup(output) in Extract System API() constant 145 @Suppress("DEPRECATION") apiLookup.getClassVersion("android.v") in Extract System API() 151 apiLookup.getFieldVersion("android.Manifest\$permission", "AUTHENTICATE_ACCOUNTS") in Extract System API() 156 apiLookup.getMethodVersion("android/icu/util/CopticCalendar", "computeTime", "()") in Extract System API() 161 assertTrue(apiLookup.containsClass("android/app/role/RoleManager")) in Extract System API() 193 assertEquals(30, apiLookup.getClassVersions("android/os/ext/SdkExtensions").minApiLevel()) in Extract System API() 196 apiLookup in Extract System API() 202 apiLookup in Extract System API()
|
D | ExtractPublicApiLevelsTest.kt | 82 val apiLookup = getApiLookup(output, temporaryFolder.newFolder()) in Extract API levels() constant 87 assertEquals(nextVersion, apiLookup.getClassVersion("android.pkg.MyTest")) in Extract API levels() 89 @Suppress("DEPRECATION") apiLookup.getClassVersion("android.v") in Extract API levels() 93 apiLookup.getFieldVersion("android.Manifest\$permission", "AUTHENTICATE_ACCOUNTS") in Extract API levels() 98 apiLookup.getMethodVersion("android/icu/util/CopticCalendar", "computeTime", "()") in Extract API levels()
|
D | CorrectApiLevelForReleaseTest.kt | 68 val apiLookup = getApiLookup(output, temporaryFolder.newFolder()) in Correct API Level for release() constant 70 assertEquals(MAGIC_VERSION_INT, apiLookup.getClassVersion("android.pkg.MyTest")) in Correct API Level for release()
|
D | CorrectApiLevelForNonReleaseTest.kt | 69 val apiLookup = getApiLookup(output, temporaryFolder.newFolder()) in Correct API Level for non-release() constant 71 assertEquals(nextVersion, apiLookup.getClassVersion("android.pkg.MyTest")) in Correct API Level for non-release()
|
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/doc/ |
D | DocAnalyzer.kt | 696 val apiLookup = in <lambda>() constant 717 addApiLevelDocumentation(apiLookup.getMethodVersion(method), method) in <lambda>() 721 addDeprecatedDocumentation(apiLookup.getMethodDeprecatedIn(method), method) in <lambda>() 726 val since = apiLookup.getClassVersion(cls) in <lambda>() 738 addDeprecatedDocumentation(apiLookup.getClassDeprecatedIn(cls), cls) in <lambda>() 742 addApiLevelDocumentation(apiLookup.getFieldVersion(field), field) in <lambda>() 746 addDeprecatedDocumentation(apiLookup.getFieldDeprecatedIn(field), field) in <lambda>()
|