Home
last modified time | relevance | path

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

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/annotationitem/
DCommonAnnotationItemTest.kt77 val anno = testClass.modifiers.annotations().single() in annotation with annotation values() constant
79 val other = anno.getAttributeValue<AnnotationItem>("annotationValue")!! in annotation with annotation values()
83 val otherAsList = anno.getAttributeValues<AnnotationItem>("annotationValue") in annotation with annotation values()
86 val others = anno.getAttributeValues<AnnotationItem>("annotationArrayValue")!! in annotation with annotation values()
136 val anno = testClass.modifiers.annotations().single() in annotation with boolean values() constant
138 anno.assertAttributeValue("booleanValue", true) in annotation with boolean values()
139 anno.assertAttributeValues("booleanValue", listOf(true)) in annotation with boolean values()
140 anno.assertAttributeValues("booleanArrayValue", listOf(true, false)) in annotation with boolean values()
186 val anno = testClass.modifiers.annotations().single() in annotation with char values() constant
188 anno.assertAttributeValue("charValue", 'a') in annotation with char values()
[all …]
/tools/tradefederation/core/lite/com/android/tradefed/lite/
DHostUtils.java236 .map(anno -> anno.toString()) in hasJUnitAnnotation()