Searched refs:getAnnotations (Results 1 – 12 of 12) sorted by relevance
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | TestFilterHelper.java | 157 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/ |
D | ApiFile.java | 189 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/ |
D | JUnit4ResultForwarder.java | 99 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/ |
D | TestDescriptionTest.java | 62 assertEquals(2, mDescription.getAnnotations().size()); in testCreateDescription() 73 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 | 339 … val list = if (remaining != null) listOf(*remaining) else getAnnotations(reference) in <lambda>() 443 private fun getAnnotations(reference: PsiJavaCodeReferenceElementImpl): List<PsiAnnotation> { in <lambda>() method in com.android.tools.metalava.model.psi.PsiTypePrinter
|
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/ |
D | TestDescription.java | 98 public Collection<Annotation> getAnnotations() { in getAnnotations() method in TestDescription
|
/tools/tradefederation/core/src/com/android/tradefed/result/ |
D | JUnitToInvocationResultForwarder.java | 139 annotations = testMethod.getAnnotations(); in getTestId()
|
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/ |
D | IsolationFilter.java | 77 Collection<Annotation> annotations = desc.getAnnotations(); in checkAnnotations()
|
/tools/tradefederation/core/lite/com/android/tradefed/lite/ |
D | HostUtils.java | 233 && Arrays.asList(m.getAnnotations()) in hasJUnitAnnotation()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/ |
D | DeviceTestCaseTest.java | 219 assertFalse(desc.getAnnotations().isEmpty()); in testRun_checkAnnotation()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | HostTest.java | 746 for (Annotation a : description.getAnnotations()) { in findIgnoredClass()
|