Methods Summary |
---|
public void | changeIccFdnPassword(java.lang.String oldPassword, java.lang.String newPassword, android.os.Message onComplete)Change the ICC password used in ICC fdn enable
When the operation is complete, onComplete will be sent to its handler
|
public void | changeIccLockPassword(java.lang.String oldPassword, java.lang.String newPassword, android.os.Message onComplete)Change the ICC password used in ICC pin lock
When the operation is complete, onComplete will be sent to its handler
|
public boolean | getIccFdnAvailable()Check whether fdn (fixed dialing number) service is available.
|
public boolean | getIccFdnEnabled()Check whether ICC fdn (fixed dialing number) is enabled
This is a sync call which returns the cached pin enabled state
|
public com.android.internal.telephony.uicc.IccFileHandler | getIccFileHandler()
|
public boolean | getIccLockEnabled()Check whether ICC pin lock is enabled
This is a sync call which returns the cached pin enabled state
|
public boolean | getIccPin2Blocked()
|
public boolean | getIccPuk2Blocked()
|
public com.android.internal.telephony.uicc.IccRecords | getIccRecords()
|
public java.lang.String | getServiceProviderName()Returns service provider name stored in ICC card.
If there is no service provider name associated or the record is not
yet available, null will be returned
Please use this value when display Service Provider Name in idle mode
Usage of this provider name in the UI is a common carrier requirement.
Also available via Android property "gsm.sim.operator.alpha"
|
public com.android.internal.telephony.IccCardConstants.State | getState()
|
public boolean | hasIccCard()
|
public boolean | isApplicationOnIcc(IccCardApplicationStatus.AppType type)Checks if an Application of specified type present on the card
|
public void | registerForAbsent(android.os.Handler h, int what, java.lang.Object obj)Notifies handler of any transition into IccCardConstants.State.ABSENT
|
public void | registerForLocked(android.os.Handler h, int what, java.lang.Object obj)Notifies handler of any transition into IccCardConstants.State.isPinLocked()
|
public void | registerForNetworkLocked(android.os.Handler h, int what, java.lang.Object obj)Notifies handler of any transition into IccCardConstants.State.NETWORK_LOCKED
|
public void | setIccFdnEnabled(boolean enabled, java.lang.String password, android.os.Message onComplete)Set the ICC fdn enabled or disabled
When the operation is complete, onComplete will be sent to its handler
|
public void | setIccLockEnabled(boolean enabled, java.lang.String password, android.os.Message onComplete)Set the ICC pin lock enabled or disabled
When the operation is complete, onComplete will be sent to its handler
|
public void | supplyNetworkDepersonalization(java.lang.String pin, android.os.Message onComplete)Supply Network depersonalization code to the RIL
|
public void | supplyPin(java.lang.String pin, android.os.Message onComplete)Supply the ICC PIN to the ICC
When the operation is complete, onComplete will be sent to its
Handler.
onComplete.obj will be an AsyncResult
((AsyncResult)onComplete.obj).exception == null on success
((AsyncResult)onComplete.obj).exception != null on fail
If the supplied PIN is incorrect:
((AsyncResult)onComplete.obj).exception != null
&& ((AsyncResult)onComplete.obj).exception
instanceof com.android.internal.telephony.gsm.CommandException)
&& ((CommandException)(((AsyncResult)onComplete.obj).exception))
.getCommandError() == CommandException.Error.PASSWORD_INCORRECT
|
public void | supplyPin2(java.lang.String pin2, android.os.Message onComplete)Supply the ICC PIN2 to the ICC
|
public void | supplyPuk(java.lang.String puk, java.lang.String newPin, android.os.Message onComplete)Supply the ICC PUK to the ICC
|
public void | supplyPuk2(java.lang.String puk2, java.lang.String newPin2, android.os.Message onComplete)Supply the ICC PUK2 to the ICC
|
public void | unregisterForAbsent(android.os.Handler h)
|
public void | unregisterForLocked(android.os.Handler h)
|
public void | unregisterForNetworkLocked(android.os.Handler h)
|