Searched refs:RestrictedFor (Results 1 – 2 of 2) sorted by relevance
21 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)
45 @Repeatable(RestrictedFor.Container.class)46 public @interface RestrictedFor { annotation76 RestrictedFor[] value(); in value()