Home
last modified time | relevance | path

Searched refs:annotationClass (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestPredicates.java41 public static Predicate<TestMethod> hasAnnotation(Class<? extends Annotation> annotationClass) { in hasAnnotation() argument
42 return new HasAnnotation(annotationClass); in hasAnnotation()
47 private final Class<? extends Annotation> annotationClass; field in TestPredicates.HasAnnotation
49 private HasAnnotation(Class<? extends Annotation> annotationClass) { in HasAnnotation() argument
50 this.annotationClass = annotationClass; in HasAnnotation()
55 return testMethod.getAnnotation(annotationClass) != null || in apply()
56 testMethod.getEnclosingClass().getAnnotation(annotationClass) != null; in apply()
DTestMethod.java62 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() argument
64 return getEnclosingClass().getMethod(getName()).getAnnotation(annotationClass); in getAnnotation()
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DBuildInfoUtil.java43 Class<T> annotationClass) { in extractNotNull() argument
45 for (Element element : roundEnv.getElementsAnnotatedWith(annotationClass)) { in extractNotNull()
46 final T info = element.getAnnotation(annotationClass); in extractNotNull()
51 annotationClass.getCanonicalName()); in extractNotNull()
DAnnotationUtil.java32 Class<? extends Annotation> annotationClass) { in getElementsAnnotatedWith() argument
34 for (Element element : roundEnv.getElementsAnnotatedWith(annotationClass)) { in getElementsAnnotatedWith()
35 if (element.getAnnotation(annotationClass) != null) { in getElementsAnnotatedWith()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java488 Class<? extends Annotation> annotationClass = getAnnotationClass(annotationClassName); in getAnnotationPredicate() local
489 if (annotationClass != null) { in getAnnotationPredicate()
490 return hasAnnotation(annotationClass); in getAnnotationPredicate()
502 Class<? extends Annotation> annotationClass = getAnnotationClass(annotationClassName); in getNotAnnotationPredicate() local
503 if (annotationClass != null) { in getNotAnnotationPredicate()
504 return TestPredicates.not(hasAnnotation(annotationClass)); in getNotAnnotationPredicate()
520 Class<?> annotationClass = Class.forName(annotationClassName); in getAnnotationClass() local
521 if (annotationClass.isAnnotation()) { in getAnnotationClass()
522 return (Class<? extends Annotation>)annotationClass; in getAnnotationClass()
/frameworks/base/core/java/android/os/health/
DHealthKeys.java99 final Class<Constant> annotationClass = Constant.class; in Constants() local
110 final Constant constant = field.getAnnotation(annotationClass); in Constants()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...