Home
last modified time | relevance | path

Searched refs:getAnnotation (Results 1 – 15 of 15) sorted by relevance

/frameworks/testing/support/src/android/support/test/internal/runner/listener/
DSuiteAssignmentPrinter.java105 if (desc.getAnnotation(SmallTest.class) != null) { in getTestSizeFromMethod()
107 } else if (desc.getAnnotation(MediumTest.class) != null) { in getTestSizeFromMethod()
109 } else if (desc.getAnnotation(LargeTest.class) != null) { in getTestSizeFromMethod()
/frameworks/base/tools/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java94 if (originalMethod.getAnnotation(LayoutlibDelegate.class) == null) { in compare()
137 if (delegateMethod.getAnnotation(LayoutlibDelegate.class) == null) { in compare()
172 if (delegateMethod.getAnnotation(LayoutlibDelegate.class) == null) { in compare()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestMethod.java58 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() method in TestMethod
60 return getEnclosingClass().getMethod(getName()).getAnnotation(annotationClass); in getAnnotation()
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java66 runCount = method.getAnnotation(FlakyTest.class).tolerance(); in runTest()
68 runCount = method.getAnnotation(RepetitiveTest.class).numIterations(); in runTest()
/frameworks/base/test-runner/src/android/test/suitebuilder/annotation/
DHasMethodAnnotation.java39 return testMethod.getAnnotation(annotationClass) != null; in apply()
DHasClassAnnotation.java39 return testMethod.getEnclosingClass().getAnnotation(annotationClass) != null; in apply()
/frameworks/testing/support/src/android/support/test/internal/runner/
DTestRequestBuilder.java157 return description.getAnnotation(mAnnotationClass) != null || in evaluateTest()
194 if (description.getAnnotation(getAnnotationClass()) != null) { in evaluateTest()
225 || (description.getAnnotation(mAnnotationClass) != null)) { in evaluateTest()
252 final SdkSuppress s = description.getAnnotation(SdkSuppress.class); in getAnnotationForTest()
258 return testClass.getAnnotation(SdkSuppress.class); in getAnnotationForTest()
/frameworks/base/core/java/android/test/
DInstrumentationTestCase.java175 runCount = method.getAnnotation(FlakyTest.class).tolerance(); in runTest()
177 runCount = method.getAnnotation(RepetitiveTest.class).numIterations(); in runTest()
/frameworks/base/core/java/android/hardware/camera2/
DCameraMetadata.java199 if (field.getAnnotation(PublicKey.class) == null) { in shouldKeyBeAdded()
209 if (field.getAnnotation(SyntheticKey.class) != null) { in shouldKeyBeAdded()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilter.java563 if ((annotation = field.getAnnotation(GenerateFinalPort.class)) != null) { in addAndSetFinalPorts()
583 if ((annotation = field.getAnnotation(GenerateFieldPort.class)) != null) { in addAnnotatedPorts()
586 } else if ((annotation = field.getAnnotation(GenerateProgramPort.class)) != null) { in addAnnotatedPorts()
589 } else if ((annotation = field.getAnnotation(GenerateProgramPorts.class)) != null) { in addAnnotatedPorts()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java782 int numIterations = testMethod.getAnnotation( in startTest()
811 mIncludeDetailedStats = testMethod.getAnnotation( in startTest()
815 mIncludeDetailedStats = test.getClass().getAnnotation( in startTest()
/frameworks/testing/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java298 int numIterations = testMethod.getAnnotation(RepetitiveTest.class) in startTest()
/frameworks/base/core/java/android/view/
DViewDebug.java1017 sAnnotations.put(field, field.getAnnotation(ExportedProperty.class)); in getExportedPropertyFields()
1053 sAnnotations.put(method, method.getAnnotation(ExportedProperty.class)); in getExportedPropertyMethods()
1496 CapturedViewProperty property = method.getAnnotation(CapturedViewProperty.class); in capturedViewExportMethods()
/frameworks/base/core/java/android/os/
DDebug.java1543 if (!partial || field.getAnnotation(DebugProperty.class) != null) { in setFieldsOn()
/frameworks/base/api/
Dcurrent.txt29243 method public T getAnnotation(java.lang.Class<T>);
40878 method public A getAnnotation(java.lang.Class<A>);
41407 method public A getAnnotation(java.lang.Class<A>);
42123 method public T getAnnotation(java.lang.Class<T>);
42133 method public abstract T getAnnotation(java.lang.Class<T>);
42164 method public A getAnnotation(java.lang.Class<A>);
42182 method public A getAnnotation(java.lang.Class<A>);
42247 method public A getAnnotation(java.lang.Class<A>);