Home
last modified time | relevance | path

Searched refs:getExtensions (Results 1 – 3 of 3) sorted by relevance

/tools/metalava/metalava/src/test/java/com/android/tools/metalava/apilevels/
DApiToExtensionsMapTest.kt41 assertTrue(map.getExtensions("com.foo.Bar").isEmpty()) in empty input()
58 assertEquals(map.getExtensions("com.foo.Bar"), listOf("A")) in wildcard()
59 assertEquals(map.getExtensions("com.foo.SomeOtherBar"), listOf("A")) in wildcard()
77 assertEquals(map.getExtensions("com.foo.Bar"), listOf("A")) in single class()
78 assertEquals(map.getExtensions("com.foo.Bar#FIELD"), listOf("A")) in single class()
79 assertEquals(map.getExtensions("com.foo.Bar#method"), listOf("A")) in single class()
80 assertEquals(map.getExtensions("com.foo.Bar\$Inner"), listOf("A")) in single class()
81 assertEquals(map.getExtensions("com.foo.Bar\$Inner\$InnerInner"), listOf("A")) in single class()
85 assertEquals(map.getExtensions(clazz), listOf("A")) in single class()
86 assertEquals(map.getExtensions(clazz, method), listOf("A")) in single class()
[all …]
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/
DApiToExtensionsMap.kt55 fun getExtensions(clazz: ApiClass): List<String> = getExtensions(clazz.name.toDotNotation()) in isEmpty() method
57 fun getExtensions(clazz: ApiClass, member: ApiElement): List<String> = in isEmpty() method in com.android.tools.metalava.apilevels.ApiToExtensionsMap
58 getExtensions(clazz.name.toDotNotation() + "#" + member.name.toDotNotation()) in isEmpty()
60 fun getExtensions(what: String): List<String> { in isEmpty() method
DApiGenerator.kt189 extensionsMap.getExtensions(clazz), in <lambda>()
200 extensionsMap.getExtensions(clazz, field), in <lambda>()
212 extensionsMap.getExtensions(clazz, method), in <lambda>()