Loading api/current.txt +5 −0 Original line number Diff line number Diff line Loading @@ -38015,6 +38015,7 @@ package android.telephony { method public java.lang.String getSimOperatorName(); method public java.lang.String getSimSerialNumber(); method public int getSimState(); method public int getSimState(int); method public java.lang.String getSubscriberId(); method public java.lang.String getVoiceMailAlphaTag(); method public java.lang.String getVoiceMailNumber(); Loading Loading @@ -38099,7 +38100,11 @@ package android.telephony { 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_STATE_ABSENT = 1; // 0x1 field public static final int SIM_STATE_CARD_IO_ERROR = 8; // 0x8 field public static final int SIM_STATE_CARD_RESTRICTED = 9; // 0x9 field public static final int SIM_STATE_NETWORK_LOCKED = 4; // 0x4 field public static final int SIM_STATE_NOT_READY = 6; // 0x6 field public static final int SIM_STATE_PERM_DISABLED = 7; // 0x7 field public static final int SIM_STATE_PIN_REQUIRED = 2; // 0x2 field public static final int SIM_STATE_PUK_REQUIRED = 3; // 0x3 field public static final int SIM_STATE_READY = 5; // 0x5 api/system-current.txt +5 −0 Original line number Diff line number Diff line Loading @@ -41113,6 +41113,7 @@ package android.telephony { method public java.lang.String getSimOperatorName(); method public java.lang.String getSimSerialNumber(); method public int getSimState(); method public int getSimState(int); method public java.lang.String getSubscriberId(); method public java.util.List<android.telephony.TelephonyHistogram> getTelephonyHistograms(); method public java.lang.String getVoiceMailAlphaTag(); Loading Loading @@ -41228,7 +41229,11 @@ package android.telephony { 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_CARD_IO_ERROR = 8; // 0x8 field public static final int SIM_STATE_CARD_RESTRICTED = 9; // 0x9 field public static final int SIM_STATE_NETWORK_LOCKED = 4; // 0x4 field public static final int SIM_STATE_NOT_READY = 6; // 0x6 field public static final int SIM_STATE_PERM_DISABLED = 7; // 0x7 field public static final int SIM_STATE_PIN_REQUIRED = 2; // 0x2 field public static final int SIM_STATE_PUK_REQUIRED = 3; // 0x3 field public static final int SIM_STATE_READY = 5; // 0x5 api/test-current.txt +5 −0 Original line number Diff line number Diff line Loading @@ -38112,6 +38112,7 @@ package android.telephony { method public java.lang.String getSimOperatorName(); method public java.lang.String getSimSerialNumber(); method public int getSimState(); method public int getSimState(int); method public java.lang.String getSubscriberId(); method public java.lang.String getVoiceMailAlphaTag(); method public java.lang.String getVoiceMailNumber(); Loading Loading @@ -38196,7 +38197,11 @@ package android.telephony { 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_STATE_ABSENT = 1; // 0x1 field public static final int SIM_STATE_CARD_IO_ERROR = 8; // 0x8 field public static final int SIM_STATE_CARD_RESTRICTED = 9; // 0x9 field public static final int SIM_STATE_NETWORK_LOCKED = 4; // 0x4 field public static final int SIM_STATE_NOT_READY = 6; // 0x6 field public static final int SIM_STATE_PERM_DISABLED = 7; // 0x7 field public static final int SIM_STATE_PIN_REQUIRED = 2; // 0x2 field public static final int SIM_STATE_PUK_REQUIRED = 3; // 0x3 field public static final int SIM_STATE_READY = 5; // 0x5 telephony/java/android/telephony/TelephonyManager.java +5 −11 Original line number Diff line number Diff line Loading @@ -1852,21 +1852,14 @@ public class TelephonyManager { public static final int SIM_STATE_NETWORK_LOCKED = 4; /** SIM card state: Ready */ public static final int SIM_STATE_READY = 5; /** SIM card state: SIM Card is NOT READY *@hide */ /** SIM card state: SIM Card is NOT READY */ public static final int SIM_STATE_NOT_READY = 6; /** SIM card state: SIM Card Error, permanently disabled *@hide */ /** SIM card state: SIM Card Error, permanently disabled */ public static final int SIM_STATE_PERM_DISABLED = 7; /** SIM card state: SIM Card Error, present but faulty *@hide */ /** SIM card state: SIM Card Error, present but faulty */ public static final int SIM_STATE_CARD_IO_ERROR = 8; /** SIM card state: SIM Card restricted, present but not usable due to * carrier restrictions. *@hide */ public static final int SIM_STATE_CARD_RESTRICTED = 9; Loading Loading @@ -1912,6 +1905,7 @@ public class TelephonyManager { * @see #SIM_STATE_NOT_READY * @see #SIM_STATE_PERM_DISABLED * @see #SIM_STATE_CARD_IO_ERROR * @see #SIM_STATE_CARD_RESTRICTED */ public int getSimState() { int slotIdx = getDefaultSim(); Loading Loading @@ -1949,8 +1943,8 @@ public class TelephonyManager { * @see #SIM_STATE_NOT_READY * @see #SIM_STATE_PERM_DISABLED * @see #SIM_STATE_CARD_IO_ERROR * @see #SIM_STATE_CARD_RESTRICTED */ /** {@hide} */ public int getSimState(int slotIdx) { int simState = SubscriptionManager.getSimStateForSlotIdx(slotIdx); return simState; Loading Loading
api/current.txt +5 −0 Original line number Diff line number Diff line Loading @@ -38015,6 +38015,7 @@ package android.telephony { method public java.lang.String getSimOperatorName(); method public java.lang.String getSimSerialNumber(); method public int getSimState(); method public int getSimState(int); method public java.lang.String getSubscriberId(); method public java.lang.String getVoiceMailAlphaTag(); method public java.lang.String getVoiceMailNumber(); Loading Loading @@ -38099,7 +38100,11 @@ package android.telephony { 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_STATE_ABSENT = 1; // 0x1 field public static final int SIM_STATE_CARD_IO_ERROR = 8; // 0x8 field public static final int SIM_STATE_CARD_RESTRICTED = 9; // 0x9 field public static final int SIM_STATE_NETWORK_LOCKED = 4; // 0x4 field public static final int SIM_STATE_NOT_READY = 6; // 0x6 field public static final int SIM_STATE_PERM_DISABLED = 7; // 0x7 field public static final int SIM_STATE_PIN_REQUIRED = 2; // 0x2 field public static final int SIM_STATE_PUK_REQUIRED = 3; // 0x3 field public static final int SIM_STATE_READY = 5; // 0x5
api/system-current.txt +5 −0 Original line number Diff line number Diff line Loading @@ -41113,6 +41113,7 @@ package android.telephony { method public java.lang.String getSimOperatorName(); method public java.lang.String getSimSerialNumber(); method public int getSimState(); method public int getSimState(int); method public java.lang.String getSubscriberId(); method public java.util.List<android.telephony.TelephonyHistogram> getTelephonyHistograms(); method public java.lang.String getVoiceMailAlphaTag(); Loading Loading @@ -41228,7 +41229,11 @@ package android.telephony { 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_CARD_IO_ERROR = 8; // 0x8 field public static final int SIM_STATE_CARD_RESTRICTED = 9; // 0x9 field public static final int SIM_STATE_NETWORK_LOCKED = 4; // 0x4 field public static final int SIM_STATE_NOT_READY = 6; // 0x6 field public static final int SIM_STATE_PERM_DISABLED = 7; // 0x7 field public static final int SIM_STATE_PIN_REQUIRED = 2; // 0x2 field public static final int SIM_STATE_PUK_REQUIRED = 3; // 0x3 field public static final int SIM_STATE_READY = 5; // 0x5
api/test-current.txt +5 −0 Original line number Diff line number Diff line Loading @@ -38112,6 +38112,7 @@ package android.telephony { method public java.lang.String getSimOperatorName(); method public java.lang.String getSimSerialNumber(); method public int getSimState(); method public int getSimState(int); method public java.lang.String getSubscriberId(); method public java.lang.String getVoiceMailAlphaTag(); method public java.lang.String getVoiceMailNumber(); Loading Loading @@ -38196,7 +38197,11 @@ package android.telephony { 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_STATE_ABSENT = 1; // 0x1 field public static final int SIM_STATE_CARD_IO_ERROR = 8; // 0x8 field public static final int SIM_STATE_CARD_RESTRICTED = 9; // 0x9 field public static final int SIM_STATE_NETWORK_LOCKED = 4; // 0x4 field public static final int SIM_STATE_NOT_READY = 6; // 0x6 field public static final int SIM_STATE_PERM_DISABLED = 7; // 0x7 field public static final int SIM_STATE_PIN_REQUIRED = 2; // 0x2 field public static final int SIM_STATE_PUK_REQUIRED = 3; // 0x3 field public static final int SIM_STATE_READY = 5; // 0x5
telephony/java/android/telephony/TelephonyManager.java +5 −11 Original line number Diff line number Diff line Loading @@ -1852,21 +1852,14 @@ public class TelephonyManager { public static final int SIM_STATE_NETWORK_LOCKED = 4; /** SIM card state: Ready */ public static final int SIM_STATE_READY = 5; /** SIM card state: SIM Card is NOT READY *@hide */ /** SIM card state: SIM Card is NOT READY */ public static final int SIM_STATE_NOT_READY = 6; /** SIM card state: SIM Card Error, permanently disabled *@hide */ /** SIM card state: SIM Card Error, permanently disabled */ public static final int SIM_STATE_PERM_DISABLED = 7; /** SIM card state: SIM Card Error, present but faulty *@hide */ /** SIM card state: SIM Card Error, present but faulty */ public static final int SIM_STATE_CARD_IO_ERROR = 8; /** SIM card state: SIM Card restricted, present but not usable due to * carrier restrictions. *@hide */ public static final int SIM_STATE_CARD_RESTRICTED = 9; Loading Loading @@ -1912,6 +1905,7 @@ public class TelephonyManager { * @see #SIM_STATE_NOT_READY * @see #SIM_STATE_PERM_DISABLED * @see #SIM_STATE_CARD_IO_ERROR * @see #SIM_STATE_CARD_RESTRICTED */ public int getSimState() { int slotIdx = getDefaultSim(); Loading Loading @@ -1949,8 +1943,8 @@ public class TelephonyManager { * @see #SIM_STATE_NOT_READY * @see #SIM_STATE_PERM_DISABLED * @see #SIM_STATE_CARD_IO_ERROR * @see #SIM_STATE_CARD_RESTRICTED */ /** {@hide} */ public int getSimState(int slotIdx) { int simState = SubscriptionManager.getSimStateForSlotIdx(slotIdx); return simState; Loading