Searched defs:annotation (Results 1 - 19 of 19) sorted by relevance

/frameworks/base/core/java/android/annotation/
H A 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
[all...]
H A DTargetApi.java16 package android.annotation;
18 import static java.lang.annotation.ElementType.CONSTRUCTOR;
19 import static java.lang.annotation.ElementType.METHOD;
20 import static java.lang.annotation.ElementType.TYPE;
22 import java.lang.annotation.Retention;
23 import java.lang.annotation.RetentionPolicy;
24 import java.lang.annotation.Target;
H A DWidget.java17 package android.annotation;
19 import java.lang.annotation.Target;
20 import java.lang.annotation.ElementType;
21 import java.lang.annotation.Retention;
22 import java.lang.annotation.RetentionPolicy;
H A DSdkConstant.java17 package android.annotation;
19 import java.lang.annotation.Target;
20 import java.lang.annotation.ElementType;
21 import java.lang.annotation.Retention;
22 import java.lang.annotation.RetentionPolicy;
/frameworks/base/core/java/android/test/suitebuilder/annotation/
H A DLargeTest.java17 package android.test.suitebuilder.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
H A DMediumTest.java17 package android.test.suitebuilder.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
H A DSmallTest.java17 package android.test.suitebuilder.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
H A DSmoke.java17 package android.test.suitebuilder.annotation;
19 import java.lang.annotation.ElementType;
20 import java.lang.annotation.Retention;
21 import java.lang.annotation.RetentionPolicy;
22 import java.lang.annotation.Target;
27 * will run all tests with this annotation.
H A DSuppress.java17 package android.test.suitebuilder.annotation;
19 import java.lang.annotation.Retention;
20 import java.lang.annotation.RetentionPolicy;
21 import java.lang.annotation.Target;
22 import java.lang.annotation.ElementType;
25 * Use this annotation on test classes or test methods that should not be included in a test
26 * suite. If the annotation appears on the class then no tests in that class will be included. If
27 * the annotation appears only on a test method then only that method will be excluded.
/frameworks/base/test-runner/src/android/test/suitebuilder/annotation/
H A DHasAnnotation.java17 package android.test.suitebuilder.annotation;
23 import java.lang.annotation.Annotation;
26 * A predicate that checks to see if a {@link TestMethod} has a specific annotation, either on the
H A DHasClassAnnotation.java17 package android.test.suitebuilder.annotation;
19 import java.lang.annotation.Annotation;
25 * A predicate that checks to see if a {@link android.test.suitebuilder.TestMethod} has a specific annotation on the
H A DHasMethodAnnotation.java17 package android.test.suitebuilder.annotation;
22 import java.lang.annotation.Annotation;
26 * annotation on it. Consider using the public {@link HasAnnotation} class instead of this class.
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/annotation/
H A DHasAnnotationTest.java17 package android.test.suitebuilder.annotation;
22 import java.lang.annotation.ElementType;
23 import java.lang.annotation.Retention;
24 import java.lang.annotation.RetentionPolicy;
25 import java.lang.annotation.Target;
H A DHasClassAnnotationTest.java17 package android.test.suitebuilder.annotation;
H A DHasMethodAnnotationTest.java17 package android.test.suitebuilder.annotation;
22 import java.lang.annotation.Annotation;
/frameworks/testing/androidtestlib/src/com/android/test/runner/
H A DTestRequestBuilder.java19 import android.test.suitebuilder.annotation.LargeTest;
20 import android.test.suitebuilder.annotation.MediumTest;
21 import android.test.suitebuilder.annotation.SmallTest;
22 import android.test.suitebuilder.annotation.Suppress;
38 import java.lang.annotation.Annotation;
64 AnnotationInclusionFilter(Class<? extends Annotation> annotation) { argument
65 mAnnotationClass = annotation;
78 // annotation
88 return String.format("annotation %s", mAnnotationClass.getName());
99 AnnotationExclusionFilter(Class<? extends Annotation> annotation) { argument
173 addAnnotationInclusionFilter(String annotation) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DBroadcastQueue.java154 public AppNotResponding(ProcessRecord app, String annotation) { argument
156 mAnnotation = annotation;
H A DActivityManagerService.java3252 ActivityRecord parent, boolean aboveSystem, final String annotation) {
3259 int res = mController.appEarlyNotResponding(app.processName, app.pid, annotation);
3274 Slog.i(TAG, "During shutdown skipping ANR: " + app + " " + annotation);
3277 Slog.i(TAG, "Skipping duplicate ANR: " + app + " " + annotation);
3280 Slog.i(TAG, "Crashing app skipping ANR: " + app + " " + annotation);
3290 app.processName, app.info.flags, annotation);
3324 if (annotation != null) {
3325 info.append("Reason: ").append(annotation).append("\n");
3353 addErrorToDropBox("anr", app, app.processName, activity, parent, annotation,
3385 annotation !
3251 appNotResponding(ProcessRecord app, ActivityRecord activity, ActivityRecord parent, boolean aboveSystem, final String annotation) argument
[all...]
/frameworks/base/cmds/am/src/com/android/commands/am/
H A DAm.java947 public int appEarlyNotResponding(String processName, int pid, String annotation) argument
953 System.out.println("annotation: " + annotation);

Completed in 492 milliseconds