Home
last modified time | relevance | path

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

12345

/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/base/core/java/com/android/internal/util/
DAnnotationValidations.java33 import java.lang.annotation.Annotation;
175 public static void validate(Class<? extends Annotation> annotation, in validate()
176 Annotation ignored, Object value, Object... params) {} in validate()
178 public static void validate(Class<? extends Annotation> annotation, in validate()
179 Annotation ignored, Object value) {} in validate()
181 public static void validate(Class<? extends Annotation> annotation, in validate()
182 Annotation ignored, int value, Object... params) {} in validate()
183 public static void validate(Class<? extends Annotation> annotation, in validate()
184 Annotation ignored, int value) { in validate()
193 public static void validate(Class<? extends Annotation> annotation, in validate()
[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/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/base/telephony/java/android/telephony/data/
DThrottleStatus.java28 import android.telephony.Annotation;
84 private final @Annotation.ApnType int mApnType;
113 @Annotation.ApnType
157 @Annotation.ApnType int apnTypes, in ThrottleStatus()
260 private @Annotation.ApnType int mApnType;
309 public Builder setApnType(@Annotation.ApnType int apnType) { in setApnType()
/frameworks/proto_logging/stats/stats_log_api_gen/
DCollation.h104 struct Annotation { struct
110 inline Annotation(AnnotationId annotationId, int atomId, AnnotationType type, in Annotation() argument
114 inline ~Annotation() { in ~Annotation() argument
117 inline bool operator<(const Annotation& that) const {
129 using AnnotationSet = set<shared_ptr<Annotation>, SharedComparator>;
/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()
123 private void add(@Annotation.ApnType int type, Map<Integer, Integer> apnTypeMap) { in add()
/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/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
DAnnotationLinkSpan.java19 import android.text.Annotation;
55 final Annotation[] spans = in linkify()
56 msg.getSpans(/* queryStart= */ 0, msg.length(), Annotation.class); in linkify()
/frameworks/base/telecomm/java/android/telecom/
DCallDiagnostics.java23 import android.telephony.Annotation;
301 @Annotation.DisconnectCauses int disconnectCause, in onCallDisconnected()
302 @Annotation.PreciseDisconnectCauses int preciseDisconnectCause); in onCallDisconnected()
DDisconnectCause.java23 import android.telephony.Annotation;
184 int toneToPlay, @Annotation.DisconnectCauses int telephonyDisconnectCause, in DisconnectCause()
185 @Annotation.PreciseDisconnectCauses int telephonyPreciseDisconnectCause, in DisconnectCause()
248 public @Annotation.DisconnectCauses int getTelephonyDisconnectCause() { in getTelephonyDisconnectCause()
257 public @Annotation.PreciseDisconnectCauses int getTelephonyPreciseDisconnectCause() { in getTelephonyPreciseDisconnectCause()
/frameworks/base/telephony/java/android/telephony/ims/
DImsCallSessionListener.java23 import android.telephony.Annotation;
544 public void onMayHandover(@Annotation.NetworkType int srcNetworkType, in onMayHandover()
545 @Annotation.NetworkType int targetNetworkType) { in onMayHandover()
580 public void onHandover(@Annotation.NetworkType int srcNetworkType, in onHandover()
581 @Annotation.NetworkType int targetNetworkType, @Nullable ImsReasonInfo reasonInfo) { in onHandover()
613 public void onHandoverFailed(@Annotation.NetworkType int srcNetworkType, in onHandoverFailed()
614 @Annotation.NetworkType int targetNetworkType, @NonNull ImsReasonInfo reasonInfo) { in onHandoverFailed()
/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/base/telephony/java/android/telephony/
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;
DPreciseDataConnectionState.java32 import android.telephony.Annotation.ApnType;
33 import android.telephony.Annotation.DataFailureCause;
34 import android.telephony.Annotation.DataState;
35 import android.telephony.Annotation.NetworkType;
/frameworks/base/core/java/android/telephony/
DTelephonyCallback.java762 void onCallStateChanged(@Annotation.CallState int state); in onCallStateChanged()
787 @Annotation.NetworkType int networkType); in onDataConnectionStateChanged()
810 void onDataActivity(@Annotation.DataActivityType int direction); in onDataActivity()
895 void onCallDisconnectCauseChanged(@Annotation.DisconnectCauses int disconnectCause, in onCallDisconnectCauseChanged()
896 @Annotation.PreciseDisconnectCauses int preciseDisconnectCause); in onCallDisconnectCauseChanged()
966 void onSrvccStateChanged(@Annotation.SrvccState int srvccState); in onSrvccStateChanged()
990 void onVoiceActivationStateChanged(@Annotation.SimActivationState int state); in onVoiceActivationStateChanged()
1011 void onDataActivationStateChanged(@Annotation.SimActivationState int state); in onDataActivationStateChanged()
1185 void onRadioPowerStateChanged(@Annotation.RadioPowerState int state); in onRadioPowerStateChanged()
1645 public void onRadioPowerStateChanged(@Annotation.RadioPowerState int state) { in onRadioPowerStateChanged()
DTelephonyRegistryManager.java30 import android.telephony.Annotation.CallState;
31 import android.telephony.Annotation.DataActivityType;
32 import android.telephony.Annotation.DisconnectCauses;
33 import android.telephony.Annotation.NetworkType;
34 import android.telephony.Annotation.PreciseCallStates;
35 import android.telephony.Annotation.PreciseDisconnectCauses;
36 import android.telephony.Annotation.RadioPowerState;
37 import android.telephony.Annotation.SimActivationState;
38 import android.telephony.Annotation.SrvccState;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPhoneNotifier.java21 import android.telephony.Annotation.RadioPowerState;
22 import android.telephony.Annotation.SrvccState;
/frameworks/base/tests/SharedLibrary/lib/
Dproguard.proguard3 SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
/frameworks/base/packages/ExtShared/
Dproguard.proguard3 SourceFile,LineNumberTable,*Annotation*,EnclosingMethod

12345