Home
last modified time | relevance | path

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

123

/aosp14/frameworks/base/core/tests/hosttests/test-apps/MultiDexLegacyTestApp/src/com/android/multidexlegacytestapp/
H A 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()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A 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 …]
/aosp14/frameworks/base/test-runner/src/android/test/suitebuilder/
H A 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()
H A DTestMethod.java21 import java.lang.annotation.Annotation;
62 public <T extends Annotation> T getAnnotation(Class<T> annotationClass) { in getAnnotation()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/model/
H A DFakeWifiEventModel.kt19 import android.telephony.Annotation
30 @Annotation.DataActivityType val activity: Int,
41 @Annotation.DataActivityType val activity: Int,
/aosp14/frameworks/base/telephony/java/android/telephony/data/
H A 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()
/aosp14/frameworks/base/core/java/android/text/
H A 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
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/data/repository/
H A DTelephonyRepository.kt20 import android.telephony.Annotation
32 @Annotation.CallState val callState: Flow<Int>
48 @Annotation.CallState
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/floatingmenu/
H A DAnnotationLinkSpan.java19 import android.text.Annotation;
55 final Annotation[] spans = in linkify()
56 msg.getSpans(/* queryStart= */ 0, msg.length(), Annotation.class); in linkify()
/aosp14/frameworks/base/telecomm/java/android/telecom/
H A DCallDiagnostics.java23 import android.telephony.Annotation;
301 @Annotation.DisconnectCauses int disconnectCause, in onCallDisconnected()
302 @Annotation.PreciseDisconnectCauses int preciseDisconnectCause); in onCallDisconnected()
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/domain/interactor/
H A DTelephonyInteractor.kt20 import android.telephony.Annotation
33 @Annotation.CallState val callState: Flow<Int> = repository.callState
/aosp14/frameworks/base/telephony/java/android/telephony/ims/
H A DImsCallSessionListener.java24 import android.telephony.Annotation;
562 public void onMayHandover(@Annotation.NetworkType int srcNetworkType, in onMayHandover()
563 @Annotation.NetworkType int targetNetworkType) { in onMayHandover()
598 public void onHandover(@Annotation.NetworkType int srcNetworkType, in onHandover()
599 @Annotation.NetworkType int targetNetworkType, @Nullable ImsReasonInfo reasonInfo) { in onHandover()
631 public void onHandoverFailed(@Annotation.NetworkType int srcNetworkType, in onHandoverFailed()
632 @Annotation.NetworkType int targetNetworkType, @NonNull ImsReasonInfo reasonInfo) { in onHandoverFailed()
/aosp14/frameworks/base/telephony/java/android/telephony/
H A DCallState.java24 import android.telephony.Annotation.ImsCallServiceType;
25 import android.telephony.Annotation.ImsCallType;
26 import android.telephony.Annotation.NetworkType;
27 import android.telephony.Annotation.PreciseCallStates;
H A DPreciseCallState.java25 import android.telephony.Annotation.DisconnectCauses;
26 import android.telephony.Annotation.PreciseCallStates;
27 import android.telephony.Annotation.PreciseDisconnectCauses;
H A 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;
H A DTelephonyDisplayInfo.java22 import android.telephony.Annotation.NetworkType;
23 import android.telephony.Annotation.OverrideNetworkType;
H A DTransportSelectorCallback.java20 import android.telephony.Annotation.DisconnectCauses;
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/shared/data/model/
H A DDataActivityModel.kt20 import android.telephony.Annotation
51 fun @receiver:Annotation.DataActivityType Int.toMobileDataActivityModel(): DataActivityModel =
/aosp14/frameworks/base/core/java/android/telephony/
H A DTelephonyCallback.java817 void onCallStateChanged(@Annotation.CallState int state); in onCallStateChanged()
843 @Annotation.NetworkType int networkType); in onDataConnectionStateChanged()
866 void onDataActivity(@Annotation.DataActivityType int direction); in onDataActivity()
955 void onCallDisconnectCauseChanged(@Annotation.DisconnectCauses int disconnectCause, in onCallDisconnectCauseChanged()
956 @Annotation.PreciseDisconnectCauses int preciseDisconnectCause); in onCallDisconnectCauseChanged()
1030 void onSrvccStateChanged(@Annotation.SrvccState int srvccState); in onSrvccStateChanged()
1054 void onVoiceActivationStateChanged(@Annotation.SimActivationState int state); in onVoiceActivationStateChanged()
1075 void onDataActivationStateChanged(@Annotation.SimActivationState int state); in onDataActivationStateChanged()
1258 void onRadioPowerStateChanged(@Annotation.RadioPowerState int state); in onRadioPowerStateChanged()
1889 public void onRadioPowerStateChanged(@Annotation.RadioPowerState int state) { in onRadioPowerStateChanged()
H A DTelephonyRegistryManager.java31 import android.telephony.Annotation.CallState;
32 import android.telephony.Annotation.DataActivityType;
33 import android.telephony.Annotation.DisconnectCauses;
34 import android.telephony.Annotation.NetworkType;
35 import android.telephony.Annotation.PreciseDisconnectCauses;
36 import android.telephony.Annotation.RadioPowerState;
37 import android.telephony.Annotation.SimActivationState;
38 import android.telephony.Annotation.SrvccState;
784 @Annotation.PreciseCallStates int[] callStates, String[] imsCallIds, in notifyPreciseCallState()
785 @Annotation.ImsCallServiceType int[] imsServiceTypes, in notifyPreciseCallState()
[all …]
/aosp14/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
H A DPhoneCallStateHandler.java19 import android.telephony.Annotation;
150 private static boolean isCallOngoingFromState(@Annotation.CallState int callState) { in isCallOngoingFromState()
/aosp14/frameworks/base/tests/SharedLibrary/lib/
H A Dproguard.proguard3 SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
/aosp14/frameworks/base/packages/ExtShared/
H A Dproguard.proguard3 SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/mobile/
H A DMobileMappings.java21 import android.telephony.Annotation;
53 public static String toIconKey(@Annotation.NetworkType int networkType) { in toIconKey()
60 public static String toDisplayIconKey(@Annotation.OverrideNetworkType int displayNetworkType) { in toDisplayIconKey()

123