Searched refs:getAnnotations (Results 1 – 9 of 9) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestFilterHelper.java | 151 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/ |
D | JUnit4ResultForwarder.java | 76 description.getAnnotations()); in testStarted() 86 description.getAnnotations()); in testFinished() 93 for (Annotation a : child.getAnnotations()) { in testFinished() 118 description.getAnnotations()); in testIgnored()
|
D | TestDescription.java | 98 public Collection<Annotation> getAnnotations() { in getAnnotations() method in TestDescription
|
D | JUnitToInvocationResultForwarder.java | 139 annotations = testMethod.getAnnotations(); in getTestId()
|
/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/ |
D | ApiFile.java | 127 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/ |
D | TestDescriptionTest.java | 60 assertEquals(2, mDescription.getAnnotations().size()); in testCreateDescription() 71 assertEquals(0, mDescription.getAnnotations().size()); in testCreateDescription_noAnnotation()
|
D | JUnitToInvocationResultForwarderTest.java | 128 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/ |
D | PsiTypePrinter.kt | 342 … 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/ |
D | DeviceTestCaseTest.java | 210 assertFalse(desc.getAnnotations().isEmpty()); in testRun_checkAnnotation()
|