Home
last modified time | relevance | path

Searched refs:annotation (Results 1 – 25 of 5670) sorted by relevance

12345678910>>...227

/frameworks/base/core/java/com/android/internal/util/
DAnnotationValidations.java20 import android.annotation.AppIdInt;
21 import android.annotation.ColorInt;
22 import android.annotation.FloatRange;
23 import android.annotation.IntRange;
24 import android.annotation.NonNull;
25 import android.annotation.Size;
26 import android.annotation.UserIdInt;
33 import java.lang.annotation.Annotation;
50 public static void validate(Class<UserIdInt> annotation, UserIdInt ignored, int value) { in validate() argument
53 invalid(annotation, value); in validate()
[all …]
DDataClass.java18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;
26 import android.annotation.IntDef;
27 import android.annotation.Nullable;
28 import android.annotation.StringDef;
[all …]
/frameworks/base/tools/hoststubgen/hoststubgen/
Dhoststubgen-standard-options.txt15 # Note, each line is a single argument, so we need newlines after each `--xxx-annotation`.
16 --stub-annotation
17 android.hosttest.annotation.HostSideTestStub
19 --keep-annotation
20 android.hosttest.annotation.HostSideTestKeep
22 --stub-class-annotation
23 android.hosttest.annotation.HostSideTestWholeClassStub
25 --keep-class-annotation
26 android.hosttest.annotation.HostSideTestWholeClassKeep
28 --throw-annotation
[all …]
/frameworks/base/
DTEST_MAPPING7 "include-annotation": "android.platform.test.annotations.Presubmit"
10 "exclude-annotation": "androidx.test.filters.FlakyTest"
13 "exclude-annotation": "org.junit.Ignore"
23 "include-annotation": "android.platform.test.annotations.Presubmit"
26 "exclude-annotation": "androidx.test.filters.FlakyTest"
29 "exclude-annotation": "org.junit.Ignore"
39 "exclude-annotation": "androidx.test.filters.FlakyTest"
52 "exclude-annotation": "androidx.test.filters.FlakyTest"
55 "exclude-annotation": "org.junit.Ignore"
63 "exclude-annotation": "androidx.test.filters.FlakyTest"
[all …]
/frameworks/base/ravenwood/texts/
Dravenwood-standard-options.txt18 # Note, each line is a single argument, so we need newlines after each `--xxx-annotation`.
19 --keep-annotation
20 android.ravenwood.annotation.RavenwoodKeep
22 --keep-annotation
23 android.ravenwood.annotation.RavenwoodKeepPartialClass
25 --keep-class-annotation
26 android.ravenwood.annotation.RavenwoodKeepWholeClass
28 --throw-annotation
29 android.ravenwood.annotation.RavenwoodThrow
31 --remove-annotation
[all …]
/frameworks/base/tools/hoststubgen/hoststubgen/invoketest/
Dhoststubgen-invoke-test.sh50 ANNOTATION_FILTER=$TEMP/annotation-filter.txt
99 --stub-annotation \
100 android.hosttest.annotation.HostSideTestStub \
101 --keep-annotation \
102 android.hosttest.annotation.HostSideTestKeep \
103 --stub-class-annotation \
104 android.hosttest.annotation.HostSideTestWholeClassStub \
105 --keep-class-annotation \
106 android.hosttest.annotation.HostSideTestWholeClassKeep \
107 --throw-annotation \
[all …]
/frameworks/base/core/java/android/app/
DTEST_MAPPING22 "exclude-annotation": "androidx.test.filters.FlakyTest"
81 "exclude-annotation": "androidx.test.filters.FlakyTest"
93 "exclude-annotation": "androidx.test.filters.FlakyTest"
105 "exclude-annotation": "androidx.test.filters.FlakyTest"
108 "exclude-annotation": "android.platform.test.annotations.AppModeFull"
117 "exclude-annotation": "androidx.test.filters.FlakyTest"
129 "exclude-annotation": "androidx.test.filters.FlakyTest"
138 "include-annotation": "android.platform.test.annotations.Presubmit"
141 "exclude-annotation": "androidx.test.filters.LargeTest"
144 "exclude-annotation": "androidx.test.filters.FlakyTest"
[all …]
/frameworks/base/media/java/android/media/projection/
DIMediaProjectionManager.aidl53 @JavaPassthrough(annotation = "@android.annotation.RequiresPermission(android.Manifest"
72 @JavaPassthrough(annotation = "@android.annotation.RequiresPermission(android.Manifest"
81 @JavaPassthrough(annotation = "@android.annotation.RequiresPermission(android.Manifest"
98 @JavaPassthrough(annotation = "@android.annotation.RequiresPermission(android.Manifest"
102 @JavaPassthrough(annotation = "@android.annotation.RequiresPermission(android.Manifest"
107 @JavaPassthrough(annotation = "@android.annotation.RequiresPermission(android.Manifest"
112 @JavaPassthrough(annotation = "@android.annotation.RequiresPermission(android.Manifest"
117 @JavaPassthrough(annotation = "@android.annotation.RequiresPermission(android.Manifest"
122 @JavaPassthrough(annotation = "@android.annotation.RequiresPermission(android.Manifest"
126 @JavaPassthrough(annotation = "@android.annotation.RequiresPermission(android.Manifest"
[all …]
/frameworks/base/services/core/java/com/android/server/am/
DTEST_MAPPING13 "include-annotation": "android.platform.test.annotations.Presubmit"
16 "exclude-annotation": "androidx.test.filters.LargeTest"
19 "exclude-annotation": "androidx.test.filters.FlakyTest"
21 { "exclude-annotation": "org.junit.Ignore" }
28 "include-annotation": "android.platform.test.annotations.Presubmit"
31 "exclude-annotation": "androidx.test.filters.LargeTest"
34 "exclude-annotation": "androidx.test.filters.FlakyTest"
42 "include-annotation": "android.platform.test.annotations.Presubmit"
45 "exclude-annotation": "androidx.test.filters.LargeTest"
48 "exclude-annotation": "androidx.test.filters.FlakyTest"
[all …]
/frameworks/libs/modules-utils/java/android/annotation/
DCondemned.java17 package android.annotation;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.PARAMETER;
25 import static java.lang.annotation.ElementType.TYPE;
26 import static java.lang.annotation.RetentionPolicy.SOURCE;
28 import java.lang.annotation.Retention;
[all …]
DDeprecatedForSdk.java16 package android.annotation;
18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PACKAGE;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;
25 import static java.lang.annotation.RetentionPolicy.SOURCE;
27 import java.lang.annotation.Retention;
[all …]
DSystemApi.java17 package android.annotation;
19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.CONSTRUCTOR;
21 import static java.lang.annotation.ElementType.FIELD;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.TYPE;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.RetentionPolicy;
28 import java.lang.annotation.Target;
[all …]
DTestApi.java17 package android.annotation;
19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.CONSTRUCTOR;
21 import static java.lang.annotation.ElementType.FIELD;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.TYPE;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.RetentionPolicy;
28 import java.lang.annotation.Target;
DHide.java17 package android.annotation;
19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.CONSTRUCTOR;
21 import static java.lang.annotation.ElementType.FIELD;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PACKAGE;
24 import static java.lang.annotation.ElementType.TYPE;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.RetentionPolicy;
28 import java.lang.annotation.Target;
DSuppressAutoDoc.java17 package android.annotation;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;
25 import static java.lang.annotation.RetentionPolicy.SOURCE;
27 import java.lang.annotation.Retention;
28 import java.lang.annotation.Target;
DRequiresApi.java16 package android.annotation;
18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.METHOD;
21 import static java.lang.annotation.ElementType.PACKAGE;
22 import static java.lang.annotation.ElementType.TYPE;
23 import static java.lang.annotation.RetentionPolicy.CLASS;
25 import java.lang.annotation.Documented;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.Target;
DDimension.java17 package android.annotation;
19 import java.lang.annotation.Documented;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.Target;
23 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
24 import static java.lang.annotation.ElementType.FIELD;
25 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
26 import static java.lang.annotation.ElementType.METHOD;
27 import static java.lang.annotation.ElementType.PARAMETER;
28 import static java.lang.annotation.RetentionPolicy.SOURCE;
DRequiresNoPermission.java16 package android.annotation;
18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PARAMETER;
23 import static java.lang.annotation.RetentionPolicy.CLASS;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.Target;
DDiscouraged.java17 package android.annotation;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PARAMETER;
23 import static java.lang.annotation.ElementType.TYPE;
24 import static java.lang.annotation.RetentionPolicy.SOURCE;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.Target;
DFlaggedApi.java16 package android.annotation;
18 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.TYPE;
24 import java.lang.annotation.Retention;
25 import java.lang.annotation.RetentionPolicy;
26 import java.lang.annotation.Target;
/frameworks/base/core/java/android/annotation/
DSuppressLint.java16 package android.annotation;
18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.FIELD;
20 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.PARAMETER;
23 import static java.lang.annotation.ElementType.TYPE;
25 import java.lang.annotation.Retention;
26 import java.lang.annotation.RetentionPolicy;
27 import java.lang.annotation.Target;
/frameworks/base/errorprone/tests/res/android/annotation/
DSuppressLint.java17 package android.annotation;
19 import static java.lang.annotation.ElementType.CONSTRUCTOR;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.LOCAL_VARIABLE;
22 import static java.lang.annotation.ElementType.METHOD;
23 import static java.lang.annotation.ElementType.PARAMETER;
24 import static java.lang.annotation.ElementType.TYPE;
26 import java.lang.annotation.Retention;
27 import java.lang.annotation.RetentionPolicy;
28 import java.lang.annotation.Target;
/frameworks/base/packages/SystemUI/
DTEST_MAPPING10 // @PlatinumTest: Marking your test with this annotation will put your tests in presubmit.
11 // Please DO NOT annotate new or old tests with @PlatinumTest annotation
14 // @Postsubmit: Do not use this annotation for e2e tests. This won't have any affect.
27 "exclude-annotation": "org.junit.Ignore"
30 "exclude-annotation": "androidx.test.filters.FlakyTest"
39 "exclude-annotation": "org.junit.Ignore"
42 "exclude-annotation": "androidx.test.filters.FlakyTest"
54 "exclude-annotation": "org.junit.Ignore"
57 "exclude-annotation": "androidx.test.filters.FlakyTest"
103 "exclude-annotation": "org.junit.Ignore"
[all …]
/frameworks/base/core/java/com/android/internal/view/
DIInputMethodManager.aidl46 @JavaPassthrough(annotation="@android.annotation.RequiresPermission(value = "
50 @JavaPassthrough(annotation="@android.annotation.RequiresPermission(value = "
54 @JavaPassthrough(annotation="@android.annotation.RequiresPermission(value = "
59 @JavaPassthrough(annotation="@android.annotation.RequiresPermission(value = "
64 @JavaPassthrough(annotation="@android.annotation.RequiresPermission(value = "
68 @JavaPassthrough(annotation="@android.annotation.RequiresPermission(value = "
73 @JavaPassthrough(annotation="@android.annotation.RequiresPermission(value = "
89 @JavaPassthrough(annotation="@android.annotation.RequiresPermission(value = "
97 @JavaPassthrough(annotation="@android.annotation.RequiresPermission(value = "
112 @JavaPassthrough(annotation="@android.annotation.RequiresPermission(value = "
[all …]
/frameworks/opt/car/services/builtInServices/src/com/android/annotation/
DAddedIn.java17 package com.android.annotation;
19 import static java.lang.annotation.ElementType.ANNOTATION_TYPE;
20 import static java.lang.annotation.ElementType.FIELD;
21 import static java.lang.annotation.ElementType.METHOD;
22 import static java.lang.annotation.ElementType.TYPE;
23 import static java.lang.annotation.RetentionPolicy.RUNTIME;
25 import android.car.builtin.annotation.PlatformVersion;
27 import java.lang.annotation.Retention;
28 import java.lang.annotation.Target;

12345678910>>...227