Home
last modified time | relevance | path

Searched refs:Annotation (Results 1 – 21 of 21) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/result/
DTestDescription.java21 import java.lang.annotation.Annotation;
36 private Annotation[] mAnnotations;
50 mAnnotations = new Annotation[0]; in TestDescription()
68 public TestDescription(String className, String testName, Annotation... annotations) { in TestDescription()
80 public TestDescription(String className, String testName, Collection<Annotation> annotations) { in TestDescription()
81 this(className, testName, annotations.toArray(new Annotation[annotations.size()])); in TestDescription()
88 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation()
89 for (Annotation each : mAnnotations) { in getAnnotation()
98 public Collection<Annotation> getAnnotations() { in getAnnotations()
DJUnitToInvocationResultForwarder.java29 import java.lang.annotation.Annotation;
135 Annotation[] annotations = new Annotation[0]; in getTestId()
DJUnit4ResultForwarder.java31 import java.lang.annotation.Annotation;
93 for (Annotation a : child.getAnnotations()) { in testFinished()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestDescriptionTest.java26 import java.lang.annotation.Annotation;
34 public static class TestAnnotation implements Annotation {
36 public Class<? extends Annotation> annotationType() { in annotationType()
42 public static class TestAnnotation2 implements Annotation {
44 public Class<? extends Annotation> annotationType() { in annotationType()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java20 import java.lang.annotation.Annotation;
167 private boolean shouldTestRun(Collection<Annotation> annotationsList) { in shouldTestRun()
174 private boolean isExcluded(Collection<Annotation> annotationsList) { in isExcluded()
176 for (Annotation a : annotationsList) { in isExcluded()
186 private boolean isIncluded(Collection<Annotation> annotationsList) { in isIncluded()
190 for (Annotation a : annotationsList) { in isIncluded()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceJUnit4ClassRunner.java45 import java.lang.annotation.Annotation;
261 public static class MetricAnnotation implements Annotation {
270 public Class<? extends Annotation> annotationType() { in annotationType()
321 public static class LogAnnotation implements Annotation {
330 public Class<? extends Annotation> annotationType() { in annotationType()
/tools/dexter/slicer/export/slicer/
Ddex_ir.h72 struct Annotation;
146 Annotation* annotation_value;
261 struct Annotation : public Node { struct
272 std::vector<Annotation*> annotations; argument
377 std::vector<own<Annotation>> annotations;
458 void Track(Annotation* p) { PushOwn(annotations, p); } in Track()
Dreader.h75 ir::Annotation* ExtractAnnotationItem(dex::u4 offset);
82 ir::Annotation* ParseAnnotation(const dex::u1** pptr);
146 std::map<dex::u4, ir::Annotation*> annotations_;
Dwriter.h211 dex::u4 WriteAnnotationItem(const ir::Annotation* ir_annotation);
/tools/metalava/manual/
Dmaster.txt74 …method @Nullable public <A extends java.lang.annotation.Annotation> A getAnnotation(@NonNull Class…
75 …method @NonNull public <A extends java.lang.annotation.Annotation> A @NonNull [] getAnnotationsByT…
76 …method @Nullable public native <A extends java.lang.annotation.Annotation> A getDeclaredAnnotation…
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFileTest.kt1149 fun `Annotation class extraction`() { in Annotation class extraction()
1319 fun `Annotation class extraction, non-compat mode`() { in Annotation class extraction, non-compat mode()
1363 fun `Annotation retention`() { in Annotation retention()
DStubsTest.kt3024 fun `Annotation default values`() { in <lambda>()
3169 fun `Annotation metadata in stubs`() { in <lambda>()
3623 fun `Annotation nested rewriting`() { in <lambda>()
DDocAnalyzerTest.kt1650 fun `Annotation annotating self`() { in Annotation annotating self()
1710 fun `Annotation annotating itself indirectly`() { in Annotation annotating itself indirectly()
DApiFromTextTest.kt137 fun `Annotation signatures requiring more complicated token matching`() { in Annotation signatures requiring more complicated token matching()
/tools/dexter/slicer/
Ddex_ir.cc285 [](const Annotation* a, const Annotation* b) { in Normalize()
Dreader.cc314 ir::Annotation* Reader::ExtractAnnotationItem(dex::u4 offset) { in ExtractAnnotationItem()
561 ir::Annotation* Reader::ParseAnnotation(const dex::u1** pptr) { in ParseAnnotation()
562 auto ir_annotation = dex_ir_->Alloc<ir::Annotation>(); in ParseAnnotation()
Dwriter.cc98 static void WriteAnnotation(const ir::Annotation* ir_annotation, Section& data);
200 static void WriteAnnotation(const ir::Annotation* ir_annotation, Section& data) { in WriteAnnotation()
639 dex::u4 Writer::WriteAnnotationItem(const ir::Annotation* ir_annotation) { in WriteAnnotationItem()
/tools/tradefederation/core/
DTEST_MAPPING_README16 * Instrumentation Test with Annotation Filter/PushFilePreparer/RumCommandTargetPreparer/
/tools/metalava/
DFORMAT.md155 referred to as classes that extend java.lang.Enum, or java.lang.Annotation etc.
163 public abstract class SuppressLint implements java.lang.annotation.Annotation { ... }
225 …ublic static abstract class ViewDebug.ExportedProperty implements java.lang.annotation.Annotation {
427 ### Annotation Simple Names
DREADME.md91 "@interface" instead of "abstract class extends java.lang.Annotation", sorts
201 Nullness Annotation Coverage Statistics:
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java43 import java.lang.annotation.Annotation;
343 public Class<? extends Annotation> annotationType() { in annotationType()