/frameworks/base/tests/testables/src/android/testing/ |
D | AndroidTestingRunner.java | 75 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/ |
D | TestPredicates.java | 55 return testMethod.getAnnotation(annotationClass) != null || in apply() 56 testMethod.getEnclosingClass().getAnnotation(annotationClass) != null; in apply()
|
D | TestMethod.java | 62 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/ |
D | PerformanceRunner.java | 43 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/ |
D | TestDelegates.java | 95 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/ |
D | BandwidthTestCase.java | 66 runCount = method.getAnnotation(FlakyTest.class).tolerance(); in runTest() 68 runCount = method.getAnnotation(RepetitiveTest.class).numIterations(); in runTest()
|
/frameworks/base/test-base/src/android/test/ |
D | InstrumentationTestCase.java | 181 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/ |
D | Filter.java | 567 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/ |
D | CameraMetadata.java | 242 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/ |
D | OptionalClassRunner.java | 49 OptionalClass annotation = testClass.getAnnotation(OptionalClass.class); in OptionalClassRunner()
|
/frameworks/base/core/java/android/os/health/ |
D | HealthKeys.java | 110 final Constant constant = field.getAnnotation(annotationClass); in Constants()
|
/frameworks/base/tools/processors/unsupportedappusage/src/android/processor/unsupportedappusage/ |
D | SignatureBuilder.java | 195 UnsupportedAppUsage uba = element.getAnnotation(UnsupportedAppUsage.class); in buildSignature()
|
/frameworks/base/core/java/android/view/ |
D | ViewDebug.java | 1236 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/ |
D | IndexableProcessor.java | 113 SearchIndexable searchIndexable = element.getAnnotation(SearchIndexable.class); in process()
|
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestRunner.java | 298 int numIterations = testMethod.getAnnotation(RepetitiveTest.class) in startTest()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | RawBatteryStats.java | 1127 final Line lineAnnotation = cl.getAnnotation(Line.class); 1132 final Field fa = field.getAnnotation(Field.class);
|
/frameworks/base/test-runner/src/android/test/ |
D | InstrumentationTestRunner.java | 788 int numIterations = testMethod.getAnnotation( in startTest()
|
/frameworks/base/core/java/android/os/ |
D | Debug.java | 2300 if (!partial || field.getAnnotation(DebugProperty.class) != null) { in setFieldsOn()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsBackupTest.java | 786 && field.getAnnotation(Deprecated.class) == null; in looksLikeValidSetting()
|
/frameworks/base/test-runner/api/ |
D | current.txt | 266 method @Deprecated public <T extends java.lang.annotation.Annotation> T getAnnotation(Class<T>);
|
/frameworks/base/core/java/android/widget/ |
D | RemoteViews.java | 947 method.getAnnotation(RemotableViewMethod.class).asyncImpl(); in getMethod()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 29422 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/ |
D | current.txt | 59729 …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/ |
D | boot-image-profile.txt | 26357 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;
|