From c7004f564872e3018e515c6aab3210e2eec70ebf Mon Sep 17 00:00:00 2001 From: Junda Liu Date: Thu, 21 Apr 2016 10:05:21 -0700 Subject: [PATCH] Add comments to apptype and authtype constants. Bug: b/28296053 Change-Id: Ib79d9106ac4415f495fd3ec4d0bea036d0b9c9f4 --- telephony/java/android/telephony/TelephonyManager.java | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/telephony/java/android/telephony/TelephonyManager.java b/telephony/java/android/telephony/TelephonyManager.java index 394fc27bf9b2b..e16d74e498426 100644 --- a/telephony/java/android/telephony/TelephonyManager.java +++ b/telephony/java/android/telephony/TelephonyManager.java @@ -3592,14 +3592,21 @@ public class TelephonyManager { } // ICC SIM Application Types + /** UICC application type is SIM */ public static final int APPTYPE_SIM = PhoneConstants.APPTYPE_SIM; + /** UICC application type is USIM */ public static final int APPTYPE_USIM = PhoneConstants.APPTYPE_USIM; + /** UICC application type is RUIM */ public static final int APPTYPE_RUIM = PhoneConstants.APPTYPE_RUIM; + /** UICC application type is CSIM */ public static final int APPTYPE_CSIM = PhoneConstants.APPTYPE_CSIM; + /** UICC application type is ISIM */ public static final int APPTYPE_ISIM = PhoneConstants.APPTYPE_ISIM; - // authContext (parameter P2) when doing SIM challenge, + // authContext (parameter P2) when doing UICC challenge, // per 3GPP TS 31.102 (Section 7.1.2) + /** Authentication type for UICC challenge is EAP SIM. See RFC 4186 for details. */ public static final int AUTHTYPE_EAP_SIM = PhoneConstants.AUTH_CONTEXT_EAP_SIM; + /** Authentication type for UICC challenge is EAP AKA. See RFC 4187 for details. */ public static final int AUTHTYPE_EAP_AKA = PhoneConstants.AUTH_CONTEXT_EAP_AKA; /**