Home
last modified time | relevance | path

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

1234

/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/
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()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
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 …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSpanHelperTest.java22 import android.text.Annotation;
37 Annotation oldSpan = new Annotation("key", "value"); in testReplaceSpan()
38 Annotation newSpan = new Annotation("newkey", "newvalue"); in testReplaceSpan()
/frameworks/base/test-runner/src/android/test/suitebuilder/
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()
DTestMethod.java21 import java.lang.annotation.Annotation;
62 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation()
/frameworks/base/core/java/android/telephony/
DTelephonyRegistryManager.java25 import android.telephony.Annotation.CallState;
26 import android.telephony.Annotation.DataActivityType;
27 import android.telephony.Annotation.DataFailureCause;
28 import android.telephony.Annotation.DisconnectCauses;
29 import android.telephony.Annotation.NetworkType;
30 import android.telephony.Annotation.PreciseCallStates;
31 import android.telephony.Annotation.PreciseDisconnectCauses;
32 import android.telephony.Annotation.RadioPowerState;
33 import android.telephony.Annotation.SimActivationState;
34 import android.telephony.Annotation.SrvccState;
DPhoneStateListener.java31 import android.telephony.Annotation.CallState;
32 import android.telephony.Annotation.RadioPowerState;
33 import android.telephony.Annotation.SimActivationState;
34 import android.telephony.Annotation.SrvccState;
765 public void onCallDisconnectCauseChanged(@Annotation.DisconnectCauses int disconnectCause, in onCallDisconnectCauseChanged()
/frameworks/base/core/java/android/text/
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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiTestUtil.java21 import java.lang.annotation.Annotation;
49 Annotation[] annotations = method.getDeclaredAnnotations(); in getTestMethod()
50 for (Annotation annotation : annotations) { in getTestMethod()
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallSessionListener.java24 import android.telephony.Annotation;
499 public void onMayHandover(@Annotation.NetworkType int srcNetworkType, in onMayHandover()
500 @Annotation.NetworkType int targetNetworkType) { in onMayHandover()
535 public void onHandover(@Annotation.NetworkType int srcNetworkType, in onHandover()
536 @Annotation.NetworkType int targetNetworkType, @Nullable ImsReasonInfo reasonInfo) { in onHandover()
568 public void onHandoverFailed(@Annotation.NetworkType int srcNetworkType, in onHandoverFailed()
569 @Annotation.NetworkType int targetNetworkType, @NonNull ImsReasonInfo reasonInfo) { in onHandoverFailed()
/frameworks/opt/setupwizard/library/platform/src/com/android/setupwizardlib/view/
DRichTextView.java20 import android.text.Annotation;
67 final Annotation[] spans = spannable.getSpans(0, spannable.length(), Annotation.class); in getRichText()
68 for (Annotation span : spans) { in getRichText()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DApnConfigType.java19 import android.telephony.Annotation;
30 public ApnConfigType(@Annotation.ApnType int type, int priority) { in ApnConfigType()
DApnConfigTypeRepository.java22 import android.telephony.Annotation;
61 public ApnConfigType getByType(@Annotation.ApnType int type) { in getByType()
122 private void add(@Annotation.ApnType int type, Map<Integer, Integer> apnTypeMap) { in add()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/
DRichTextView.java25 import android.text.Annotation;
67 final Annotation[] spans = spannable.getSpans(0, spannable.length(), Annotation.class); in getRichText()
68 for (Annotation span : spans) { in getRichText()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneNotifier.java21 import android.telephony.Annotation.DataFailureCause;
22 import android.telephony.Annotation.RadioPowerState;
23 import android.telephony.Annotation.SrvccState;
DDefaultPhoneNotifier.java24 import android.telephony.Annotation.DataFailureCause;
25 import android.telephony.Annotation.RadioPowerState;
26 import android.telephony.Annotation.SrvccState;
/frameworks/base/telephony/java/android/telephony/
DPreciseDataConnectionState.java31 import android.telephony.Annotation.ApnType;
32 import android.telephony.Annotation.DataFailureCause;
33 import android.telephony.Annotation.DataState;
34 import android.telephony.Annotation.NetworkType;
DPreciseCallState.java25 import android.telephony.Annotation.DisconnectCauses;
26 import android.telephony.Annotation.PreciseCallStates;
27 import android.telephony.Annotation.PreciseDisconnectCauses;
DTelephonyDisplayInfo.java22 import android.telephony.Annotation.NetworkType;
23 import android.telephony.Annotation.OverrideNetworkType;
/frameworks/base/packages/ExtShared/
Dproguard.proguard3 SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
/frameworks/base/tests/SharedLibrary/lib/
Dproguard.proguard3 SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java37 import java.lang.annotation.Annotation;
487 Class<? extends Annotation> annotationClass = getAnnotationClass(annotationClassName); in getAnnotationPredicate()
501 Class<? extends Annotation> annotationClass = getAnnotationClass(annotationClassName); in getNotAnnotationPredicate()
514 private Class<? extends Annotation> getAnnotationClass(String annotationClassName) { in getAnnotationClass()
521 return (Class<? extends Annotation>)annotationClass; in getAnnotationClass()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsSubscriptionsMonitor.java25 import android.telephony.Annotation;
61 @Annotation.NetworkType int collapsedRatType); in onCollapsedRatTypeChanged()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCellularLinkLayerStats.java19 import android.telephony.Annotation.NetworkType;
/frameworks/base/cmds/statsd/src/
Dstats_log.proto288 message Annotation { message
292 repeated Annotation annotation = 7;
367 message Annotation { message
371 repeated Annotation annotation = 18;

1234