Home
last modified time | relevance | path

Searched refs:RestrictedFor (Results 1 – 2 of 2) sorted by relevance

/frameworks/libs/modules-utils/javatests/android/annotation/
DRestrictedForTests.java21 import android.annotation.RestrictedFor.Environment;
33 RestrictedFor annotation = clz.getClass().getAnnotation(RestrictedFor.class); in testAnnotationAvailableInRuntime()
41 RestrictedFor[] annotations = clz.getClass().getAnnotationsByType(RestrictedFor.class); in testAnnotationIsRepeatable()
49 RestrictedFor annotation = clz.getClass().getAnnotation(RestrictedFor.class); in testAnnotationParameters()
60 RestrictedFor annotation = clz.getClass().getAnnotation(RestrictedFor.class); in testAnnotationParameters_environmentToString()
70 RestrictedFor annotation = clz.getClass().getAnnotation(RestrictedFor.class); in testAnnotationParameters_environment_multipleEnvironments()
76 @RestrictedFor(environments=Environment.SDK_SANDBOX, from=33)
80 @RestrictedFor(environments=Environment.SDK_SANDBOX, from=0)
81 @RestrictedFor(environments=Environment.SDK_SANDBOX, from=0)
85 @RestrictedFor(environments={Environment.SDK_SANDBOX, Environment.SDK_SANDBOX}, from=0)
/frameworks/libs/modules-utils/java/android/annotation/
DRestrictedFor.java45 @Repeatable(RestrictedFor.Container.class)
46 public @interface RestrictedFor { annotation
76 RestrictedFor[] value(); in value()