Loading api/system-current.txt +5 −0 Original line number Diff line number Diff line Loading @@ -32576,6 +32576,11 @@ package android.telephony { field public static final int PHONE_TYPE_GSM = 1; // 0x1 field public static final int PHONE_TYPE_NONE = 0; // 0x0 field public static final int PHONE_TYPE_SIP = 3; // 0x3 field public static final int SIM_ACTIVATION_RESULT_CANCELED = 4; // 0x4 field public static final int SIM_ACTIVATION_RESULT_COMPLETE = 0; // 0x0 field public static final int SIM_ACTIVATION_RESULT_FAILED = 3; // 0x3 field public static final int SIM_ACTIVATION_RESULT_IN_PROGRESS = 2; // 0x2 field public static final int SIM_ACTIVATION_RESULT_NOT_SUPPORTED = 1; // 0x1 field public static final int SIM_STATE_ABSENT = 1; // 0x1 field public static final int SIM_STATE_NETWORK_LOCKED = 4; // 0x4 field public static final int SIM_STATE_PIN_REQUIRED = 2; // 0x2 telephony/java/android/telephony/TelephonyManager.java +31 −0 Original line number Diff line number Diff line Loading @@ -575,6 +575,37 @@ public class TelephonyManager { */ public static final String EXTRA_DATA_FAILURE_CAUSE = PhoneConstants.DATA_FAILURE_CAUSE_KEY; /** * Response codes for sim activation. Activation completed successfully. * @hide */ @SystemApi public static final int SIM_ACTIVATION_RESULT_COMPLETE = 0; /** * Response codes for sim activation. Activation not supported (device has no SIM). * @hide */ @SystemApi public static final int SIM_ACTIVATION_RESULT_NOT_SUPPORTED = 1; /** * Response codes for sim activation. Activation is in progress. * @hide */ @SystemApi public static final int SIM_ACTIVATION_RESULT_IN_PROGRESS = 2; /** * Response codes for sim activation. Activation failed to complete. * @hide */ @SystemApi public static final int SIM_ACTIVATION_RESULT_FAILED = 3; /** * Response codes for sim activation. Activation canceled by user. * @hide */ @SystemApi public static final int SIM_ACTIVATION_RESULT_CANCELED = 4; // // // Device Info Loading Loading
api/system-current.txt +5 −0 Original line number Diff line number Diff line Loading @@ -32576,6 +32576,11 @@ package android.telephony { field public static final int PHONE_TYPE_GSM = 1; // 0x1 field public static final int PHONE_TYPE_NONE = 0; // 0x0 field public static final int PHONE_TYPE_SIP = 3; // 0x3 field public static final int SIM_ACTIVATION_RESULT_CANCELED = 4; // 0x4 field public static final int SIM_ACTIVATION_RESULT_COMPLETE = 0; // 0x0 field public static final int SIM_ACTIVATION_RESULT_FAILED = 3; // 0x3 field public static final int SIM_ACTIVATION_RESULT_IN_PROGRESS = 2; // 0x2 field public static final int SIM_ACTIVATION_RESULT_NOT_SUPPORTED = 1; // 0x1 field public static final int SIM_STATE_ABSENT = 1; // 0x1 field public static final int SIM_STATE_NETWORK_LOCKED = 4; // 0x4 field public static final int SIM_STATE_PIN_REQUIRED = 2; // 0x2
telephony/java/android/telephony/TelephonyManager.java +31 −0 Original line number Diff line number Diff line Loading @@ -575,6 +575,37 @@ public class TelephonyManager { */ public static final String EXTRA_DATA_FAILURE_CAUSE = PhoneConstants.DATA_FAILURE_CAUSE_KEY; /** * Response codes for sim activation. Activation completed successfully. * @hide */ @SystemApi public static final int SIM_ACTIVATION_RESULT_COMPLETE = 0; /** * Response codes for sim activation. Activation not supported (device has no SIM). * @hide */ @SystemApi public static final int SIM_ACTIVATION_RESULT_NOT_SUPPORTED = 1; /** * Response codes for sim activation. Activation is in progress. * @hide */ @SystemApi public static final int SIM_ACTIVATION_RESULT_IN_PROGRESS = 2; /** * Response codes for sim activation. Activation failed to complete. * @hide */ @SystemApi public static final int SIM_ACTIVATION_RESULT_FAILED = 3; /** * Response codes for sim activation. Activation canceled by user. * @hide */ @SystemApi public static final int SIM_ACTIVATION_RESULT_CANCELED = 4; // // // Device Info Loading