/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/ |
D | TestApplication.java | 21 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/ |
D | RichTextViewTest.java | 32 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/ |
D | AnnotationValidations.java | 33 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/ |
D | SpanHelperTest.java | 22 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/ |
D | TestPredicates.java | 23 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()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/model/ |
D | FakeWifiEventModel.kt | 19 import android.telephony.Annotation 29 @Annotation.DataActivityType val activity: Int, 38 @Annotation.DataActivityType val activity: Int,
|
/frameworks/base/core/java/android/text/ |
D | Annotation.java | 26 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/packages/SystemUI/src/com/android/systemui/telephony/data/repository/ |
D | TelephonyRepository.kt | 20 import android.telephony.Annotation in <lambda>() 32 @Annotation.CallState val callState: Flow<Int> in <lambda>() 48 @Annotation.CallState
|
/frameworks/base/telephony/java/android/telephony/data/ |
D | ThrottleStatus.java | 28 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/ |
D | Collation.h | 115 struct Annotation { struct 121 inline Annotation(AnnotationId annotationId, int atomId, AnnotationType type, in Annotation() argument 125 inline ~Annotation() { in ~Annotation() argument 128 inline bool operator<(const Annotation& that) const { 140 using AnnotationSet = set<shared_ptr<Annotation>, SharedComparator>;
|
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/ |
D | NonSdkApiWrapper.java | 30 import android.text.Annotation; 70 Annotation[] annotations = spannableText.getSpans(0, spannableText.length(), in linkifyAnnotation() 71 Annotation.class); in linkifyAnnotation() 73 for (Annotation annotation : annotations) { in linkifyAnnotation()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | ApnConfigType.java | 19 import android.telephony.Annotation; 30 public ApnConfigType(@Annotation.ApnType int type, int priority) { in ApnConfigType()
|
D | ApnConfigTypeRepository.java | 22 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/ |
D | RichTextView.java | 20 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/telephony/domain/interactor/ |
D | TelephonyInteractor.kt | 20 import android.telephony.Annotation 33 @Annotation.CallState val callState: Flow<Int> = repository.callState
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/ |
D | AnnotationLinkSpan.java | 19 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/ |
D | CallDiagnostics.java | 23 import android.telephony.Annotation; 301 @Annotation.DisconnectCauses int disconnectCause, in onCallDisconnected() 302 @Annotation.PreciseDisconnectCauses int preciseDisconnectCause); in onCallDisconnected()
|
D | DisconnectCause.java | 23 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/ |
D | ImsCallSessionListener.java | 23 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/ |
D | RichTextView.java | 25 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/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/ |
D | NonSdkApiWrapperTest.java | 29 import android.text.Annotation; 45 builder.append(testLink, new Annotation("key", annotationId), in testLinkifyAnnotation_annotation_returnTextWithClickableSpan() 64 builder.append(testLink, new Annotation("key", annotationId), in testLinkifyAnnotation_annotationWithEmptyUriString_returnOriginalText()
|
/frameworks/base/telephony/java/android/telephony/ |
D | PreciseCallState.java | 25 import android.telephony.Annotation.DisconnectCauses; 26 import android.telephony.Annotation.PreciseCallStates; 27 import android.telephony.Annotation.PreciseDisconnectCauses;
|
D | TelephonyDisplayInfo.java | 22 import android.telephony.Annotation.NetworkType; 23 import android.telephony.Annotation.OverrideNetworkType;
|
/frameworks/base/core/java/android/telephony/ |
D | TelephonyCallback.java | 772 void onCallStateChanged(@Annotation.CallState int state); in onCallStateChanged() 798 @Annotation.NetworkType int networkType); in onDataConnectionStateChanged() 821 void onDataActivity(@Annotation.DataActivityType int direction); in onDataActivity() 910 void onCallDisconnectCauseChanged(@Annotation.DisconnectCauses int disconnectCause, in onCallDisconnectCauseChanged() 911 @Annotation.PreciseDisconnectCauses int preciseDisconnectCause); in onCallDisconnectCauseChanged() 985 void onSrvccStateChanged(@Annotation.SrvccState int srvccState); in onSrvccStateChanged() 1009 void onVoiceActivationStateChanged(@Annotation.SimActivationState int state); in onVoiceActivationStateChanged() 1030 void onDataActivationStateChanged(@Annotation.SimActivationState int state); in onDataActivationStateChanged() 1213 void onRadioPowerStateChanged(@Annotation.RadioPowerState int state); in onRadioPowerStateChanged() 1696 public void onRadioPowerStateChanged(@Annotation.RadioPowerState int state) { in onRadioPowerStateChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/model/ |
D | DataActivityModel.kt | 20 import android.telephony.Annotation 51 fun @receiver:Annotation.DataActivityType Int.toMobileDataActivityModel(): DataActivityModel = in toMobileDataActivityModel()
|