Home
last modified time | relevance | path

Searched refs:getAnnotations (Results 1 – 19 of 19) sorted by relevance

/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/
DBedsteadFrameworkMethod.java72 new ArrayList<>(Arrays.asList(getDeclaringClass().getAnnotations())); in calculateAnnotations()
75 annotations.addAll(Arrays.stream(getMethod().getAnnotations()) in calculateAnnotations()
147 public Annotation[] getAnnotations() { in getAnnotations() method in BedsteadFrameworkMethod
DFrameworkMethodWithParameter.java143 public Annotation[] getAnnotations() { in getAnnotations() method in FrameworkMethodWithParameter
144 return mWrappedFrameworkMethod.getAnnotations(); in getAnnotations()
DBedsteadJUnit4.java319 return annotation.annotationType().getAnnotations(); in getIndirectAnnotations()
600 new ArrayList<>(Arrays.asList(parameter.getAnnotations())); in generateGeneralParameterisationMethods()
837 for (Annotation annotation : method.getAnnotations()) { in countAnnotations()
850 for (Annotation annotation : method.getAnnotations()) { in mapAnnotationsCost()
860 List<Annotation> annotations = new ArrayList<>(Arrays.asList(method.getAnnotations())); in getParameterizedAnnotations()
DDeviceState.java422 List<Annotation> annotations = getAnnotations(description);
911 private List<Annotation> getAnnotations(Description description) {
914 return new ArrayList<>(description.getAnnotations());
923 new ArrayList<>(Arrays.asList(description.getTestClass().getAnnotations()));
926 annotations.addAll(description.getAnnotations());
998 List<Annotation> annotations = new ArrayList<>(getAnnotations(description));
1056 …if (Arrays.stream(method.getAnnotations()).anyMatch((i) -> i.annotationType().getCanonicalName().e…
DPolicy.java475 Annotation[] existingAnnotations = annotation.annotationType().getAnnotations();
492 annotation.annotationType().getAnnotations(), EnsureHasNoDelegate.class);
764 … IncludeRunOnSystemDeviceOwnerUser.class.getAnnotations(), EnsureHasNoDelegate.class);
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/filter/
DCoreTestModeFilter.java74 if (isAnnotated(description.getAnnotations())) { in test()
80 if (testClass != null && isAnnotated(Arrays.asList(testClass.getAnnotations()))) { in test()
/cts/tools/cts-api-coverage/src/com/android/cts/ctsprofiles/
DAnnotationManagement.java42 public List<ClassProfile> getAnnotations() { in getAnnotations() method in AnnotationManagement
DMethodProfile.java169 for (ClassProfile annotation : annotationManagement.getAnnotations()) { in isJunit4Method()
DClassProfile.java190 for (ClassProfile annotation : annotationManagement.getAnnotations()) { in isJunit4Class()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DTestSuiteParser.java238 method.getAnnotations(), SUPPRESS_ANNOTATION_TAG)) { in parseApkTestCase()
246 method.getAnnotations(), TEST_ANNOTATION_TAG)) { in parseApkTestCase()
265 if (hasAnnotation(method.getAnnotations(), TEST_ANNOTATION_TAG)) { in parseApkTestCase()
277 if (hasAnnotation(method.getAnnotations(), TEST_ANNOTATION_TAG)) { in parseApkTestCase()
373 for (Annotation annotation : classDef.getAnnotations()) { in chkTestClassType()
DDexParser.java136 List<ApiAnnotation> annLst = getAnnotationList(classDef.getAnnotations()); in parse()
146 annLst = getAnnotationList(dxField.getAnnotations()); in parse()
162 annLst = getAnnotationList(dxMethod.getAnnotations()); in parse()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DTestCaseReport.java165 for (Annotation annotation : classDef.getAnnotations()) { in chkTestType()
239 method.getAnnotations(), SUPPRESS_ANNOTATION_TAG)) { in parseApkTestCase()
241 System.err.println(method.getAnnotations()); in parseApkTestCase()
259 if (hasAnnotation(method.getAnnotations(), TEST_ANNOTATION_TAG)) { in parseApkTestCase()
276 if (hasAnnotation(method.getAnnotations(), TEST_ANNOTATION_TAG)) { in parseApkTestCase()
DCtsApiCoverage.java473 classDef.getAnnotations());
478 cddCoverage, moduleName, className, methodName, method.getAnnotations());
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DTestNgRunner.java218 Description child = Description.createTestDescription(cls, name, m.getAnnotations()); in generateTestNgDescription()
/cts/common/device-side/interactive/src/main/java/com/android/interactive/
DAutomator.java214 for (Annotation annotation : cls.getAnnotations()) { in getAutomationFor()
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/
DDalvikTestRunner.java257 for (Annotation a : cls.getAnnotations()) { in isTestClass()
/cts/tests/signature/lib/common/src/android/signature/cts/
DReflectionHelper.java473 for (Annotation a : elem.getAnnotations()) { in hasMatchingAnnotation()
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/
DBasePrintTest.java926 for (Annotation annotation : description.getAnnotations()) { in apply()
/cts/tools/release-parser/tests/resources/
DCtsJniTestCases.apk.pb.txt246 name: "getAnnotations"
3163 name: "getAnnotations"
3486 name: "getAnnotations"