Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java157 return shouldTestRun(Arrays.asList(annotatedElement.getAnnotations())); in shouldTestRun()
167 return shouldTestRun(desc.getAnnotations()); in shouldTestRun()
224 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()
228 if (isIncluded(Arrays.asList(classObj.getAnnotations())) in shouldRun()
229 && isExcluded(Arrays.asList(method.getAnnotations()))) { in shouldRun()
235 || !isIncluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()
271 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DApiFile.java189 List<String> annotations = getAnnotations(tokenizer, token); in parsePackage()
248 List<String> annotations = getAnnotations(tokenizer, token); in parseClass()
392 …private static List<String> getAnnotations(Tokenizer tokenizer, String token) throws ApiParseExcep… in getAnnotations() method in ApiFile
440 List<String> annotations = getAnnotations(tokenizer, token); in parseConstructor()
473 List<String> annotations = getAnnotations(tokenizer, token); in parseMethod()
559 List<String> annotations = getAnnotations(tokenizer, token); in parseField()
764 List<String> annotations = getAnnotations(tokenizer, token); in parseProperty()
826 List<String> annotations = getAnnotations(tokenizer, token); in parseParameterList()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DJUnit4ResultForwarder.java99 description.getAnnotations()); in testStarted()
109 description.getAnnotations()); in testFinished()
116 for (Annotation a : child.getAnnotations()) { in testFinished()
141 description.getAnnotations()); in testIgnored()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestDescriptionTest.java62 assertEquals(2, mDescription.getAnnotations().size()); in testCreateDescription()
73 assertEquals(0, mDescription.getAnnotations().size()); in testCreateDescription_noAnnotation()
DJUnitToInvocationResultForwarderTest.java128 assertEquals(1, desc.getAnnotations().size()); in testStartTest_annotations()
130 assertTrue(desc.getAnnotations().iterator().next() instanceof MyCustomAnnotation); in testStartTest_annotations()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypePrinter.kt339 … val list = if (remaining != null) listOf(*remaining) else getAnnotations(reference) in <lambda>()
443 private fun getAnnotations(reference: PsiJavaCodeReferenceElementImpl): List<PsiAnnotation> { in <lambda>() method
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DTestDescription.java98 public Collection<Annotation> getAnnotations() { in getAnnotations() method in TestDescription
/tools/tradefederation/core/src/com/android/tradefed/result/
DJUnitToInvocationResultForwarder.java139 annotations = testMethod.getAnnotations(); in getTestId()
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationFilter.java77 Collection<Annotation> annotations = desc.getAnnotations(); in checkAnnotations()
/tools/tradefederation/core/lite/com/android/tradefed/lite/
DHostUtils.java233 && Arrays.asList(m.getAnnotations()) in hasJUnitAnnotation()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DDeviceTestCaseTest.java219 assertFalse(desc.getAnnotations().isEmpty()); in testRun_checkAnnotation()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java746 for (Annotation a : description.getAnnotations()) { in findIgnoredClass()