Home
last modified time | relevance | path

Searched refs:Annotation (Results 1 – 25 of 190) sorted by relevance

12345678

/aosp12/packages/apps/TV/libs/m2/
H A Dchecker-qual-2.8.1.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/checkerframework/ org/ ...
H A Djsr305-3.0.2.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/annotation/ javax/ ...
H A Derror_prone_annotations-2.3.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
H A Ddagger-2.23.jarMETA-INF/ META-INF/MANIFEST.MF dagger/ dagger/Binds.class Binds ...
H A Dj2objc-annotations-1.3.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/aosp12/packages/apps/TV/libs/
H A Djavax.annotation-api-1.2.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/annotation/ javax/ ...
/aosp12/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
H A DRichTextViewTest.java32 import android.text.Annotation;
51 Annotation link = new Annotation("link", "foobar"); in testLinkAnnotation()
63 Object[] spans = ((Spanned) text).getSpans(0, text.length(), Annotation.class); in testLinkAnnotation()
76 Annotation link = new Annotation("link", "foobar"); in testOnLinkClickListener()
98 Annotation link = new Annotation("link", "foobar"); in testLegacyContextOnClickListener()
116 Annotation link = new Annotation("link", "foobar"); in onTouchEvent_clickOnLinks_shouldReturnTrue()
134 Annotation link = new Annotation("link", "foobar"); in onTouchEvent_clickOutsideLinks_shouldReturnFalse()
152 Annotation link = new Annotation("textAppearance", "foobar"); in testTextStyle()
162 Object[] spans = ((Spanned) text).getSpans(0, text.length(), Annotation.class); in testTextStyle()
172 Annotation testLink = new Annotation("link", "value"); in testTextContainingLinksAreFocusable()
[all …]
/aosp12/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/
H A DTestApplication.java21 import java.lang.annotation.Annotation;
26 public static Annotation annotation = getAnnotationWithEnum();
27 public static Annotation annotation2 = getSoleAnnotation(Annotated.class);
28 public static Annotation annotation3 = getSoleAnnotation(Annotated2.class);
31 public static Annotation getAnnotationWithEnum() { in getAnnotationWithEnum()
35 public static Annotation getSoleAnnotation(Class<?> annotated) { in getSoleAnnotation()
36 Annotation[] annot = annotated.getAnnotations(); in getSoleAnnotation()
/aosp12/frameworks/base/core/java/com/android/internal/util/
H A DAnnotationValidations.java33 import java.lang.annotation.Annotation;
175 public static void validate(Class<? extends Annotation> annotation, in validate()
176 Annotation ignored, Object value, Object... params) {} in validate()
178 public static void validate(Class<? extends Annotation> annotation, in validate()
179 Annotation ignored, Object value) {} in validate()
181 public static void validate(Class<? extends Annotation> annotation, in validate()
182 Annotation ignored, int value, Object... params) {} in validate()
183 public static void validate(Class<? extends Annotation> annotation, in validate()
184 Annotation ignored, int value) { in validate()
193 public static void validate(Class<? extends Annotation> annotation, in validate()
[all …]
/aosp12/art/test/005-annotations/src/android/test/anno/
H A DTestAnnotations.java19 import java.lang.annotation.Annotation;
33 TreeMap<String, Annotation> sorted = in printAnnotationArray()
34 new TreeMap<String, Annotation>(); in printAnnotationArray()
36 for (Annotation a : arr) { in printAnnotationArray()
40 for (Annotation a : sorted.values()) { in printAnnotationArray()
47 Annotation[] annos; in printAnnotations()
48 Annotation[][] parAnnos; in printAnnotations()
62 for (Annotation[] pannos: c.getParameterAnnotations()) { in printAnnotations()
73 for (Annotation[] pannos: m.getParameterAnnotations()) { in printAnnotations()
122 Annotation[] annotations; in testArrays()
[all …]
/aosp12/art/test/715-clinit-implicit-parameter-annotations/src/
H A DMain.java17 import java.lang.annotation.Annotation;
102 private static String annotationToNormalizedString(Annotation annotation) { in annotationToNormalizedString()
111 Annotation[][] annotations = c.getParameterAnnotations(); in DumpConstructorParameterAnnotations()
117 for (Annotation annotation : parameters[i].getAnnotations()) { in DumpConstructorParameterAnnotations()
120 for (Annotation annotation : annotations[i]) { in DumpConstructorParameterAnnotations()
129 Class<? extends Annotation> annotationClass = in DumpConstructorParameterAnnotations()
130 (Class<? extends Annotation>) opaqueClass; in DumpConstructorParameterAnnotations()
131 Annotation annotation = parameters[i].getDeclaredAnnotation(annotationClass); in DumpConstructorParameterAnnotations()
135Annotation[] parameterAnnotations = parameters[i].getDeclaredAnnotationsByType(annotationClass); in DumpConstructorParameterAnnotations()
136 for (Annotation parameterAnnotation : parameterAnnotations) { in DumpConstructorParameterAnnotations()
/aosp12/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DSpanHelperTest.java22 import android.text.Annotation;
37 Annotation oldSpan = new Annotation("key", "value"); in testReplaceSpan()
38 Annotation newSpan = new Annotation("newkey", "newvalue"); in testReplaceSpan()
/aosp12/system/tools/hidl/
H A DAnnotation.cpp72 Annotation::Annotation(const std::string& name, AnnotationParamVector* params) in Annotation() function in android::Annotation
75 std::string Annotation::name() const { in name()
79 const AnnotationParamVector &Annotation::params() const { in params()
83 const AnnotationParam *Annotation::getParam(const std::string &name) const { in getParam()
93 void Annotation::dump(Formatter &out) const { in dump()
H A DScope.h30 struct Annotation;
61 const std::vector<Annotation*>& annotations() const;
63 void setAnnotations(std::vector<Annotation*>* annotations);
94 std::vector<Annotation*> mAnnotations;
H A DMethod.h37 struct Annotation;
57 std::vector<Annotation*>* annotations, const Location& location);
68 const std::vector<Annotation *> &annotations() const;
117 std::vector<Annotation *> *mAnnotations;
H A DAnnotation.h62 struct Annotation { struct
63 Annotation(const std::string& name, AnnotationParamVector* params);
75 DISALLOW_COPY_AND_ASSIGN(Annotation);
/aosp12/packages/apps/Settings/src/com/android/settings/utils/
H A DAnnotationSpan.java22 import android.text.Annotation;
61 Annotation[] spans = msg.getSpans(0, msg.length(), Annotation.class); in linkify()
63 for (Annotation annotation : spans) { in linkify()
86 Annotation[] spans = msg.getSpans(0, msg.length(), Annotation.class); in textWithoutLink()
92 for (Annotation span : spans) { in textWithoutLink()
/aosp12/art/test/048-reflect-v8/src/
H A DAnnotationTest.java17 import java.lang.annotation.Annotation;
130 private static <A extends Annotation> void printAnnotationsByType(Class<A> annotationClass, in printAnnotationsByType()
142 private static <A extends Annotation> void printDeclaredAnnotation(Class<?> annotationUseClass, in printDeclaredAnnotation()
154 private static <A extends Annotation> void printDeclaredAnnotationsByType( in printDeclaredAnnotationsByType()
194 private static <A extends Annotation> void printMethodAnnotationsByType(Class<A> annotationClass, in printMethodAnnotationsByType()
234 private static <A extends Annotation> void printMethodDeclaredAnnotation(Class<A> annotationClass, in printMethodDeclaredAnnotation()
242 Annotation annotationsByType = m.getDeclaredAnnotation(annotationClass); in printMethodDeclaredAnnotation()
275 private static <A extends Annotation> void printMethodDeclaredAnnotationByType( in printMethodDeclaredAnnotationByType()
H A DAnnotationTestHelpers.java17 import java.lang.annotation.Annotation;
24 public static String asString(Annotation anno) { in asString()
38 public static String asString(Annotation[] annos) { in asString()
/aosp12/frameworks/base/test-runner/src/android/test/suitebuilder/
H A DTestPredicates.java23 import java.lang.annotation.Annotation;
41 public static Predicate<TestMethod> hasAnnotation(Class<? extends Annotation> annotationClass) { in hasAnnotation()
47 private final Class<? extends Annotation> annotationClass;
49 private HasAnnotation(Class<? extends Annotation> annotationClass) { in HasAnnotation()
/aosp12/frameworks/base/telephony/java/android/telephony/data/
H A DThrottleStatus.java28 import android.telephony.Annotation;
84 private final @Annotation.ApnType int mApnType;
113 @Annotation.ApnType
157 @Annotation.ApnType int apnTypes, in ThrottleStatus()
260 private @Annotation.ApnType int mApnType;
309 public Builder setApnType(@Annotation.ApnType int apnType) { in setApnType()
/aosp12/frameworks/proto_logging/stats/stats_log_api_gen/
H A DCollation.h104 struct Annotation { struct
110 inline Annotation(AnnotationId annotationId, int atomId, AnnotationType type, in Annotation() argument
114 inline ~Annotation() { in ~Annotation() argument
117 inline bool operator<(const Annotation& that) const {
129 using AnnotationSet = set<shared_ptr<Annotation>, SharedComparator>;
/aosp12/frameworks/base/core/java/android/text/
H A DAnnotation.java26 public class Annotation implements ParcelableSpan { class
30 public Annotation(String key, String value) { in Annotation() method in Annotation
35 public Annotation(Parcel src) { in Annotation() method in Annotation
/aosp12/packages/apps/Dialer/java/com/android/dialer/rootcomponentgenerator/
H A DMetadataGeneratingStep.java30 import java.lang.annotation.Annotation;
53 public Set<? extends Class<? extends Annotation>> annotations() { in annotations()
59 SetMultimap<Class<? extends Annotation>, Element> elementsByAnnotation) { in process() argument
79 Class<? extends Annotation> annotation, TypeElement annotatedElement) { in generateMetadataFor()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiTestUtil.java21 import java.lang.annotation.Annotation;
49 Annotation[] annotations = method.getDeclaredAnnotations(); in getTestMethod()
50 for (Annotation annotation : annotations) { in getTestMethod()

12345678