Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DBedsteadFrameworkMethod.java114 mAnnotationsMap.put(annotation.annotationType(), annotation); in calculateAnnotations()
152 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() argument
153 return (T) mAnnotationsMap.get(annotationType); in getAnnotation()
DBedsteadJUnit4.java238 return (int) annotation.annotationType().getMethod("cost").invoke(annotation); in getAnnotationCost()
254 return (int) annotation.annotationType().getMethod("priority").invoke(annotation); in getAnnotationPriority()
268 return annotation.annotationType().getSimpleName(); in getParameterName()
307 return annotation.annotationType().getAnnotation(ParameterizedAnnotation.class) != null; in isParameterizedAnnotation()
311 return annotation.annotationType() != null in isAnnotationClassParameterizedAnnotation()
312 && annotation.annotationType().getAnnotation(ParameterizedAnnotation.class) != null; in isAnnotationClassParameterizedAnnotation()
319 return annotation.annotationType().getAnnotations(); in getIndirectAnnotations()
327 return annotation.annotationType().getAnnotation(RepeatingAnnotation.class) != null; in isRepeatingAnnotation()
377 ANNOTATION_REPLACEMENTS.get(annotation.annotationType()); in getReplacementAnnotations()
391 (Annotation[]) annotation.annotationType() in getReplacementAnnotations()
[all …]
DFrameworkMethodWithParameter.java148 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() argument
149 return mWrappedFrameworkMethod.getAnnotation(annotationType); in getAnnotation()
DDeviceState.java434 Class<? extends Annotation> annotationType = annotation.annotationType();
437 annotationType.getAnnotation(EnsureHasNoProfileAnnotation.class);
439 UserType userType = (UserType) annotation.annotationType()
446 annotationType.getAnnotation(EnsureHasProfileAnnotation.class);
448 UserType forUser = (UserType) annotation.annotationType()
451 annotation.annotationType()
458 annotation.annotationType().getMethod(
473 annotation.annotationType()
478 annotation.annotationType()
488 annotation.annotationType()
[all …]
DDynamicParameterizedAnnotation.java48 public Class<? extends Annotation> annotationType() { in annotationType() method in DynamicParameterizedAnnotation
DPolicy.java475 Annotation[] existingAnnotations = annotation.annotationType().getAnnotations();
482 annotation.annotationType().getSimpleName() + "_DPMRH",
492 annotation.annotationType().getAnnotations(), EnsureHasNoDelegate.class);
502 annotation.annotationType().getSimpleName() + "Delegate_" + scope,
822 f -> !f.annotationType().equals(filteredAnnotationClass))
899 ? "DynamicParameterizedAnnotation" : a.annotationType().getName()));
975 annotation.annotationType().getAnnotation(ParameterizedAnnotation.class);
986 annotations.removeIf(a -> shadowedAnnotations.contains(a.annotationType()));
1023 sReverseShadowMap.getOrDefault(annotation.annotationType(), new HashSet<>()));
1026 annotations.removeIf(a -> shadowingAnnotations.contains(a.annotationType()));
[all …]
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DMultiUserAnnotationExecutor.kt83 val annotationType = annotation.annotationClass.java in <lambda>() constant
84 annotationType.applyEnsureHasUserAnnotation(annotation) in <lambda>()
85 annotationType.applyRequireRunOnUserAnnotation(annotation) in <lambda>()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/filter/
DCoreTestModeFilter.java88 Class<? extends Annotation> clazz = annotation.annotationType(); in isAnnotated()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DAutomator.java215 if (annotation.annotationType().getCanonicalName().equals( in getAutomationFor()
218 return (String) annotation.annotationType().getMethod("value") in getAutomationFor()
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java258 if (a.annotationType().getName().equals(JUNIT_IGNORE)) { in isTestClass()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt199 name: "annotationType"