Home
last modified time | relevance | path

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

/tools/metalava/src/test/java/com/android/tools/metalava/apilevels/
DApiGeneratorTest.kt95 val apiLookup = getApiLookup(output, temporaryFolder.newFolder()) in Extract API levels() constant
99 assertEquals(90, apiLookup.getClassVersion("android.pkg.MyTest")) in Extract API levels()
101 apiLookup.getClassVersion("android.v") in Extract API levels()
102 …assertEquals(5, apiLookup.getFieldVersion("android.Manifest\$permission", "AUTHENTICATE_ACCOUNTS")) in Extract API levels()
104 …val methodVersion = apiLookup.getMethodVersion("android/icu/util/CopticCalendar", "computeTime", "… in Extract API levels()
143 val apiLookup = getApiLookup(output) in Extract System API() constant
144 apiLookup.getClassVersion("android.v") in Extract System API()
147 …assertEquals(21, apiLookup.getFieldVersion("android.Manifest\$permission", "AUTHENTICATE_ACCOUNTS"… in Extract System API()
149 …val methodVersion = apiLookup.getMethodVersion("android/icu/util/CopticCalendar", "computeTime", "… in Extract System API()
204 val apiLookup = getApiLookup(output, temporaryFolder.newFolder()) in Correct API Level for release() constant
[all …]
/tools/metalava/src/main/java/com/android/tools/metalava/
DDocAnalyzer.kt661 val apiLookup = getApiLookup(applyApiLevelsXml) in <lambda>() constant
667 addApiLevelDocumentation(apiLookup.getMethodVersion(psiMethod), method) in <lambda>()
668 addDeprecatedDocumentation(apiLookup.getMethodDeprecatedIn(psiMethod), method) in <lambda>()
673 val since = apiLookup.getClassVersion(psiClass) in <lambda>()
681 addDeprecatedDocumentation(apiLookup.getClassDeprecatedIn(psiClass), cls) in <lambda>()
686 addApiLevelDocumentation(apiLookup.getFieldVersion(psiField), field) in <lambda>()
687 addDeprecatedDocumentation(apiLookup.getFieldDeprecatedIn(psiField), field) in <lambda>()