Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/util/
DTestFilterHelper.java160 return shouldTestRun(Arrays.asList(annotatedElement.getAnnotations())); in shouldTestRun()
170 return shouldTestRun(desc.getAnnotations()); in shouldTestRun()
228 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()
232 if (isIncluded(Arrays.asList(classObj.getAnnotations())) in shouldRun()
233 && isExcluded(Arrays.asList(method.getAnnotations()))) { in shouldRun()
239 || !isIncluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()
293 if (isExcluded(Arrays.asList(classObj.getAnnotations()))) { in shouldRun()
303 List<Annotation> annotations = new ArrayList<>(desc.getAnnotations()); in shouldRun()
304 annotations.addAll(Arrays.asList(classObj.getAnnotations())); in shouldRun()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DJUnit4ResultForwarder.java127 test.getAnnotations()); in testRunFinished()
149 description.getAnnotations()); in testStarted()
165 description.getAnnotations()); in testFinished()
176 for (Annotation a : child.getAnnotations()) { in testFinished()
197 description.getAnnotations()); in testIgnored()
254 for (Annotation a : child.getAnnotations()) { in pollLogsAndUpload()
/tools/tradefederation/core/javatests/com/android/tradefed/result/
DTestDescriptionTest.java82 assertEquals(2, mDescription.getAnnotations().size()); in testCreateDescription()
93 assertEquals(0, mDescription.getAnnotations().size()); in testCreateDescription_noAnnotation()
DJUnitToInvocationResultForwarderTest.java143 assertEquals(1, desc.getAnnotations().size()); in testStartTest_annotations()
145 assertTrue(desc.getAnnotations().iterator().next() instanceof MyCustomAnnotation); in testStartTest_annotations()
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DApiFile.kt407 val annotations = getAnnotations(tokenizer, token) in parsePackage()
459 val annotations = getAnnotations(tokenizer, token) in parseClass()
929 private fun getAnnotations( in getAnnotations() method
953 val annotations = getAnnotations(tokenizer, token) in parseConstructor()
1030 val annotations = getAnnotations(tokenizer, token) in parseMethod()
1136 val annotations = getAnnotations(tokenizer, token) in parseField()
1386 val annotations = getAnnotations(tokenizer, token) in parseProperty()
1529 val annotations = getAnnotations(tokenizer, token) in parseParameterList()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DTestDescription.java98 public Collection<Annotation> getAnnotations() { in getAnnotations() method in TestDescription
/tools/tradefederation/core/isolation/com/android/tradefed/isolation/
DIsolationFilter.java87 Collection<Annotation> annotations = desc.getAnnotations(); in checkAnnotations()
/tools/tradefederation/core/src/com/android/tradefed/result/
DJUnitToInvocationResultForwarder.java146 annotations = testMethod.getAnnotations(); in getTestId()
/tools/tradefederation/core/lite/com/android/tradefed/lite/
DHostUtils.java235 && Arrays.asList(m.getAnnotations()).stream() in hasJUnitAnnotation()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DDeviceTestCaseTest.java214 assertFalse(desc.getAnnotations().isEmpty()); in testRun_checkAnnotation()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DHostTest.java805 for (Annotation a : description.getAnnotations()) { in findIgnoredClass()