Home
last modified time | relevance | path

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

/frameworks/base/tests/testables/src/android/testing/
DAndroidTestingRunner.java75 long timeout = this.getTimeout(method.getAnnotation(Test.class)); in withPotentialTimeout()
89 RunWithLooper annotation = method.getAnnotation(RunWithLooper.class); in looperWrap()
90 if (annotation == null) annotation = mKlass.getAnnotation(RunWithLooper.class); in looperWrap()
103 RunWithLooper annotation = method.getAnnotation(RunWithLooper.class); in looperWrap()
104 if (annotation == null) annotation = mKlass.getAnnotation(RunWithLooper.class); in looperWrap()
112 if (mKlass.getAnnotation(UiThreadTest.class) != null) { in shouldRunOnUiThread()
/frameworks/base/test-runner/src/android/test/suitebuilder/
DTestPredicates.java55 return testMethod.getAnnotation(annotationClass) != null || in apply()
56 testMethod.getEnclosingClass().getAnnotation(annotationClass) != null; in apply()
DTestMethod.java62 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation() method in TestMethod
64 return getEnclosingClass().getMethod(getName()).getAnnotation(annotationClass); in getAnnotation()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/perf/
DPerformanceRunner.java43 Configuration classConfig = testClass.getAnnotation(Configuration.class); in PerformanceRunner()
57 Configuration methodConfig = method.getAnnotation(Configuration.class); in methodInvoker()
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/
DTestDelegates.java95 if (originalMethod.getAnnotation(LayoutlibDelegate.class) == null) { in compare()
138 if (delegateMethod.getAnnotation(LayoutlibDelegate.class) == null) { in compare()
173 if (delegateMethod.getAnnotation(LayoutlibDelegate.class) == null) { in compare()
/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-base/src/android/test/
DInstrumentationTestCase.java181 runCount = method.getAnnotation(FlakyTest.class).tolerance(); in runTest()
183 runCount = method.getAnnotation(RepetitiveTest.class).numIterations(); in runTest()
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
DFilter.java567 if ((annotation = field.getAnnotation(GenerateFinalPort.class)) != null) { in addAndSetFinalPorts()
587 if ((annotation = field.getAnnotation(GenerateFieldPort.class)) != null) { in addAnnotatedPorts()
590 } else if ((annotation = field.getAnnotation(GenerateProgramPort.class)) != null) { in addAnnotatedPorts()
593 } else if ((annotation = field.getAnnotation(GenerateProgramPorts.class)) != null) { in addAnnotatedPorts()
/frameworks/base/core/java/android/hardware/camera2/
DCameraMetadata.java242 if (field.getAnnotation(PublicKey.class) == null) { in shouldKeyBeAdded()
252 if (field.getAnnotation(SyntheticKey.class) != null) { in shouldKeyBeAdded()
/frameworks/base/core/tests/coretests/src/android/content/pm/
DOptionalClassRunner.java49 OptionalClass annotation = testClass.getAnnotation(OptionalClass.class); in OptionalClassRunner()
/frameworks/base/core/java/android/os/health/
DHealthKeys.java110 final Constant constant = field.getAnnotation(annotationClass); in Constants()
/frameworks/base/tools/processors/unsupportedappusage/src/android/processor/unsupportedappusage/
DSignatureBuilder.java195 UnsupportedAppUsage uba = element.getAnnotation(UnsupportedAppUsage.class); in buildSignature()
/frameworks/base/core/java/android/view/
DViewDebug.java1236 sAnnotations.put(field, field.getAnnotation(ExportedProperty.class));
1280 sAnnotations.put(method, method.getAnnotation(ExportedProperty.class));
1623 return clazz.getDeclaredField(field).getAnnotation(ExportedProperty.class)
1632 return clazz.getDeclaredField(field).getAnnotation(ExportedProperty.class).mapping();
1798 CapturedViewProperty property = method.getAnnotation(CapturedViewProperty.class);
/frameworks/base/packages/SettingsLib/search/processor-src/com/android/settingslib/search/
DIndexableProcessor.java113 SearchIndexable searchIndexable = element.getAnnotation(SearchIndexable.class); in process()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java298 int numIterations = testMethod.getAnnotation(RepetitiveTest.class) in startTest()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java1127 final Line lineAnnotation = cl.getAnnotation(Line.class);
1132 final Field fa = field.getAnnotation(Field.class);
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java788 int numIterations = testMethod.getAnnotation( in startTest()
/frameworks/base/core/java/android/os/
DDebug.java2300 if (!partial || field.getAnnotation(DebugProperty.class) != null) { in setFieldsOn()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsBackupTest.java786 && field.getAnnotation(Deprecated.class) == null; in looksLikeValidSetting()
/frameworks/base/test-runner/api/
Dcurrent.txt266 method @Deprecated public <T extends java.lang.annotation.Annotation> T getAnnotation(Class<T>);
/frameworks/base/core/java/android/widget/
DRemoteViews.java947 method.getAnnotation(RemotableViewMethod.class).asyncImpl(); in getMethod()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt29422 method public T getAnnotation(java.lang.Class<T>);
41086 method public A getAnnotation(java.lang.Class<A>);
41615 method public A getAnnotation(java.lang.Class<A>);
42331 method public T getAnnotation(java.lang.Class<T>);
42341 method public abstract T getAnnotation(java.lang.Class<T>);
42372 method public A getAnnotation(java.lang.Class<A>);
42390 method public A getAnnotation(java.lang.Class<A>);
42455 method public A getAnnotation(java.lang.Class<A>);
/frameworks/base/api/
Dcurrent.txt59729 …method @Nullable public <A extends java.lang.annotation.Annotation> A getAnnotation(@NonNull Class…
60326 method public <A extends java.lang.annotation.Annotation> A getAnnotation(Class<A>);
61311 …method @Nullable public <T extends java.lang.annotation.Annotation> T getAnnotation(@NonNull Class…
61320 …method @Nullable public <T extends java.lang.annotation.Annotation> T getAnnotation(@NonNull Class…
61503 …method @Nullable public <T extends java.lang.annotation.Annotation> T getAnnotation(@NonNull Class…
/frameworks/base/config/
Dboot-image-profile.txt26357 HSPLjava/lang/Class;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
26967 HSPLjava/lang/reflect/Field;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
26976 HSPLjava/lang/reflect/Method;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;