Home
last modified time | relevance | path

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

/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DPolicy.java55 Policy.class.getAnnotation(IncludeNone.class);
57 Policy.class.getAnnotation(IncludeRunOnDeviceOwnerUser.class);
60 Policy.class.getAnnotation(IncludeRunOnNonAffiliatedDeviceOwnerSecondaryUser.class);
63 Policy.class.getAnnotation(IncludeRunOnAffiliatedDeviceOwnerSecondaryUser.class);
66 Policy.class.getAnnotation(IncludeRunOnAffiliatedProfileOwnerSecondaryUser.class);
69 Policy.class.getAnnotation(IncludeRunOnProfileOwnerProfile.class);
72 Policy.class.getAnnotation(
75 Policy.class.getAnnotation(IncludeRunOnParentOfProfileOwner.class);
78 Policy.class.getAnnotation(IncludeRunOnParentOfCorporateOwnedProfileOwner.class);
80 Policy.class.getAnnotation(IncludeRunOnProfileOwnerPrimaryUser.class);
DBedsteadJUnit4.java137 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() method in BedsteadJUnit4.BedsteadFrameworkMethod
164 if (annotation.annotationType().getAnnotation(RepeatingAnnotation.class) != null) { in getReplacementAnnotations()
176 if (annotation.annotationType().getAnnotation(ParameterizedAnnotation.class) != null in getReplacementAnnotations()
260 boolean o1HasAnnotation = o1.getAnnotation(annotation.annotationType()) != null; in sortMethodsByBedsteadAnnotations()
261 boolean o2HasAnnotation = o2.getAnnotation(annotation.annotationType()) != null; in sortMethodsByBedsteadAnnotations()
310 if (annotation.annotationType().getAnnotation(ParameterizedAnnotation.class) != null) { in getParameterizedAnnotations()
332 policy.getAnnotation(EnterprisePolicy.class); in parseEnterpriseAnnotations()
343 policy.getAnnotation(EnterprisePolicy.class); in parseEnterpriseAnnotations()
354 policy.getAnnotation(EnterprisePolicy.class); in parseEnterpriseAnnotations()
DDeviceState.java215 annotationType.getAnnotation(EnsureHasNoProfileAnnotation.class);
224 annotationType.getAnnotation(EnsureHasProfileAnnotation.class);
247 annotationType.getAnnotation(EnsureHasNoUserAnnotation.class);
254 annotationType.getAnnotation(EnsureHasUserAnnotation.class);
264 annotationType.getAnnotation(RequireRunOnUserAnnotation.class);
271 annotationType.getAnnotation(RequireRunOnProfileAnnotation.class);
485 if (annotation.annotationType().getAnnotation(RequiresBedsteadJUnit4.class) != null
486 || annotation.annotationType().getAnnotation(
575 if (method.getAnnotation(BeforeClass.class) != null
576 || method.getAnnotation(AfterClass.class) != null) {
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceAdminFeaturesCheckerRule.java71 .getAnnotation(IgnoreOnHeadlessSystemUserMode.class); in apply()
84 .getAnnotation(RequiresAdditionalFeatures.class)); in apply()
86 .getAnnotation(RequiresProfileOwnerSupport.class)); in apply()
92 clazz.getAnnotation(RequiresAdditionalFeatures.class)); in apply()
94 clazz.getAnnotation(RequiresProfileOwnerSupport.class)); in apply()
111 .getAnnotation(DoesNotRequireFeature.class); in apply()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DTestNgRunnerBuilder.java43 if (cls.getAnnotation(Test.class) != null) { in isTestNgTestClass()
49 if (m.getAnnotation(Test.class) != null) { in isTestNgTestClass()
/cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
DEndToEndImeTestBase.java60 final boolean hasAppModeFull = testMethod.getAnnotation(AppModeFull.class) != null; in verifyAppModeConsistency()
61 final boolean hasAppModeInstant = testMethod.getAnnotation(AppModeInstant.class) != null; in verifyAppModeConsistency()
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/
DGtestRunner.java51 TargetLibrary library = (TargetLibrary) testClass.getAnnotation(TargetLibrary.class); in GtestRunner()
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
DTestHelper.java72 final Test annotation = method.getAnnotation(Test.class); in getTestMethod()
/cts/hostsidetests/utils/src/android/cts/host/utils/
DDeviceJUnit4ClassRunnerWithParameters.java110 if (desc.getAnnotation(Ignore.class) == null) { in getChildren()
/cts/common/device-side/bedstead/remotedpc/src/processor/main/java/com/android/bedstead/remotedpc/processor/
DProcessor.java110 RemoteDpcManager r = interfaceClass.getAnnotation(RemoteDpcManager.class); in processRemoteDpcManagerInterface()
165 if (method.getAnnotation(RemoteDpcAutomaticAdmin.class) != null) { in generateImplClass()
/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.java426 CddTest cddTest = m.getAnnotation(CddTest.class);
/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"