Home
last modified time | relevance | path

Searched refs:annotation (Results 1 – 25 of 2125) sorted by relevance

12345678910>>...85

/cts/hostsidetests/scopedstorage/
DTEST_MAPPING7 "exclude-annotation": "androidx.test.filters.FlakyTest"
15 "exclude-annotation": "androidx.test.filters.FlakyTest"
23 "exclude-annotation": "androidx.test.filters.FlakyTest"
31 "exclude-annotation": "androidx.test.filters.FlakyTest"
39 "exclude-annotation": "androidx.test.filters.FlakyTest"
47 "exclude-annotation": "androidx.test.filters.FlakyTest"
57 "exclude-annotation": "androidx.test.filters.FlakyTest"
65 "exclude-annotation": "androidx.test.filters.FlakyTest"
73 "exclude-annotation": "androidx.test.filters.FlakyTest"
81 "exclude-annotation": "androidx.test.filters.FlakyTest"
[all …]
/cts/tests/signature/tests/src/android/signature/cts/tests/data/
DApiAnnotation.java18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PACKAGE;
23 import static java.lang.annotation.ElementType.TYPE;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.RetentionPolicy;
27 import java.lang.annotation.Target;
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DBedsteadJUnit4.java78 import java.lang.annotation.Annotation;
236 private static int getAnnotationCost(Annotation annotation) { in getAnnotationCost() argument
238 return (int) annotation.annotationType().getMethod("cost").invoke(annotation); in getAnnotationCost()
243 throw new NeneException("Failed to invoke cost on this annotation: " + annotation, e); in getAnnotationCost()
247 private static int getAnnotationPriority(Annotation annotation) { in getAnnotationPriority() argument
248 if (annotation instanceof DynamicParameterizedAnnotation) { in getAnnotationPriority()
254 return (int) annotation.annotationType().getMethod("priority").invoke(annotation); in getAnnotationPriority()
260 "Failed to invoke priority on this annotation: " + annotation, e); in getAnnotationPriority()
264 static String getParameterName(Annotation annotation) { in getParameterName() argument
265 if (annotation instanceof DynamicParameterizedAnnotation) { in getParameterName()
[all …]
DBedsteadFrameworkMethod.java30 import java.lang.annotation.Annotation;
87 for (Annotation annotation : annotations) { in calculateAnnotations()
88 if (annotation instanceof RequireRunOnUserAnnotation in calculateAnnotations()
89 || annotation instanceof RequireRunOnProfileAnnotation in calculateAnnotations()
90 || annotation instanceof RequireRunOnInitialUser in calculateAnnotations()
91 || annotation instanceof RequireRunOnAdditionalUser in calculateAnnotations()
92 || annotation instanceof RequireRunOnVisibleBackgroundNonProfileUser) { in calculateAnnotations()
110 for (Annotation annotation : annotations) { in calculateAnnotations()
111 if (annotation instanceof DynamicParameterizedAnnotation) { in calculateAnnotations()
114 mAnnotationsMap.put(annotation.annotationType(), annotation); in calculateAnnotations() local
[all …]
/cts/hostsidetests/appcloning/
DTEST_MAPPING7 "exclude-annotation": "android.platform.test.annotations.LargeTest"
10 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
20 "exclude-annotation": "android.platform.test.annotations.LargeTest"
30 "include-annotation": "android.platform.test.annotations.LargeTest"
33 "include-annotation": "android.platform.test.annotations.FlakyTest"
43 "exclude-annotation": "android.platform.test.annotations.LargeTest"
46 "exclude-annotation": "android.platform.test.annotations.FlakyTest"
56 "include-annotation": "android.platform.test.annotations.LargeTest"
59 "include-annotation": "android.platform.test.annotations.FlakyTest"
/cts/hostsidetests/compilation/src/android/compilation/cts/annotation/
DCtsTestCase.java17 package android.compilation.cts.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/annotation/
DGroup1.java17 package android.server.wm.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DGroup2.java17 package android.server.wm.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
DGroup3.java17 package android.server.wm.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
/cts/tests/tests/voiceinteraction/
DTEST_MAPPING7 "exclude-annotation": "androidx.test.filters.FlakyTest"
15 "exclude-annotation": "androidx.test.filters.FlakyTest"
25 "exclude-annotation": "androidx.test.filters.FlakyTest"
28 "exclude-annotation": "org.junit.Ignore"
41 "exclude-annotation": "androidx.test.filters.FlakyTest"
49 "exclude-annotation": "androidx.test.filters.FlakyTest"
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/filter/
DCoreTestModeFilter.java24 import libcore.test.annotation.NonCts;
25 import libcore.test.annotation.NonMts;
29 import java.lang.annotation.Annotation;
87 for (Annotation annotation : annotations) { in isAnnotated()
88 Class<? extends Annotation> clazz = annotation.annotationType(); in isAnnotated()
90 if (annotation instanceof NonMts) { in isAnnotated()
91 if (isNonMtsTestDisabledOnThisSdk((NonMts) annotation)) { in isAnnotated()
105 private static boolean isNonMtsTestDisabledOnThisSdk(NonMts annotation) { in isNonMtsTestDisabledOnThisSdk() argument
106 int disabledUntilSdk = annotation.disabledUntilSdk(); in isNonMtsTestDisabledOnThisSdk()
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DTargetLibrary.java19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Inherited;
21 import java.lang.annotation.Retention;
22 import java.lang.annotation.RetentionPolicy;
23 import java.lang.annotation.Target;
/cts/tests/vibrator/
DTEST_MAPPING6 {"exclude-annotation": "androidx.test.filters.LargeTest"},
7 {"exclude-annotation": "android.platform.test.annotations.FlakyTest"},
8 {"exclude-annotation": "androidx.test.filters.FlakyTest"},
9 {"exclude-annotation": "org.junit.Ignore"}
17 {"exclude-annotation": "org.junit.Ignore"}
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/meta/
DParameterizedAnnotation.java21 import java.lang.annotation.Annotation;
22 import java.lang.annotation.ElementType;
23 import java.lang.annotation.Retention;
24 import java.lang.annotation.RetentionPolicy;
25 import java.lang.annotation.Target;
/cts/common/device-side/bedstead/harrier/common/src/main/java/com/android/bedstead/harrier/annotations/
DTestTag.java21 import java.lang.annotation.ElementType;
22 import java.lang.annotation.Repeatable;
23 import java.lang.annotation.Retention;
24 import java.lang.annotation.RetentionPolicy;
25 import java.lang.annotation.Target;
DEnsureGlobalSettingSet.java21 import java.lang.annotation.ElementType;
22 import java.lang.annotation.Repeatable;
23 import java.lang.annotation.Retention;
24 import java.lang.annotation.RetentionPolicy;
25 import java.lang.annotation.Target;
DEnsureDoesNotHaveUserRestriction.java23 import java.lang.annotation.ElementType;
24 import java.lang.annotation.Repeatable;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.RetentionPolicy;
27 import java.lang.annotation.Target;
DRequireUserSupported.java21 import java.lang.annotation.ElementType;
22 import java.lang.annotation.Repeatable;
23 import java.lang.annotation.Retention;
24 import java.lang.annotation.RetentionPolicy;
25 import java.lang.annotation.Target;
DEnsurePackageNotInstalled.java23 import java.lang.annotation.ElementType;
24 import java.lang.annotation.Repeatable;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.RetentionPolicy;
27 import java.lang.annotation.Target;
DRequireFeature.java21 import java.lang.annotation.ElementType;
22 import java.lang.annotation.Repeatable;
23 import java.lang.annotation.Retention;
24 import java.lang.annotation.RetentionPolicy;
25 import java.lang.annotation.Target;
DRequireDoesNotHaveFeature.java21 import java.lang.annotation.ElementType;
22 import java.lang.annotation.Repeatable;
23 import java.lang.annotation.Retention;
24 import java.lang.annotation.RetentionPolicy;
25 import java.lang.annotation.Target;
DEnsureHasAccountAuthenticator.java24 import java.lang.annotation.ElementType;
25 import java.lang.annotation.Repeatable;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.RetentionPolicy;
28 import java.lang.annotation.Target;
DEnsureSecureSettingSet.java23 import java.lang.annotation.ElementType;
24 import java.lang.annotation.Repeatable;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.RetentionPolicy;
27 import java.lang.annotation.Target;
DRequirePackageNotInstalled.java23 import java.lang.annotation.ElementType;
24 import java.lang.annotation.Repeatable;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.RetentionPolicy;
27 import java.lang.annotation.Target;
DEnsureTestAppDoesNotHavePermission.java22 import java.lang.annotation.ElementType;
23 import java.lang.annotation.Repeatable;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.RetentionPolicy;
26 import java.lang.annotation.Target;

12345678910>>...85