Home
last modified time | relevance | path

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

12

/tools/tradefederation/core/test_result_interfaces/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()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationFilter.java21 import java.lang.annotation.Annotation;
87 Collection<Annotation> annotations = desc.getAnnotations(); in checkAnnotations()
105 private boolean checkIncludeAnnotations(Collection<Annotation> annotationsList) { in checkIncludeAnnotations()
109 for (Annotation a : annotationsList) { in checkIncludeAnnotations()
122 private boolean checkExcludeAnnotations(Collection<Annotation> annotationsList) { in checkExcludeAnnotations()
124 for (Annotation a : annotationsList) { in checkExcludeAnnotations()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DTestDescriptionTest.java28 import java.lang.annotation.Annotation;
36 public static class TestAnnotation implements Annotation {
38 public Class<? extends Annotation> annotationType() { in annotationType()
54 public static class TestAnnotation2 implements Annotation {
56 public Class<? extends Annotation> annotationType() { in annotationType()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java24 import java.lang.annotation.Annotation;
176 private boolean shouldTestRun(Collection<Annotation> annotationsList) { in shouldTestRun()
183 private boolean isExcluded(Collection<Annotation> annotationsList) { in isExcluded()
185 for (Annotation a : annotationsList) { in isExcluded()
195 private boolean isIncluded(Collection<Annotation> annotationsList) { in isIncluded()
199 for (Annotation a : annotationsList) { in isIncluded()
303 List<Annotation> annotations = new ArrayList<>(desc.getAnnotations()); in shouldRun()
/tools/tradefederation/core/src/com/android/tradefed/result/
DJUnitToInvocationResultForwarder.java30 import java.lang.annotation.Annotation;
142 Annotation[] annotations = new Annotation[0]; in getTestId()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DDeviceJUnit4ClassRunner.java50 import java.lang.annotation.Annotation;
266 public static class MetricAnnotation implements Annotation {
275 public Class<? extends Annotation> annotationType() { in annotationType()
343 public static class LogAnnotation implements Annotation {
352 public Class<? extends Annotation> annotationType() { in annotationType()
DHostTest.java75 import java.lang.annotation.Annotation;
805 for (Annotation a : description.getAnnotations()) { in findIgnoredClass()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/stub/
DStubsAnnotationTest.kt412 fun `Annotation default values`() { in Annotation default values()
558 fun `Annotation metadata in stubs`() { in Annotation metadata in stubs()
775 fun `Annotation nested rewriting`() { in Annotation nested rewriting()
/tools/dexter/slicer/export/slicer/
Ddex_ir.h73 struct Annotation;
147 Annotation* annotation_value;
272 struct Annotation : public Node { struct
283 std::vector<Annotation*> annotations; argument
389 std::vector<own<Annotation>> annotations;
473 void Track(Annotation* p) { PushOwn(annotations, p); } in Track()
Dreader.h77 ir::Annotation* ExtractAnnotationItem(dex::u4 offset);
84 ir::Annotation* ParseAnnotation(const dex::u1** pptr);
149 std::map<dex::u4, ir::Annotation*> annotations_;
Dwriter.h214 dex::u4 WriteAnnotationItem(const ir::Annotation* ir_annotation);
/tools/metalava/
DUSAGE.md27 - Annotation include, exclude, rewrite, passthrough in stubs (`--include-annotations`, `--exclude-a…
29 - Annotation extraction (`--extract-annotations`, `--copy-annotations`) for generating the SDK
DFORMAT.md159 referred to as classes that extend java.lang.Enum, or java.lang.Annotation etc.
167 public abstract class SuppressLint implements java.lang.annotation.Annotation { ... }
229 …ublic static abstract class ViewDebug.ExportedProperty implements java.lang.annotation.Annotation {
431 ### Annotation Simple Names
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DJUnit4ResultForwarder.java39 import java.lang.annotation.Annotation;
176 for (Annotation a : child.getAnnotations()) { in testFinished()
254 for (Annotation a : child.getAnnotations()) { in pollLogsAndUpload()
/tools/tradefederation/core/
DTEST_MAPPING6 // Instrumentation Test with Annotation Filter/PushFilePreparer/
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/junit4/
DCustomizableParameterizedRunner.kt185 override fun <T : Annotation> getAnnotation(annotationType: Class<T>): T? { in getAnnotation()
204 override fun <T : Annotation> getAnnotation(annotationType: Class<T>): T? { in getAnnotation()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DApiFromTextTest.kt144 fun `Annotation signatures requiring more complicated token matching`() { in Annotation signatures requiring more complicated token matching()
DUastTestBase.kt241 fun `Annotation on parameters of data class synthetic copy`() { in Annotation on parameters of data class synthetic copy()
DApiFileTest.kt1714 fun `Annotation class extraction`() { in Annotation class extraction()
1823 fun `Annotation retention`() { in Annotation retention()
4555 fun `Annotation value visibility`() { in Annotation value visibility()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/doc/
DDocAnalyzerTest.kt1505 fun `Annotation annotating self`() { in Annotation annotating self()
1570 fun `Annotation annotating itself indirectly`() { in Annotation annotating itself indirectly()
/tools/dexter/slicer/
Ddex_ir.cc293 [](const Annotation* a, const Annotation* b) { in Normalize()
Dreader.cc355 ir::Annotation* Reader::ExtractAnnotationItem(dex::u4 offset) { in ExtractAnnotationItem()
602 ir::Annotation* Reader::ParseAnnotation(const dex::u1** pptr) { in ParseAnnotation()
603 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()
681 dex::u4 Writer::WriteAnnotationItem(const ir::Annotation* ir_annotation) { in WriteAnnotationItem()
/tools/metalava/metalava/src/test/resources/
Dsource-model-provider-baseline.txt18 Annotation class extraction[turbine]
19 Annotation value visibility[turbine]
210 Annotation annotating itself indirectly[turbine]
245 Annotation default values[turbine]
246 Annotation nested rewriting[turbine]
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java54 import java.lang.annotation.Annotation;
380 public Class<? extends Annotation> annotationType() { in annotationType()

12