Home
last modified time | relevance | path

Searched refs:ANNOTATION (Results 1 – 3 of 3) sorted by relevance

/tools/platform-compat/javatest/com/android/class2nonsdklist/
DUnsupportedAppUsageAnnotationHandlerTest.java49 private static final String ANNOTATION = "Lannotation/Anno;"; field in UnsupportedAppUsageAnnotationHandlerTest
97 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethod()
118 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistConstructor()
139 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistField()
160 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit()
181 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit_Invalid_MissingOnClass()
203 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistImplicit_Invalid_PresentOnMember()
224 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethodExpectedSignature()
245 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistMethodExpectedSignatureWrong()
265 ImmutableMap.of(ANNOTATION, createGreylistHandler(x -> true, NULL_SDK_MAP)) in testGreylistInnerClassMethod()
[all …]
DCovariantReturnTypeHandlerTest.java45 private static final String ANNOTATION = "Lannotation/Annotation;"; field in CovariantReturnTypeHandlerTest
76 ImmutableMap.of(ANNOTATION, in testReturnTypeWhitelisted()
100 ImmutableMap.of(ANNOTATION, in testAnnotatedMemberNotPublicApi()
122 ImmutableMap.of(ANNOTATION, in testReturnTypeAlreadyWhitelisted()
147 ImmutableMap.of(ANNOTATION, in testAnnotationOnField()
/tools/platform-compat/javatest/android/processor/compat/unsupportedappusage/
DUnsupportedAppUsageProcessorTest.java39 private static final JavaFileObject ANNOTATION = JavaFileObjects.forSourceLines( field in UnsupportedAppUsageProcessorTest
52 .compile(ANNOTATION, source); in compile()
138 .compile(ANNOTATION, src); in testSourcePositionOverrideWrongFormat()
156 .compile(ANNOTATION, src); in testSourcePositionOverrideInvalidInt()
192 .compile(ANNOTATION, src); in testExpectedSignatureSucceedsIfMatching()
207 .compile(ANNOTATION, src); in testExpectedSignatureThrowsErrorIfWrong()