/tools/dexter/slicer/ |
D | code_ir.cc | 129 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_SET_FILE); in DissasembleDebugInfo() local 130 annotation->offset = 0; in DissasembleDebugInfo() 131 annotation->operands.push_back(Alloc<String>( in DissasembleDebugInfo() 133 dbg_annotations_.push_back(annotation); in DissasembleDebugInfo() 138 auto annotation = Alloc<DbgInfoAnnotation>(dex::DBG_ADVANCE_LINE); in DissasembleDebugInfo() local 139 annotation->offset = 0; in DissasembleDebugInfo() 140 annotation->operands.push_back(Alloc<LineNumber>(line)); in DissasembleDebugInfo() 141 dbg_annotations_.push_back(annotation); in DissasembleDebugInfo() 148 DbgInfoAnnotation* annotation = nullptr; in DissasembleDebugInfo() local 163 annotation = Alloc<DbgInfoAnnotation>(opcode); in DissasembleDebugInfo() [all …]
|
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/ |
D | UnsupportedAppUsageProcessor.java | 37 import javax.annotation.Nullable; 38 import javax.annotation.processing.SupportedAnnotationTypes; 39 import javax.annotation.processing.SupportedSourceVersion; 81 protected void process(TypeElement annotation, in process() argument 91 types, annotation, annotatedElement); in process() 93 String annotationIndex = getAnnotationIndex(signature, annotation, in process() 141 private String getAnnotationIndex(String signature, TypeElement annotation, Element element) { in getAnnotationIndex() argument 142 AnnotationMirror annotationMirror = getSupportedAnnotationMirror(annotation, element); in getAnnotationIndex() 163 private String getSourcePositionOverride(Element element, AnnotationMirror annotation) { in getSourcePositionOverride() argument 165 getAnnotationValue(element, annotation, OVERRIDE_SOURCE_POSITION_PROPERTY); in getSourcePositionOverride() [all …]
|
/tools/platform-compat/java/android/processor/compat/ |
D | SingleAnnotationProcessor.java | 34 import javax.annotation.Nullable; 35 import javax.annotation.processing.AbstractProcessor; 36 import javax.annotation.processing.Messager; 37 import javax.annotation.processing.ProcessingEnvironment; 38 import javax.annotation.processing.RoundEnvironment; 86 TypeElement annotation = Iterables.getOnlyElement(annotations); in process() local 88 Preconditions.checkState(supportedAnnotation.equals(annotation.toString())); in process() 91 for (Element annotatedElement : roundEnvironment.getElementsAnnotatedWith(annotation)) { in process() 93 getSupportedAnnotationMirror(annotation, annotatedElement); in process() 109 process(annotation, annotatedElements); in process() [all …]
|
/tools/apksig/src/main/java/com/android/apksig/internal/asn1/ |
D | Asn1DerEncoder.java | 219 Asn1Field annotation = field.getDeclaredAnnotation(Asn1Field.class); in getAnnotatedFields() local 220 if (annotation == null) { in getAnnotatedFields() 231 annotatedField = new AnnotatedField(container, field, annotation); in getAnnotatedFields() 358 public AnnotatedField(Object obj, Field field, Asn1Field annotation) in AnnotatedField() argument 362 mAnnotation = annotation; in AnnotatedField() 363 mDataType = annotation.type(); in AnnotatedField() 364 mElementDataType = annotation.elementType(); in AnnotatedField() 366 Asn1TagClass tagClass = annotation.cls(); in AnnotatedField() 368 if (annotation.tagNumber() != -1) { in AnnotatedField() 378 if (annotation.tagNumber() != -1) { in AnnotatedField() [all …]
|
D | Asn1BerParser.java | 360 public AnnotatedField(Field field, Asn1Field annotation) throws Asn1DecodingException { in AnnotatedField() argument 362 mAnnotation = annotation; in AnnotatedField() 363 mDataType = annotation.type(); in AnnotatedField() 365 Asn1TagClass tagClass = annotation.cls(); in AnnotatedField() 367 if (annotation.tagNumber() != -1) { in AnnotatedField() 377 if (annotation.tagNumber() != -1) { in AnnotatedField() 378 tagNumber = annotation.tagNumber(); in AnnotatedField() 386 mTagging = annotation.tagging(); in AnnotatedField() 388 && (annotation.tagNumber() == -1)) { in AnnotatedField() 393 mOptional = annotation.optional(); in AnnotatedField() [all …]
|
/tools/metalava/stub-annotations/src/main/java/androidx/annotation/ |
D | NonNull.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.FIELD; 19 import static java.lang.annotation.ElementType.METHOD; 20 import static java.lang.annotation.ElementType.PARAMETER; 21 import static java.lang.annotation.ElementType.PACKAGE; 22 import static java.lang.annotation.ElementType.TYPE_PARAMETER; 23 import static java.lang.annotation.ElementType.TYPE_USE; 24 import static java.lang.annotation.RetentionPolicy.CLASS; 26 import java.lang.annotation.Retention; 27 import java.lang.annotation.Target;
|
D | Nullable.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.FIELD; 19 import static java.lang.annotation.ElementType.METHOD; 20 import static java.lang.annotation.ElementType.PACKAGE; 21 import static java.lang.annotation.ElementType.PARAMETER; 22 import static java.lang.annotation.ElementType.TYPE_PARAMETER; 23 import static java.lang.annotation.ElementType.TYPE_USE; 24 import static java.lang.annotation.RetentionPolicy.CLASS; 26 import java.lang.annotation.Retention; 27 import java.lang.annotation.Target;
|
D | RestrictTo.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE; 19 import static java.lang.annotation.ElementType.CONSTRUCTOR; 20 import static java.lang.annotation.ElementType.FIELD; 21 import static java.lang.annotation.ElementType.METHOD; 22 import static java.lang.annotation.ElementType.PACKAGE; 23 import static java.lang.annotation.ElementType.TYPE; 24 import static java.lang.annotation.RetentionPolicy.CLASS; 26 import java.lang.annotation.Retention; 27 import java.lang.annotation.Target;
|
D | IntRange.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE; 19 import static java.lang.annotation.ElementType.FIELD; 20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 21 import static java.lang.annotation.ElementType.METHOD; 22 import static java.lang.annotation.ElementType.PARAMETER; 23 import static java.lang.annotation.RetentionPolicy.CLASS; 25 import java.lang.annotation.Retention; 26 import java.lang.annotation.Target;
|
D | Dimension.java | 17 package androidx.annotation; 19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE; 20 import static java.lang.annotation.ElementType.FIELD; 21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 22 import static java.lang.annotation.ElementType.METHOD; 23 import static java.lang.annotation.ElementType.PARAMETER; 24 import static java.lang.annotation.RetentionPolicy.CLASS; 26 import java.lang.annotation.Retention; 27 import java.lang.annotation.Target;
|
D | Size.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE; 19 import static java.lang.annotation.ElementType.FIELD; 20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 21 import static java.lang.annotation.ElementType.METHOD; 22 import static java.lang.annotation.ElementType.PARAMETER; 23 import static java.lang.annotation.RetentionPolicy.CLASS; 25 import java.lang.annotation.Retention; 26 import java.lang.annotation.Target;
|
D | FloatRange.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE; 19 import static java.lang.annotation.ElementType.FIELD; 20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 21 import static java.lang.annotation.ElementType.METHOD; 22 import static java.lang.annotation.ElementType.PARAMETER; 23 import static java.lang.annotation.RetentionPolicy.CLASS; 25 import java.lang.annotation.Retention; 26 import java.lang.annotation.Target;
|
D | RequiresPermission.java | 16 package androidx.annotation; 18 import java.lang.annotation.Retention; 19 import java.lang.annotation.Target; 21 import static java.lang.annotation.ElementType.ANNOTATION_TYPE; 22 import static java.lang.annotation.ElementType.CONSTRUCTOR; 23 import static java.lang.annotation.ElementType.FIELD; 24 import static java.lang.annotation.ElementType.METHOD; 25 import static java.lang.annotation.ElementType.PARAMETER; 26 import static java.lang.annotation.RetentionPolicy.CLASS;
|
D | LayoutRes.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.FIELD; 19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 20 import static java.lang.annotation.ElementType.METHOD; 21 import static java.lang.annotation.ElementType.PARAMETER; 22 import static java.lang.annotation.RetentionPolicy.CLASS; 24 import java.lang.annotation.Retention; 25 import java.lang.annotation.Target;
|
D | RecentlyNonNull.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.FIELD; 19 import static java.lang.annotation.ElementType.METHOD; 20 import static java.lang.annotation.ElementType.PARAMETER; 21 import static java.lang.annotation.ElementType.TYPE_USE; 22 import static java.lang.annotation.RetentionPolicy.CLASS; 24 import java.lang.annotation.Retention; 25 import java.lang.annotation.Target;
|
D | ColorInt.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.FIELD; 19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 20 import static java.lang.annotation.ElementType.METHOD; 21 import static java.lang.annotation.ElementType.PARAMETER; 22 import static java.lang.annotation.RetentionPolicy.CLASS; 24 import java.lang.annotation.Retention; 25 import java.lang.annotation.Target;
|
D | HalfFloat.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.FIELD; 19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 20 import static java.lang.annotation.ElementType.METHOD; 21 import static java.lang.annotation.ElementType.PARAMETER; 22 import static java.lang.annotation.RetentionPolicy.CLASS; 24 import java.lang.annotation.Retention; 25 import java.lang.annotation.Target;
|
D | IdRes.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.FIELD; 19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 20 import static java.lang.annotation.ElementType.METHOD; 21 import static java.lang.annotation.ElementType.PARAMETER; 22 import static java.lang.annotation.RetentionPolicy.CLASS; 24 import java.lang.annotation.Retention; 25 import java.lang.annotation.Target;
|
D | AnyThread.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.CONSTRUCTOR; 19 import static java.lang.annotation.ElementType.METHOD; 20 import static java.lang.annotation.ElementType.PARAMETER; 21 import static java.lang.annotation.ElementType.TYPE; 22 import static java.lang.annotation.RetentionPolicy.CLASS; 24 import java.lang.annotation.Retention; 25 import java.lang.annotation.Target;
|
D | StyleRes.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.FIELD; 19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 20 import static java.lang.annotation.ElementType.METHOD; 21 import static java.lang.annotation.ElementType.PARAMETER; 22 import static java.lang.annotation.RetentionPolicy.CLASS; 24 import java.lang.annotation.Retention; 25 import java.lang.annotation.Target;
|
D | ColorLong.java | 17 package androidx.annotation; 19 import static java.lang.annotation.ElementType.FIELD; 20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 21 import static java.lang.annotation.ElementType.METHOD; 22 import static java.lang.annotation.ElementType.PARAMETER; 23 import static java.lang.annotation.RetentionPolicy.CLASS; 25 import java.lang.annotation.Retention; 26 import java.lang.annotation.Target;
|
D | DrawableRes.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.FIELD; 19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 20 import static java.lang.annotation.ElementType.METHOD; 21 import static java.lang.annotation.ElementType.PARAMETER; 22 import static java.lang.annotation.RetentionPolicy.CLASS; 24 import java.lang.annotation.Retention; 25 import java.lang.annotation.Target;
|
D | RawRes.java | 16 package androidx.annotation; 18 import static java.lang.annotation.ElementType.FIELD; 19 import static java.lang.annotation.ElementType.LOCAL_VARIABLE; 20 import static java.lang.annotation.ElementType.METHOD; 21 import static java.lang.annotation.ElementType.PARAMETER; 22 import static java.lang.annotation.RetentionPolicy.CLASS; 24 import java.lang.annotation.Retention; 25 import java.lang.annotation.Target;
|
/tools/platform-compat/java/android/compat/annotation/ |
D | UnsupportedAppUsage.java | 16 package android.compat.annotation; 18 import static java.lang.annotation.ElementType.CONSTRUCTOR; 19 import static java.lang.annotation.ElementType.FIELD; 20 import static java.lang.annotation.ElementType.METHOD; 21 import static java.lang.annotation.ElementType.TYPE; 22 import static java.lang.annotation.RetentionPolicy.CLASS; 24 import java.lang.annotation.Repeatable; 25 import java.lang.annotation.Retention; 26 import java.lang.annotation.Target;
|
/tools/metalava/ |
D | FORMAT.md | 89 The annotations to be included are annotations for annotation types that are not 163 public abstract class SuppressLint implements java.lang.annotation.Annotation { ... } 222 The old format was completely missing annotation type methods: 225 …public static abstract class ViewDebug.ExportedProperty implements java.lang.annotation.Annotation… 229 We need to include annotation member methods, as well as their default values 305 special annotation to explicitly name a Java parameter: 306 @android.annotation.ParameterName (which is hidden). This obviously isn't usable 333 for Java, just as with parameter names, you can specify a special annotation to 435 In the codebase, these are typically in the android.annotation. package, 436 referencing annotation classes that are generally **not** part of the API. When [all …]
|