Home
last modified time | relevance | path

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

/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/tests/src/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()
44 public static class TestAnnotation2 implements Annotation {
46 public Class<? extends Annotation> annotationType() { in annotationType()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationFilter.java21 import java.lang.annotation.Annotation;
77 Collection<Annotation> annotations = desc.getAnnotations(); in checkAnnotations()
95 private boolean checkIncludeAnnotations(Collection<Annotation> annotationsList) { in checkIncludeAnnotations()
99 for (Annotation a : annotationsList) { in checkIncludeAnnotations()
112 private boolean checkExcludeAnnotations(Collection<Annotation> annotationsList) { in checkExcludeAnnotations()
114 for (Annotation a : annotationsList) { in checkExcludeAnnotations()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java21 import java.lang.annotation.Annotation;
173 private boolean shouldTestRun(Collection<Annotation> annotationsList) { in shouldTestRun()
180 private boolean isExcluded(Collection<Annotation> annotationsList) { in isExcluded()
182 for (Annotation a : annotationsList) { in isExcluded()
192 private boolean isIncluded(Collection<Annotation> annotationsList) { in isIncluded()
196 for (Annotation a : annotationsList) { in isIncluded()
/tools/tradefederation/core/src/com/android/tradefed/result/
DJUnitToInvocationResultForwarder.java29 import java.lang.annotation.Annotation;
135 Annotation[] annotations = new Annotation[0]; in getTestId()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DDeviceJUnit4ClassRunner.java49 import java.lang.annotation.Annotation;
263 public static class MetricAnnotation implements Annotation {
272 public Class<? extends Annotation> annotationType() { in annotationType()
323 public static class LogAnnotation implements Annotation {
332 public Class<? extends Annotation> annotationType() { in annotationType()
DHostTest.java67 import java.lang.annotation.Annotation;
746 for (Annotation a : description.getAnnotations()) { in findIgnoredClass()
/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/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DJUnit4ResultForwarder.java32 import java.lang.annotation.Annotation;
101 for (Annotation a : child.getAnnotations()) { in testFinished()
/tools/tradefederation/core/
DTEST_MAPPING6 // Instrumentation Test with Annotation Filter/PushFilePreparer/
/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()
646 dex::u4 Writer::WriteAnnotationItem(const ir::Annotation* ir_annotation) { in WriteAnnotationItem()
/tools/metalava/src/test/java/com/android/tools/metalava/
DDocAnalyzerTest.kt1708 fun `Annotation annotating self`() { in Annotation annotating self()
1858 fun `Annotation annotating itself indirectly`() { in Annotation annotating itself indirectly()
DApiFromTextTest.kt158 fun `Annotation signatures requiring more complicated token matching`() { in Annotation signatures requiring more complicated token matching()
/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.md94 "@interface" instead of "abstract class extends java.lang.Annotation", sorts
204 Nullness Annotation Coverage Statistics:
/tools/tradefederation/core/tests/src/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java51 import java.lang.annotation.Annotation;
375 public Class<? extends Annotation> annotationType() { in annotationType()
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...