Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c689e3f authored by Alex Lin's avatar Alex Lin Committed by Automerger Merge Worker
Browse files

[DO NOT MERGE] Fix EuiccManager javadoc links am: dafa2b0f am: 29aff364 am: 1b75237f

Change-Id: I853fcf4fdf537a3669342018a98fcd04140a1204
parents 68b1703e 1b75237f
Loading
Loading
Loading
Loading
+34 −34
Original line number Original line Diff line number Diff line
@@ -269,10 +269,10 @@ public class EuiccManager {
     * only contains {@link #OPERATION_DOWNLOAD} and ErrorCode is 0 implies this is an unknown
     * only contains {@link #OPERATION_DOWNLOAD} and ErrorCode is 0 implies this is an unknown
     * Download error.
     * Download error.
     *
     *
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_OPERATION_CODE}
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_OPERATION_CODE
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_ERROR_CODE}
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_ERROR_CODE
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_SMDX_SUBJECT_CODE}
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_SMDX_SUBJECT_CODE
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_SMDX_REASON_CODE}
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_SMDX_REASON_CODE
     */
     */
    public static final String EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE =
    public static final String EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE =
            "android.telephony.euicc.extra.EMBEDDED_SUBSCRIPTION_DETAILED_CODE";
            "android.telephony.euicc.extra.EMBEDDED_SUBSCRIPTION_DETAILED_CODE";
@@ -552,7 +552,7 @@ public class EuiccManager {


    /**
    /**
     * List of OperationCode corresponding to {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE}'s
     * List of OperationCode corresponding to {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE}'s
     * value, an integer. @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * value, an integer. @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     *
     *
     * @hide
     * @hide
     */
     */
@@ -575,44 +575,44 @@ public class EuiccManager {


    /**
    /**
     * Internal system error.
     * Internal system error.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int OPERATION_SYSTEM = 1;
    public static final int OPERATION_SYSTEM = 1;


    /**
    /**
     * SIM slot error. Failed to switch slot, failed to access the physical slot etc.
     * SIM slot error. Failed to switch slot, failed to access the physical slot etc.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int OPERATION_SIM_SLOT = 2;
    public static final int OPERATION_SIM_SLOT = 2;


    /**
    /**
     * eUICC card error.
     * eUICC card error.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int OPERATION_EUICC_CARD = 3;
    public static final int OPERATION_EUICC_CARD = 3;


    /**
    /**
     * Generic switching profile error
     * Generic switching profile error
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int OPERATION_SWITCH = 4;
    public static final int OPERATION_SWITCH = 4;


    /**
    /**
     * Download profile error.
     * Download profile error.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int OPERATION_DOWNLOAD = 5;
    public static final int OPERATION_DOWNLOAD = 5;


    /**
    /**
     * Subscription's metadata error
     * Subscription's metadata error
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int OPERATION_METADATA = 6;
    public static final int OPERATION_METADATA = 6;


    /**
    /**
     * eUICC returned an error defined in GSMA (SGP.22 v2.2) while running one of the ES10x
     * eUICC returned an error defined in GSMA (SGP.22 v2.2) while running one of the ES10x
     * functions.
     * functions.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int OPERATION_EUICC_GSMA = 7;
    public static final int OPERATION_EUICC_GSMA = 7;


@@ -620,13 +620,13 @@ public class EuiccManager {
     * The exception of failing to execute an APDU command. It can be caused by an error
     * The exception of failing to execute an APDU command. It can be caused by an error
     * happening on opening the basic or logical channel, or the response of the APDU command is
     * happening on opening the basic or logical channel, or the response of the APDU command is
     * not success (0x9000).
     * not success (0x9000).
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int OPERATION_APDU = 8;
    public static final int OPERATION_APDU = 8;


    /**
    /**
     * SMDX(SMDP/SMDS) error
     * SMDX(SMDP/SMDS) error
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int OPERATION_SMDX = 9;
    public static final int OPERATION_SMDX = 9;


@@ -655,19 +655,19 @@ public class EuiccManager {
     * Thus the integer stored in {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} is
     * Thus the integer stored in {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} is
     * 0xA8B1051(176885841)
     * 0xA8B1051(176885841)
     *
     *
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int OPERATION_SMDX_SUBJECT_REASON_CODE = 10;
    public static final int OPERATION_SMDX_SUBJECT_REASON_CODE = 10;


    /**
    /**
     * HTTP error
     * HTTP error
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int OPERATION_HTTP = 11;
    public static final int OPERATION_HTTP = 11;


    /**
    /**
     * List of ErrorCode corresponding to {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE}
     * List of ErrorCode corresponding to {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE}
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     * @hide
     * @hide
     */
     */
    @Retention(RetentionPolicy.SOURCE)
    @Retention(RetentionPolicy.SOURCE)
@@ -695,56 +695,56 @@ public class EuiccManager {
    /**
    /**
     * Operation such as downloading/switching to another profile failed due to device being
     * Operation such as downloading/switching to another profile failed due to device being
     * carrier locked.
     * carrier locked.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_CARRIER_LOCKED = 10000;
    public static final int ERROR_CARRIER_LOCKED = 10000;


    /**
    /**
     * The activation code(SGP.22 v2.2 section[4.1]) is invalid.
     * The activation code(SGP.22 v2.2 section[4.1]) is invalid.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_INVALID_ACTIVATION_CODE = 10001;
    public static final int ERROR_INVALID_ACTIVATION_CODE = 10001;


    /**
    /**
     * The confirmation code(SGP.22 v2.2 section[4.7]) is invalid.
     * The confirmation code(SGP.22 v2.2 section[4.7]) is invalid.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_INVALID_CONFIRMATION_CODE = 10002;
    public static final int ERROR_INVALID_CONFIRMATION_CODE = 10002;


    /**
    /**
     * The profile's carrier is incompatible with the LPA.
     * The profile's carrier is incompatible with the LPA.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_INCOMPATIBLE_CARRIER = 10003;
    public static final int ERROR_INCOMPATIBLE_CARRIER = 10003;


    /**
    /**
     * There is no more space available on the eUICC for new profiles.
     * There is no more space available on the eUICC for new profiles.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_EUICC_INSUFFICIENT_MEMORY = 10004;
    public static final int ERROR_EUICC_INSUFFICIENT_MEMORY = 10004;


    /**
    /**
     * Timed out while waiting for an operation to complete. i.e restart, disable,
     * Timed out while waiting for an operation to complete. i.e restart, disable,
     * switch reset etc.
     * switch reset etc.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_TIME_OUT = 10005;
    public static final int ERROR_TIME_OUT = 10005;


    /**
    /**
     * eUICC is missing or defective on the device.
     * eUICC is missing or defective on the device.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_EUICC_MISSING = 10006;
    public static final int ERROR_EUICC_MISSING = 10006;


    /**
    /**
     * The eUICC card(hardware) version is incompatible with the software
     * The eUICC card(hardware) version is incompatible with the software
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_UNSUPPORTED_VERSION = 10007;
    public static final int ERROR_UNSUPPORTED_VERSION = 10007;


    /**
    /**
     * No SIM card is available in the device.
     * No SIM card is available in the device.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_SIM_MISSING = 10008;
    public static final int ERROR_SIM_MISSING = 10008;


@@ -754,52 +754,52 @@ public class EuiccManager {
     * 2. GSMA(.22 v2.2) Profile Install Result - installFailedDueToDataMismatch
     * 2. GSMA(.22 v2.2) Profile Install Result - installFailedDueToDataMismatch
     * 3. operation was interrupted
     * 3. operation was interrupted
     * 4. SIMalliance error in PEStatus(SGP.22 v2.2 section 2.5.6.1)
     * 4. SIMalliance error in PEStatus(SGP.22 v2.2 section 2.5.6.1)
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_INSTALL_PROFILE = 10009;
    public static final int ERROR_INSTALL_PROFILE = 10009;


    /**
    /**
     * Failed to load profile onto eUICC due to Profile Poicly Rules.
     * Failed to load profile onto eUICC due to Profile Poicly Rules.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_DISALLOWED_BY_PPR = 10010;
    public static final int ERROR_DISALLOWED_BY_PPR = 10010;




    /**
    /**
     * Address is missing e.g SMDS/SMDP address is missing.
     * Address is missing e.g SMDS/SMDP address is missing.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_ADDRESS_MISSING = 10011;
    public static final int ERROR_ADDRESS_MISSING = 10011;


    /**
    /**
     * Certificate needed for authentication is not valid or missing. E.g  SMDP/SMDS authentication
     * Certificate needed for authentication is not valid or missing. E.g  SMDP/SMDS authentication
     * failed.
     * failed.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_CERTIFICATE_ERROR = 10012;
    public static final int ERROR_CERTIFICATE_ERROR = 10012;




    /**
    /**
     * No profiles available.
     * No profiles available.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_NO_PROFILES_AVAILABLE = 10013;
    public static final int ERROR_NO_PROFILES_AVAILABLE = 10013;


    /**
    /**
     * Failure to create a connection.
     * Failure to create a connection.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_CONNECTION_ERROR = 10014;
    public static final int ERROR_CONNECTION_ERROR = 10014;


    /**
    /**
     * Response format is invalid. e.g SMDP/SMDS response contains invalid json, header or/and ASN1.
     * Response format is invalid. e.g SMDP/SMDS response contains invalid json, header or/and ASN1.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_INVALID_RESPONSE = 10015;
    public static final int ERROR_INVALID_RESPONSE = 10015;


    /**
    /**
     * The operation is currently busy, try again later.
     * The operation is currently busy, try again later.
     * @see {@link #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE} for details
     * @see #EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE for details
     */
     */
    public static final int ERROR_OPERATION_BUSY = 10016;
    public static final int ERROR_OPERATION_BUSY = 10016;