Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java151 return shouldTestRun(Arrays.asList(annotatedElement.getAnnotations())); in shouldTestRun()
161 return shouldTestRun(desc.getAnnotations()); in shouldTestRun()
218 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()
222 if (isIncluded(Arrays.asList(classObj.getAnnotations())) in shouldRun()
223 && isExcluded(Arrays.asList(method.getAnnotations()))) { in shouldRun()
229 || !isIncluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()
/tools/tradefederation/core/src/com/android/tradefed/result/
DJUnit4ResultForwarder.java76 description.getAnnotations()); in testStarted()
86 description.getAnnotations()); in testFinished()
93 for (Annotation a : child.getAnnotations()) { in testFinished()
118 description.getAnnotations()); in testIgnored()
DTestDescription.java98 public Collection<Annotation> getAnnotations() { in getAnnotations() method in TestDescription
DJUnitToInvocationResultForwarder.java139 annotations = testMethod.getAnnotations(); in getTestId()
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DApiFile.java127 List<String> annotations = getAnnotations(tokenizer, token); in parsePackage()
165 List<String> annotations = getAnnotations(tokenizer, token); in parseClass()
296 …private static List<String> getAnnotations(Tokenizer tokenizer, String token) throws ApiParseExcep… in getAnnotations() method in ApiFile
344 List<String> annotations = getAnnotations(tokenizer, token); in parseConstructor()
377 List<String> annotations = getAnnotations(tokenizer, token); in parseMethod()
463 List<String> annotations = getAnnotations(tokenizer, token); in parseField()
668 List<String> annotations = getAnnotations(tokenizer, token); in parseProperty()
730 List<String> annotations = getAnnotations(tokenizer, token); in parseParameterList()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestDescriptionTest.java60 assertEquals(2, mDescription.getAnnotations().size()); in testCreateDescription()
71 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.kt342 … val list = if (remaining != null) Arrays.asList(*remaining) else getAnnotations(reference) in <lambda>()
446 private fun getAnnotations(reference: PsiJavaCodeReferenceElementImpl): List<PsiAnnotation> { in <lambda>() method in com.android.tools.metalava.model.psi.PsiTypePrinter
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/
DDeviceTestCaseTest.java210 assertFalse(desc.getAnnotations().isEmpty()); in testRun_checkAnnotation()