Home
last modified time | relevance | path

Searched refs:annotationType (Results 1 – 8 of 8) sorted by relevance

/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()
188 annotationType == UseParametersRunnerFactory::class.java in getAnnotation()
193 return super.getAnnotation(annotationType) in getAnnotation()
204 override fun <T : Annotation> getAnnotation(annotationType: Class<T>): T? { in getAnnotation()
205 if (annotationType == Parameters::class.java) { in getAnnotation()
208 return super.getAnnotation(annotationType) in getAnnotation()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DTestDescription.java88 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() argument
90 if (each.annotationType().equals(annotationType)) { in getAnnotation()
91 return annotationType.cast(each); in getAnnotation()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationFilter.java110 if (neededAnnotation.contains(a.annotationType().getName())) { in checkIncludeAnnotations()
111 neededAnnotation.remove(a.annotationType().getName()); in checkIncludeAnnotations()
125 if (mExcludeAnnotations.contains(a.annotationType().getName())) { in checkExcludeAnnotations()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DTestDescriptionTest.java38 public Class<? extends Annotation> annotationType() { in annotationType() method in TestDescriptionTest.TestAnnotation
56 public Class<? extends Annotation> annotationType() { in annotationType() method in TestDescriptionTest.TestAnnotation2
/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java186 if (mExcludeAnnotations.contains(a.annotationType().getName())) { in isExcluded()
200 if (neededAnnotation.contains(a.annotationType().getName())) { in isIncluded()
201 neededAnnotation.remove(a.annotationType().getName()); in isIncluded()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DDeviceJUnit4ClassRunner.java275 public Class<? extends Annotation> annotationType() { in annotationType() method in DeviceJUnit4ClassRunner.MetricAnnotation
352 public Class<? extends Annotation> annotationType() { in annotationType() method in DeviceJUnit4ClassRunner.LogAnnotation
DHostTest.java806 if (a.annotationType() != null && a.annotationType().equals(Ignore.class)) { in findIgnoredClass()
/tools/tradefederation/core/javatests/com/android/tradefed/device/metric/
DBaseDeviceMetricCollectorTest.java380 public Class<? extends Annotation> annotationType() { in annotationType() method in BaseDeviceMetricCollectorTest.TestAnnotation