Home
last modified time | relevance | path

Searched refs:getAnnotation (Results 1 – 23 of 23) sorted by relevance

/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAdminFeaturesCheckerRule.java71 .getAnnotation(TemporarilyIgnoreOnHeadlessSystemUserMode.class); in apply()
80 .getAnnotation(IgnoreOnHeadlessSystemUserMode.class); in apply()
98 .getAnnotation(RequiresAdditionalFeatures.class)); in apply()
100 .getAnnotation(RequiresProfileOwnerSupport.class)); in apply()
106 clazz.getAnnotation(RequiresAdditionalFeatures.class)); in apply()
108 clazz.getAnnotation(RequiresProfileOwnerSupport.class)); in apply()
125 .getAnnotation(DoesNotRequireFeature.class); in apply()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DTestNgRunnerBuilder.java52 if (cls.getAnnotation(Test.class) != null) { in isTestNgTestClass()
58 if (m.getAnnotation(Test.class) != null) { in isTestNgTestClass()
DMainMethodRunner.java91 if (testClass.getAnnotation(org.testng.annotations.Test.class) != null
92 || testClass.getAnnotation(org.junit.Test.class) != null) {
/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DBedsteadJUnit4.java213 .getAnnotation(Query.class); in query()
307 return annotation.annotationType().getAnnotation(ParameterizedAnnotation.class) != null; in isParameterizedAnnotation()
312 && annotation.annotationType().getAnnotation(ParameterizedAnnotation.class) != null; in isAnnotationClassParameterizedAnnotation()
327 return annotation.annotationType().getAnnotation(RepeatingAnnotation.class) != null; in isRepeatingAnnotation()
484 annotation.annotationType().getAnnotation(ParameterizedAnnotation.class); in getParameterizedAnnotationsGroupedByScope()
665 frameworkMethod.getMethod().getAnnotation(PolicyAppliesTest.class); in generatePolicyArgumentTests()
667 frameworkMethod.getMethod().getAnnotation(PolicyDoesNotApplyTest.class); in generatePolicyArgumentTests()
669 frameworkMethod.getMethod().getAnnotation(CanSetPolicyTest.class); in generatePolicyArgumentTests()
671 frameworkMethod.getMethod().getAnnotation(CannotSetPolicyTest.class); in generatePolicyArgumentTests()
781 boolean o1HasAnnotation = o1.getAnnotation(annotation.annotationType()) != null; in sortMethodsByBedsteadAnnotations()
[all …]
DFrameworkMethodWithParameter.java148 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() method in FrameworkMethodWithParameter
149 return mWrappedFrameworkMethod.getAnnotation(annotationType); in getAnnotation()
DBedsteadFrameworkMethod.java152 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() method in BedsteadFrameworkMethod
DPolicy.java586 EnterprisePolicy enterprisePolicy = policy.getAnnotation(EnterprisePolicy.class);
975 annotation.annotationType().getAnnotation(ParameterizedAnnotation.class);
993 annotationClass.getAnnotation(ParameterizedAnnotation.class);
1035 annotation.annotationType().getAnnotation(ParameterizedAnnotation.class);
1052 shadowedAnnotation.getAnnotation(ParameterizedAnnotation.class);
DDeviceState.java437 annotationType.getAnnotation(EnsureHasNoProfileAnnotation.class);
446 annotationType.getAnnotation(EnsureHasProfileAnnotation.class);
540 annotationType.getAnnotation(RequireRunOnProfileAnnotation.class);
772 annotationType.getAnnotation(UsesAnnotationExecutor.class);
944 if (annotation.annotationType().getAnnotation(RequiresBedsteadJUnit4.class) != null
945 || annotation.annotationType().getAnnotation(
1064 if (method.getAnnotation(BeforeClass.class) != null
1065 || method.getAnnotation(AfterClass.class) != null) {
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DRepeat.kt50 description.getAnnotation(Repeat::class.java)?.let { repeat -> in <lambda>()
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/
DMultiUserAnnotationExecutor.kt89 getAnnotation(EnsureHasUserAnnotation::class.java)?.let { ensureHasUser -> in <lambda>()
99 getAnnotation(RequireRunOnUserAnnotation::class.java)?.let { requireRunOnUser -> in <lambda>()
/cts/tests/inputmethod/util/src/android/view/inputmethod/cts/util/
DEndToEndImeTestBase.java133 final boolean hasAppModeFull = testMethod.getAnnotation(AppModeFull.class) != null; in verifyAppModeConsistency()
134 final boolean hasAppModeInstant = testMethod.getAnnotation(AppModeInstant.class) != null; in verifyAppModeConsistency()
/cts/common/device-side/bedstead/modules/enterprise/src/main/kotlin/com/android/bedstead/enterprise/annotations/
DEnsureHasProfileOwner.kt94 return HarrierRule::class.java.getAnnotation<Query>(Query::class.java) in query()
DEnsureHasWorkProfile.kt106 return HarrierRule::class.java.getAnnotation(Query::class.java)!! in query()
/cts/libs/input/src/com/android/cts/input/
DDebugInputRule.kt109 description.getAnnotation(DebugInputRule.DebugInput::class.java) != null in shouldEnableInputDebugging()
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DGtestRunner.java51 TargetLibrary library = (TargetLibrary) testClass.getAnnotation(TargetLibrary.class); in GtestRunner()
/cts/hostsidetests/utils/src/android/cts/host/utils/
DDeviceJUnit4ClassRunnerWithParameters.java110 if (desc.getAnnotation(Ignore.class) == null) { in getChildren()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DTestHelper.java72 final Test annotation = method.getAnnotation(Test.class); in getTestMethod()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraPerformanceActivity.java195 Annotation an = method.getAnnotation((Class) org.junit.Test.class); in initializeTestCases()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsApiCoverage.java446 CddTest cddTest = m.getAnnotation(CddTest.class);
/cts/common/device-side/bedstead/testapp/src/processor/main/java/com/android/bedstead/testapp/processor/
DProcessor.java255 .getAnnotation(TestAppReceiver.class); in process()
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/
DOnDeviceIntelligenceManagerTest.java1216 if (description.getAnnotation(SkipSetupAndTeardown.class) != null) {
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt241 name: "getAnnotation"
3158 name: "getAnnotation"
3481 name: "getAnnotation"
DShell.apk.pb.txt525 name: "getAnnotation"
4967 name: "getAnnotation"