/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/libs/net/common/devicetests/com/android/testutils/ |
D | DevSdkIgnoreRunner.kt | 46 val ignoreAfter = it.getAnnotation(IgnoreAfter::class.java) in <lambda>() 47 val ignoreUpTo = it.getAnnotation(IgnoreUpTo::class.java) in <lambda>()
|
D | DevSdkIgnoreRule.kt | 80 val ignoreAfter = description.getAnnotation(IgnoreAfter::class.java) in evaluate() 81 val ignoreUpTo = description.getAnnotation(IgnoreUpTo::class.java) in evaluate()
|
D | ConcurrentInterpreter.kt | 134 .any { method -> method.getAnnotation(org.junit.Test::class.java) != null } in <lambda>()
|
/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 | 563 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/core/java/android/hardware/camera2/ |
D | CameraMetadata.java | 248 if (field.getAnnotation(PublicKey.class) == null) { in shouldKeyBeAdded() 258 if (field.getAnnotation(SyntheticKey.class) != null) { in shouldKeyBeAdded()
|
/frameworks/base/core/java/android/os/health/ |
D | HealthKeys.java | 110 final Constant constant = field.getAnnotation(annotationClass); in Constants()
|
/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/view/ |
D | ViewDebug.java | 1315 sAnnotations.put(field, field.getAnnotation(ExportedProperty.class)); 1359 sAnnotations.put(method, method.getAnnotation(ExportedProperty.class)); 1703 return clazz.getDeclaredField(field).getAnnotation(ExportedProperty.class) 1712 return clazz.getDeclaredField(field).getAnnotation(ExportedProperty.class).mapping(); 1878 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 | 787 int numIterations = testMethod.getAnnotation( in startTest()
|
/frameworks/base/core/java/android/os/ |
D | Debug.java | 2290 if (!partial || field.getAnnotation(DebugProperty.class) != null) { in setFieldsOn()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsBackupTest.java | 801 && field.getAnnotation(Deprecated.class) == null; in looksLikeValidSetting()
|
/frameworks/base/test-runner/api/ |
D | current.txt | 274 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/non-updatable-api/ |
D | current.txt | 61093 …method @Nullable public <A extends java.lang.annotation.Annotation> A getAnnotation(@NonNull Class… 61690 method public <A extends java.lang.annotation.Annotation> A getAnnotation(Class<A>); 62675 …method @Nullable public <T extends java.lang.annotation.Annotation> T getAnnotation(@NonNull Class… 62684 …method @Nullable public <T extends java.lang.annotation.Annotation> T getAnnotation(@NonNull Class… 62867 …method @Nullable public <T extends java.lang.annotation.Annotation> T getAnnotation(@NonNull Class…
|