Home
last modified time | relevance | path

Searched defs:annotation (Results 1 – 25 of 38) sorted by relevance

12

/tools/metalava/src/test/java/com/android/tools/metalava/model/
DTextBackedAnnotationItemTest.kt40 val annotation = TextBackedAnnotationItem( in supportsDocumentation() constant
51 val annotation = TextBackedAnnotationItem( in testIntRange() constant
66 val annotation = TextBackedAnnotationItem( in testIntDef() constant
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DUnsupportedAppUsageProcessor.java81 protected void process(TypeElement annotation, in process()
141 private String getAnnotationIndex(String signature, TypeElement annotation, Element element) { in getAnnotationIndex()
163 private String getSourcePositionOverride(Element element, AnnotationMirror annotation) { in getSourcePositionOverride()
181 private boolean hasElement(AnnotationMirror annotation, String elementName) { in hasElement()
186 private String getAllProperties(AnnotationMirror annotation) { in getAllProperties()
197 private String getAnnotationElementValue(AnnotationMirror annotation, in getAnnotationElementValue()
DSignatureConverter.java67 String getSignature(Types types, TypeElement annotation, Element element) { in getSignature()
216 TypeElement annotation) throws SignatureConverterException { in verifyExpectedSignature()
/tools/platform-compat/java/android/processor/compat/
DSingleAnnotationProcessor.java86 TypeElement annotation = Iterables.getOnlyElement(annotations); in process() local
121 protected abstract void process(TypeElement annotation, in process()
135 protected final AnnotationMirror getSupportedAnnotationMirror(TypeElement annotation, in getSupportedAnnotationMirror()
172 Element element, AnnotationMirror annotation, String propertyName) { in getAnnotationValue()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiParameterItem.kt58 val annotation = modifiers.annotations().firstOrNull { it.isParameterName() } in name() constant
154 val annotation = modifiers.annotations().firstOrNull { it.isDefaultValue() } in computeDefaultValue() constant
DPsiTypePrinter.kt374 for (annotation in elementAnnotations) { in <lambda>() method
385 for (annotation in list) { in <lambda>() method
399 for (annotation in elementAnnotations) { in <lambda>() method
410 for (annotation in list) { in <lambda>() method
514 for (annotation in annotations) { in <lambda>() variable
523 for (annotation in elementAnnotations) { in <lambda>() constant
/tools/metalava/src/main/java/com/android/tools/metalava/
DExtractAnnotations.kt131 for ((item, annotation) in pairs) { in <lambda>() variable
191 for (annotation in item.modifiers.annotations()) { in <lambda>() method
338 val annotation = JavaUAnnotation.wrap(psiAnnotation) in <lambda>() constant
542 val annotation = expression as UAnnotation in <lambda>() constant
545 val annotation = expression.uAnnotation in <lambda>() constant
550 val annotation = JavaUAnnotation.wrap(memberValue) in <lambda>() constant
DAndroidApiChecks.kt178 … val annotation = method.modifiers.findAnnotation("android.support.annotation.RequiresPermission") in checkRequiresPermission() constant
260 for (annotation in item.modifiers.annotations()) { in checkVariable() variable
DConvertJarsToSignatureFiles.kt82 val annotation = NullnessMigration.findNullnessAnnotation(new) ?: return in <lambda>() constant
DSdkFileWriter.kt79 for (annotation in annotations) { in generate() constant
101 for (annotation in annotations) { in generate() constant
DKotlinInteropChecks.kt101 val annotation = method.modifiers.findAnnotation("kotlin.jvm.Throws") in <lambda>() constant
DApiAnalyzer.kt691 val annotation = method.modifiers.findAnnotation(ANDROID_REQUIRES_PERMISSION) in <lambda>() constant
800 val annotationName = (item.modifiers.annotations().firstOrNull { annotation -> in <lambda>() method
869 val annotation = method.modifiers.annotations().find { it.isNullable() } in <lambda>() constant
DAnnotationsDiffer.kt84 for (annotation in old.modifiers.annotations()) { in <lambda>() constant
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DITestAnnotationFilterReceiver.java31 void addIncludeAnnotation(String annotation); in addIncludeAnnotation()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/params/
DInstantAppHandlerTest.java57 public void addIncludeAnnotation(String annotation) { in addIncludeAnnotation()
/tools/dexter/slicer/
Dcode_ir.cc129 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_SET_FILE); in DissasembleDebugInfo() local
138 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_ADVANCE_LINE); in DissasembleDebugInfo() local
148 DbgInfoAnnotation* annotation = nullptr; in DissasembleDebugInfo() local
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt840 for (annotation in extraAnnotations) { in <lambda>() constant
847 for (annotation in annotations) { in <lambda>() constant
892 for (annotation in uastAnnotations) { in <lambda>() constant
895 for (annotation in psiAnnotations) { in <lambda>() constant
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DModifierList.kt145 return annotations().any { annotation -> in <lambda>() method
165 return annotations().any { annotation -> in <lambda>() method
519 for (annotation in annotations) { in <lambda>() variable
DItem.kt250 val annotation = findNullnessAnnotation(this) ?: return in psi() constant
/tools/platform-compat/java/android/processor/compat/changeid/
DChangeIdProcessor.java79 protected void process(TypeElement annotation, in process()
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/
DAsn1DerEncoder.java219 Asn1Field annotation = field.getDeclaredAnnotation(Asn1Field.class); in getAnnotatedFields() local
358 public AnnotatedField(Object obj, Field field, Asn1Field annotation) in AnnotatedField()
DAsn1BerParser.java360 public AnnotatedField(Field field, Asn1Field annotation) throws Asn1DecodingException { in AnnotatedField()
534 Asn1Field annotation = field.getDeclaredAnnotation(Asn1Field.class); in getAnnotatedFields() local
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DDeviceTestCase.java255 public void addIncludeAnnotation(String annotation) { in addIncludeAnnotation()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DTestSuiteStub.java259 public void addIncludeAnnotation(String annotation) { in addIncludeAnnotation()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java93 public void addIncludeAnnotation(String annotation) { in addIncludeAnnotation()

12