/cts/common/device-side/bedstead/harrier/src/main/java/com/android/bedstead/harrier/ |
D | BedsteadFrameworkMethod.java | 72 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
|
D | FrameworkMethodWithParameter.java | 143 public Annotation[] getAnnotations() { in getAnnotations() method in FrameworkMethodWithParameter 144 return mWrappedFrameworkMethod.getAnnotations(); in getAnnotations()
|
D | BedsteadJUnit4.java | 319 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()
|
D | DeviceState.java | 422 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…
|
D | Policy.java | 475 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/ |
D | CoreTestModeFilter.java | 74 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/ |
D | AnnotationManagement.java | 42 public List<ClassProfile> getAnnotations() { in getAnnotations() method in AnnotationManagement
|
D | MethodProfile.java | 169 for (ClassProfile annotation : annotationManagement.getAnnotations()) { in isJunit4Method()
|
D | ClassProfile.java | 190 for (ClassProfile annotation : annotationManagement.getAnnotations()) { in isJunit4Class()
|
/cts/tools/release-parser/src/com/android/cts/releaseparser/ |
D | TestSuiteParser.java | 238 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()
|
D | DexParser.java | 136 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/ |
D | TestCaseReport.java | 165 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()
|
D | CtsApiCoverage.java | 473 classDef.getAnnotations()); 478 cddCoverage, moduleName, className, methodName, method.getAnnotations());
|
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/ |
D | TestNgRunner.java | 218 Description child = Description.createTestDescription(cls, name, m.getAnnotations()); in generateTestNgDescription()
|
/cts/common/device-side/interactive/src/main/java/com/android/interactive/ |
D | Automator.java | 214 for (Annotation annotation : cls.getAnnotations()) { in getAutomationFor()
|
/cts/tests/jdwp/runner/device-side/src/com/android/compatibility/dalvik/ |
D | DalvikTestRunner.java | 257 for (Annotation a : cls.getAnnotations()) { in isTestClass()
|
/cts/tests/signature/lib/common/src/android/signature/cts/ |
D | ReflectionHelper.java | 473 for (Annotation a : elem.getAnnotations()) { in hasMatchingAnnotation()
|
/cts/tests/tests/print/printTestUtilLib/src/android/print/test/ |
D | BasePrintTest.java | 926 for (Annotation annotation : description.getAnnotations()) { in apply()
|
/cts/tools/release-parser/tests/resources/ |
D | CtsJniTestCases.apk.pb.txt | 246 name: "getAnnotations" 3163 name: "getAnnotations" 3486 name: "getAnnotations"
|