/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/ |
D | DeviceAdminFeaturesCheckerRule.java | 71 .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/ |
D | TestNgRunnerBuilder.java | 52 if (cls.getAnnotation(Test.class) != null) { in isTestNgTestClass() 58 if (m.getAnnotation(Test.class) != null) { in isTestNgTestClass()
|
D | MainMethodRunner.java | 91 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/ |
D | BedsteadJUnit4.java | 213 .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 …]
|
D | FrameworkMethodWithParameter.java | 148 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() method in FrameworkMethodWithParameter 149 return mWrappedFrameworkMethod.getAnnotation(annotationType); in getAnnotation()
|
D | BedsteadFrameworkMethod.java | 152 public <T extends Annotation> T getAnnotation(Class<T> annotationType) { in getAnnotation() method in BedsteadFrameworkMethod
|
D | Policy.java | 586 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);
|
D | DeviceState.java | 437 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/ |
D | Repeat.kt | 50 description.getAnnotation(Repeat::class.java)?.let { repeat -> in <lambda>()
|
/cts/common/device-side/bedstead/modules/multiuser/src/main/kotlin/com/android/bedstead/multiuser/ |
D | MultiUserAnnotationExecutor.kt | 89 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/ |
D | EndToEndImeTestBase.java | 133 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/ |
D | EnsureHasProfileOwner.kt | 94 return HarrierRule::class.java.getAnnotation<Query>(Query::class.java) in query()
|
D | EnsureHasWorkProfile.kt | 106 return HarrierRule::class.java.getAnnotation(Query::class.java)!! in query()
|
/cts/libs/input/src/com/android/cts/input/ |
D | DebugInputRule.kt | 109 description.getAnnotation(DebugInputRule.DebugInput::class.java) != null in shouldEnableInputDebugging()
|
/cts/common/device-side/nativetesthelper/src/com/android/gtestrunner/ |
D | GtestRunner.java | 51 TargetLibrary library = (TargetLibrary) testClass.getAnnotation(TargetLibrary.class); in GtestRunner()
|
/cts/hostsidetests/utils/src/android/cts/host/utils/ |
D | DeviceJUnit4ClassRunnerWithParameters.java | 110 if (desc.getAnnotation(Ignore.class) == null) { in getChildren()
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | TestHelper.java | 72 final Test annotation = method.getAnnotation(Test.class); in getTestMethod()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/ |
D | CameraPerformanceActivity.java | 195 Annotation an = method.getAnnotation((Class) org.junit.Test.class); in initializeTestCases()
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
D | CtsApiCoverage.java | 446 CddTest cddTest = m.getAnnotation(CddTest.class);
|
/cts/common/device-side/bedstead/testapp/src/processor/main/java/com/android/bedstead/testapp/processor/ |
D | Processor.java | 255 .getAnnotation(TestAppReceiver.class); in process()
|
/cts/tests/ondeviceintelligence/src/android/ondeviceintelligence/cts/ |
D | OnDeviceIntelligenceManagerTest.java | 1216 if (description.getAnnotation(SkipSetupAndTeardown.class) != null) {
|
/cts/tools/release-parser/tests/resources/ |
D | CtsJniTestCases.apk.pb.txt | 241 name: "getAnnotation" 3158 name: "getAnnotation" 3481 name: "getAnnotation"
|
D | Shell.apk.pb.txt | 525 name: "getAnnotation" 4967 name: "getAnnotation"
|