FileDocCategorySizeDatePackage
Phone.javaAPI DocAndroid 5.1 API70102Thu Mar 12 22:22:54 GMT 2015com.android.internal.telephony

Phone

public interface Phone
Internal interface used to control the phone; SDK developers cannot obtain this interface. {@hide}

Fields Summary
static final boolean
DEBUG_PHONE
used to enable additional debug messages
static final String
FEATURE_ENABLE_MMS
static final String
FEATURE_ENABLE_SUPL
static final String
FEATURE_ENABLE_DUN
static final String
FEATURE_ENABLE_HIPRI
static final String
FEATURE_ENABLE_DUN_ALWAYS
static final String
FEATURE_ENABLE_FOTA
static final String
FEATURE_ENABLE_IMS
static final String
FEATURE_ENABLE_CBS
static final String
FEATURE_ENABLE_EMERGENCY
static final String
REASON_ROAMING_ON
Optional reasons for disconnect and connect
static final String
REASON_ROAMING_OFF
static final String
REASON_DATA_DISABLED
static final String
REASON_DATA_ENABLED
static final String
REASON_DATA_ATTACHED
static final String
REASON_DATA_DETACHED
static final String
REASON_CDMA_DATA_ATTACHED
static final String
REASON_CDMA_DATA_DETACHED
static final String
REASON_APN_CHANGED
static final String
REASON_APN_SWITCHED
static final String
REASON_APN_FAILED
static final String
REASON_RESTORE_DEFAULT_APN
static final String
REASON_RADIO_TURNED_OFF
static final String
REASON_PDP_RESET
static final String
REASON_VOICE_CALL_ENDED
static final String
REASON_VOICE_CALL_STARTED
static final String
REASON_PS_RESTRICT_ENABLED
static final String
REASON_PS_RESTRICT_DISABLED
static final String
REASON_SIM_LOADED
static final String
REASON_NW_TYPE_CHANGED
static final String
REASON_DATA_DEPENDENCY_MET
static final String
REASON_DATA_DEPENDENCY_UNMET
static final String
REASON_LOST_DATA_CONNECTION
static final String
REASON_CONNECTED
static final String
REASON_SINGLE_PDN_ARBITRATION
static final String
REASON_DATA_SPECIFIC_DISABLED
static final int
BM_UNSPECIFIED
static final int
BM_EURO_BAND
static final int
BM_US_BAND
static final int
BM_JPN_BAND
static final int
BM_AUS_BAND
static final int
BM_AUS2_BAND
static final int
BM_BOUNDARY
int
NT_MODE_WCDMA_PREF
int
NT_MODE_GSM_ONLY
int
NT_MODE_WCDMA_ONLY
int
NT_MODE_GSM_UMTS
int
NT_MODE_CDMA
int
NT_MODE_CDMA_NO_EVDO
int
NT_MODE_EVDO_NO_CDMA
int
NT_MODE_GLOBAL
int
NT_MODE_LTE_CDMA_AND_EVDO
int
NT_MODE_LTE_GSM_WCDMA
int
NT_MODE_LTE_CDMA_EVDO_GSM_WCDMA
int
NT_MODE_LTE_ONLY
int
NT_MODE_LTE_WCDMA
int
PREFERRED_NT_MODE
static final int
CDMA_RM_HOME
static final int
CDMA_RM_AFFILIATED
static final int
CDMA_RM_ANY
static final int
CDMA_SUBSCRIPTION_UNKNOWN
static final int
CDMA_SUBSCRIPTION_RUIM_SIM
static final int
CDMA_SUBSCRIPTION_NV
static final int
PREFERRED_CDMA_SUBSCRIPTION
static final int
TTY_MODE_OFF
static final int
TTY_MODE_FULL
static final int
TTY_MODE_HCO
static final int
TTY_MODE_VCO
public static final int
CDMA_OTA_PROVISION_STATUS_SPL_UNLOCKED
CDMA OTA PROVISION STATUS, the same as RIL_CDMA_OTA_Status in ril.h
public static final int
CDMA_OTA_PROVISION_STATUS_SPC_RETRIES_EXCEEDED
public static final int
CDMA_OTA_PROVISION_STATUS_A_KEY_EXCHANGED
public static final int
CDMA_OTA_PROVISION_STATUS_SSD_UPDATED
public static final int
CDMA_OTA_PROVISION_STATUS_NAM_DOWNLOADED
public static final int
CDMA_OTA_PROVISION_STATUS_MDN_DOWNLOADED
public static final int
CDMA_OTA_PROVISION_STATUS_IMSI_DOWNLOADED
public static final int
CDMA_OTA_PROVISION_STATUS_PRL_DOWNLOADED
public static final int
CDMA_OTA_PROVISION_STATUS_COMMITTED
public static final int
CDMA_OTA_PROVISION_STATUS_OTAPA_STARTED
public static final int
CDMA_OTA_PROVISION_STATUS_OTAPA_STOPPED
public static final int
CDMA_OTA_PROVISION_STATUS_OTAPA_ABORTED
Constructors Summary
Methods Summary
public voidacceptCall(int videoState)
Answers a ringing or waiting call. Active calls, if any, go on hold. Answering occurs asynchronously, and final notification occurs via {@link #registerForPreciseCallStateChanged(android.os.Handler, int, java.lang.Object) registerForPreciseCallStateChanged()}.

param
videoState The video state in which to answer the call.
exception
CallStateException when no call is ringing or waiting

public voidacquireOwnershipOfImsPhone(com.android.internal.telephony.imsphone.ImsPhone imsPhone)
Take ownership and wire-up the input ImsPhone

param
imsPhone ImsPhone to be used.

public voidactivateCellBroadcastSms(int activate, android.os.Message response)
Activate or deactivate cell broadcast SMS.

param
activate 0 = activate, 1 = deactivate
param
response Callback message is empty on completion

public booleancanConference()
Whether or not the phone can conference in the current phone state--that is, one call holding and one call active.

return
true if the phone can conference; false otherwise.

public booleancanTransfer()
Whether or not the phone can do explicit call transfer in the current phone state--that is, one call holding and one call active.

return
true if the phone can do explicit call transfer; false otherwise.

public voidclearDisconnected()
Clears all DISCONNECTED connections from Call connection lists. Calls that were in the DISCONNECTED state become idle. This occurs synchronously.

public voidconference()
Conferences holding and active. Conference occurs asynchronously and may fail. Final notification occurs via {@link #registerForPreciseCallStateChanged(android.os.Handler, int, java.lang.Object) registerForPreciseCallStateChanged()}.

exception
CallStateException if canConference() would return false. In these cases, this operation may not be performed.

public Connectiondial(java.lang.String dialString, int videoState)
Initiate a new voice connection. This happens asynchronously, so you cannot assume the audio path is connected (or a call index has been assigned) until PhoneStateChanged notification has occurred.

param
dialString The dial string.
param
videoState The desired video state for the connection.
exception
CallStateException if a new outgoing call is not currently possible because no more call slots exist or a call exists that is dialing, alerting, ringing, or waiting. Other errors are handled asynchronously.

public Connectiondial(java.lang.String dialString, UUSInfo uusInfo, int videoState)
Initiate a new voice connection with supplementary User to User Information. This happens asynchronously, so you cannot assume the audio path is connected (or a call index has been assigned) until PhoneStateChanged notification has occurred.

param
dialString The dial string.
param
uusInfo The UUSInfo.
param
videoState The desired video state for the connection.
exception
CallStateException if a new outgoing call is not currently possible because no more call slots exist or a call exists that is dialing, alerting, ringing, or waiting. Other errors are handled asynchronously.

public voiddisableDnsCheck(boolean b)
Disables the DNS check (i.e., allows "0.0.0.0"). Useful for lab testing environment.

param
b true disables the check, false enables.

public voiddisableLocationUpdates()
Disable location update notifications.

public voiddispose()
Unregister from all events it registered for and dispose objects created by this object.

public voidenableEnhancedVoicePrivacy(boolean enable, android.os.Message onComplete)
Enable or disable enhanced Voice Privacy (VP). If enhanced VP is disabled, normal VP is enabled.

param
enable whether true or false to enable or disable.
param
onComplete a callback message when the action is completed.

public voidenableLocationUpdates()
Enable location update notifications.

public voidexitEmergencyCallbackMode()
request to exit emergency call back mode the caller should use setOnECMModeExitResponse to receive the emergency callback mode exit response

public voidexplicitCallTransfer()
Connects the two calls and disconnects the subscriber from both calls Explicit Call Transfer occurs asynchronously and may fail. Final notification occurs via {@link #registerForPreciseCallStateChanged(android.os.Handler, int, java.lang.Object) registerForPreciseCallStateChanged()}.

exception
CallStateException if canTransfer() would return false. In these cases, this operation may not be performed.

public java.lang.StringgetActiveApnHost(java.lang.String apnType)
Returns string for the active APN host.

return
type as a string or null if none.

public java.lang.String[]getActiveApnTypes()
Returns an array of string identifiers for the APN types serviced by the currently active.

return
The string array will always return at least one entry, Phone.APN_TYPE_DEFAULT. TODO: Revisit if we always should return at least one entry.

public java.util.ListgetAllCellInfo()

return
all available cell information or null if none.

public voidgetAvailableNetworks(android.os.Message response)
Scan available networks. This method is asynchronous; . On completion, response.obj is set to an AsyncResult with one of the following members:.

  • response.obj.result will be a List of OperatorInfo objects, or
  • response.obj.exception will be set with an exception on failure.

public CallgetBackgroundCall()
Gets the background call object, which represents all connections that are holding (all connections that have been accepted or connected, but do not have their audio path connected).

The background call is a singleton object. It is constant for the life of this phone object . It is never null.

The background call will only ever be in one of these states: IDLE, HOLDING or DISCONNECTED. State change notification is available via {@link #registerForPreciseCallStateChanged(android.os.Handler, int, java.lang.Object) registerForPreciseCallStateChanged()}.

public booleangetCallForwardingIndicator()
Get voice call forwarding indicator status. No change notification available on this interface. Use PhoneStateNotifier or similar instead.

return
true if there is a voice call forwarding

public voidgetCallForwardingOption(int commandInterfaceCFReason, android.os.Message onComplete)
getCallForwardingOptions gets a call forwarding option. The return value of ((AsyncResult)onComplete.obj) is an array of CallForwardInfo.

param
commandInterfaceCFReason is one of the valid call forwarding CF_REASONS, as defined in com.android.internal.telephony.CommandsInterface.
param
onComplete a callback message when the action is completed.
see
com.android.internal.telephony.CallForwardInfo for details.

public voidgetCallWaiting(android.os.Message onComplete)
getCallWaiting gets call waiting activation state. The return value of ((AsyncResult)onComplete.obj) is an array of int, with a length of 1.

param
onComplete a callback message when the action is completed.
see
com.android.internal.telephony.CommandsInterface#queryCallWaiting for details.

public intgetCdmaEriIconIndex()
Returns the CDMA ERI icon index to display

public intgetCdmaEriIconMode()
Returns the CDMA ERI icon mode, 0 - ON 1 - FLASHING

public java.lang.StringgetCdmaEriText()
Returns the CDMA ERI text,

public java.lang.StringgetCdmaMin()
Retrieves the MIN for CDMA phones.

public java.lang.StringgetCdmaPrlVersion()
Retrieves PRL Version for CDMA phones

public voidgetCellBroadcastSmsConfig(android.os.Message response)
Query the current configuration of cdma cell broadcast SMS.

param
response Callback message is empty on completion

public android.telephony.CellLocationgetCellLocation()
Get the current CellLocation.

public android.content.ContextgetContext()
Gets the context for the phone, as set at initialization time.

public com.android.internal.telephony.Phone$DataActivityStategetDataActivityState()
Get the current DataActivityState. No change notification exists at this interface -- use {@link android.telephony.TelephonyManager} instead.

public voidgetDataCallList(android.os.Message response)
Get the current active Data Call list

param
response On success, "response" bytes is made available as: (String[])(((AsyncResult)response.obj).result). On failure, (((AsyncResult)response.obj).result) == null and (((AsyncResult)response.obj).exception) being an instance of com.android.internal.telephony.gsm.CommandException

public DataStategetDataConnectionState()
Get the current for the default apn DataState. No change notification exists at this interface -- use {@link android.telephony.PhoneStateListener} instead.

public DataStategetDataConnectionState(java.lang.String apnType)
Get the current DataState. No change notification exists at this interface -- use {@link android.telephony.PhoneStateListener} instead.

param
apnType specify for which apn to get connection state info.

public booleangetDataEnabled()

return
true if user has enabled data

public booleangetDataRoamingEnabled()

return
true if enable data connection on roaming

public java.lang.StringgetDeviceId()
Retrieves the unique device ID, e.g., IMEI for GSM phones and MEID for CDMA phones.

public java.lang.StringgetDeviceSvn()
Retrieves the software version number for the device, e.g., IMEI/SV for GSM phones.

public voidgetEnhancedVoicePrivacy(android.os.Message onComplete)
Get the currently set Voice Privacy (VP) mode.

param
onComplete a callback message when the action is completed.

public java.lang.StringgetEsn()
Retrieves the ESN for CDMA phones.

public CallgetForegroundCall()
Gets the foreground call object, which represents all connections that are dialing or active (all connections that have their audio path connected).

The foreground call is a singleton object. It is constant for the life of this phone. It is never null.

The foreground call will only ever be in one of these states: IDLE, ACTIVE, DIALING, ALERTING, or DISCONNECTED. State change notification is available via {@link #registerForPreciseCallStateChanged(android.os.Handler, int, java.lang.Object) registerForPreciseCallStateChanged()}.

public java.lang.StringgetGroupIdLevel1()
Retrieves the Group Identifier Level1 for GSM phones.

public IccCardgetIccCard()
Returns the ICC card interface for this phone, or null if not applicable to underlying technology.

public IccPhoneBookInterfaceManagergetIccPhoneBookInterfaceManager()
Retrieves the IccPhoneBookInterfaceManager of the Phone

public booleangetIccRecordsLoaded()
Returns SIM record load state. Use getSimCard().registerForReady() for change notification.

return
true if records from the SIM have been loaded and are available (if applicable). If not applicable to the underlying technology, returns true as well.

public java.lang.StringgetIccSerialNumber()
Retrieves the serial number of the ICC, if applicable.

public java.lang.StringgetImei()
Retrieves IMEI for phones. Returns null if IMEI is not set.

public com.android.internal.telephony.PhonegetImsPhone()
Return the ImsPhone phone co-managed with this phone

return
an instance of an ImsPhone phone

public com.android.internal.telephony.uicc.IsimRecordsgetIsimRecords()
Return an interface to retrieve the ISIM records for IMS, if available.

return
the interface to retrieve the ISIM records, or null if not supported

public java.lang.StringgetLine1AlphaTag()
Returns the alpha tag associated with the msisdn number. If there is no alpha tag associated or the record is not yet available, returns a default localized string.

public java.lang.StringgetLine1Number()
Get the line 1 phone number (MSISDN). For CDMA phones, the MDN is returned and {@link #getMsisdn()} will return the MSISDN on CDMA/LTE phones.

return
phone number. May return null if not available or the SIM is not ready

public android.net.LinkPropertiesgetLinkProperties(java.lang.String apnType)
Return the LinkProperties for the named apn or null if not available

public intgetLteOnCdmaMode()
Return if the current radio is LTE on CDMA. This is a tri-state return value as for a period of time the mode may be unknown.

return
{@link PhoneConstants#LTE_ON_CDMA_UNKNOWN}, {@link PhoneConstants#LTE_ON_CDMA_FALSE} or {@link PhoneConstants#LTE_ON_CDMA_TRUE}

public java.lang.StringgetMeid()
Retrieves MEID for CDMA phones.

public booleangetMessageWaitingIndicator()
Get voice message waiting indicator status. No change notification available on this interface. Use PhoneStateNotifier or similar instead.

return
true if there is a voice message waiting

public java.lang.StringgetMsisdn()
Retrieves the MSISDN from the UICC. For GSM/UMTS phones, this is equivalent to {@link #getLine1Number()}. For CDMA phones, {@link #getLine1Number()} returns the MDN, so this method is provided to return the MSISDN on CDMA/LTE phones.

public booleangetMute()
Gets current mute status. Use {@link #registerForPreciseCallStateChanged(android.os.Handler, int, java.lang.Object) registerForPreciseCallStateChanged()} as a change notifcation, although presently phone state changed is not fired when setMute() is called.

return
true is muting, false is unmuting

public java.lang.StringgetNai()
Retrieves Nai for phones. Returns null if Nai is not set.

public voidgetNeighboringCids(android.os.Message response)
Query neighboring cell IDs. response is dispatched when this is complete. response.obj will be an AsyncResult, and response.obj.exception will be non-null on failure. On success, AsyncResult.result will be a String[] containing the neighboring cell IDs. Index 0 will contain the count of available cell IDs. Cell IDs are in hexadecimal format.

param
response callback message that is dispatched when the query completes.

public android.net.NetworkCapabilitiesgetNetworkCapabilities(java.lang.String apnType)
Return the NetworkCapabilities

public voidgetNetworkSelectionMode(android.os.Message response)
Query the radio for the current network selection mode. Return values: 0 - automatic. 1 - manual.

public voidgetOutgoingCallerIdDisplay(android.os.Message onComplete)
getOutgoingCallerIdDisplay gets outgoing caller id display. The return value of ((AsyncResult)onComplete.obj) is an array of int, with a length of 2.

param
onComplete a callback message when the action is completed.
see
com.android.internal.telephony.CommandsInterface#getCLIR for details.

public java.lang.String[]getPcscfAddress(java.lang.String apnType)
Get P-CSCF address from PCO after data connection is established or modified.

param
apnType the apnType, "ims" for IMS APN, "emergency" for EMERGENCY APN

public java.util.ListgetPendingMmiCodes()
Returns a list of MMI codes that are pending. (They have initiated but have not yet completed). Presently there is only ever one. Use registerForMmiInitiate and registerForMmiComplete for change notification.

public intgetPhoneId()

public java.lang.StringgetPhoneName()
Returns a string identifier for this phone interface for parties outside the phone app process.

return
The string name.

public PhoneSubInfogetPhoneSubInfo()
Retrieves the PhoneSubInfo of the Phone

public intgetPhoneType()
Return a numerical identifier for the phone radio interface.

return
PHONE_TYPE_XXX as defined above.

public voidgetPreferredNetworkType(android.os.Message response)
Query the preferred network type setting

param
response is callback message to report one of NT_*_TYPE

public intgetRadioAccessFamily()
Get phone radio access family

return
a bit mask to identify the radio access family.

public CallgetRingingCall()
Gets the ringing call object, which represents an incoming connection (if present) that is pending answer/accept. (This connection may be RINGING or WAITING, and there may be only one.)

The ringing call is a singleton object. It is constant for the life of this phone. It is never null.

The ringing call will only ever be in one of these states: IDLE, INCOMING, WAITING or DISCONNECTED. State change notification is available via {@link #registerForPreciseCallStateChanged(android.os.Handler, int, java.lang.Object) registerForPreciseCallStateChanged()}.

public android.telephony.ServiceStategetServiceState()
Get the current ServiceState. Use registerForServiceStateChanged to be informed of updates.

public android.telephony.SignalStrengthgetSignalStrength()
Get current signal strength. No change notification available on this interface. Use PhoneStateNotifier or an equivalent. An ASU is 0-31 or -1 if unknown (for GSM, dBm = -113 - 2 * asu). The following special values are defined:

  • 0 means "-113 dBm or less".
  • 31 means "-51 dBm or greater".

return
Current signal strength as SignalStrength

public com.android.internal.telephony.test.SimulatedRadioControlgetSimulatedRadioControl()
If this is a simulated phone interface, returns a SimulatedRadioControl.

return
SimulatedRadioControl if this is a simulated interface; otherwise, null.

public voidgetSmscAddress(android.os.Message result)
Gets the default SMSC address.

param
result Callback message contains the SMSC address.

public StategetState()
Get current coarse-grained voice call state. Use {@link #registerForPreciseCallStateChanged(Handler, int, Object) registerForPreciseCallStateChanged()} for change notification.

If the phone has an active call and call waiting occurs, then the phone state is RINGING not OFFHOOK Note: This registration point provides notification of finer-grained changes.

public intgetSubId()

public java.lang.StringgetSubscriberId()
Retrieves the unique subscriber ID, e.g., IMSI for GSM phones.

public intgetSupportedRadioAccessFamily()
Get supported phone radio access family

return
a bit mask to identify the radio access family.

public com.android.internal.telephony.uicc.UiccCardgetUiccCard()
Gets the Uicc card corresponding to this phone.

return
the UiccCard object corresponding to the phone ID.

public booleangetUnitTestMode()

return
true If unit test mode is enabled

public com.android.internal.telephony.uicc.UsimServiceTablegetUsimServiceTable()
Gets the USIM service table from the UICC, if present and available.

return
an interface to the UsimServiceTable record, or null if not available

public java.lang.StringgetVoiceMailAlphaTag()
Returns the alpha tag associated with the voice mail number. If there is no alpha tag associated or the record is not yet available, returns a default localized string.

Please use this value instead of some other localized string when showing a name for this number in the UI. For example, call log entries should show this alpha tag.

Usage of this alpha tag in the UI is a common carrier requirement.

public java.lang.StringgetVoiceMailNumber()
Get the voice mail access phone number. Typically dialed when the user holds the "1" key in the phone app. May return null if not available or the SIM is not ready.

public intgetVoiceMessageCount()
Returns unread voicemail count. This count is shown when the voicemail notification is expanded.

public intgetVoicePhoneServiceState()
Return the service state of mImsPhone if it is STATE_IN_SERVICE otherwise return the current voice service state

public booleanhandleInCallMmiCommands(java.lang.String command)
Handles in-call MMI commands. While in a call, or while receiving a call, use this to execute MMI commands. see 3GPP 20.030, section 6.5.5.1 for specs on the allowed MMI commands.

param
command the MMI command to be executed.
return
true if the MMI command is executed.
throws
CallStateException

public booleanhandlePinMmi(java.lang.String dialString)
Handles PIN MMI commands (PIN/PIN2/PUK/PUK2), which are initiated without SEND (so dial is not appropriate).

param
dialString the MMI command to be executed.
return
true if MMI command is executed.

public booleanhasMatchedTetherApnSetting()
Check if TETHER_DUN_APN setting or config_tether_apndata includes APN that matches current operator.

return
true if there is a matching DUN APN.

public voidinvokeOemRilRequestRaw(byte[] data, android.os.Message response)
Invokes RIL_REQUEST_OEM_HOOK_RAW on RIL implementation.

param
data The data for the request.
param
response On success, (byte[])(((AsyncResult)response.obj).result) On failure, (((AsyncResult)response.obj).result) == null and (((AsyncResult)response.obj).exception) being an instance of com.android.internal.telephony.gsm.CommandException
see
#invokeOemRilRequestRaw(byte[], android.os.Message)

public voidinvokeOemRilRequestStrings(java.lang.String[] strings, android.os.Message response)
Invokes RIL_REQUEST_OEM_HOOK_Strings on RIL implementation.

param
strings The strings to make available as the request data.
param
response On success, "response" bytes is made available as: (String[])(((AsyncResult)response.obj).result). On failure, (((AsyncResult)response.obj).result) == null and (((AsyncResult)response.obj).exception) being an instance of com.android.internal.telephony.gsm.CommandException
see
#invokeOemRilRequestStrings(java.lang.String[], android.os.Message)

public booleanisCspPlmnEnabled()
TODO: Adding a function for each property is not good. A fucntion of type getPhoneProp(propType) where propType is an enum of GSM+CDMA+LTE props would be a better approach. Get "Restriction of menu options for manual PLMN selection" bit status from EF_CSP data, this belongs to "Value Added Services Group".

return
true if this bit is set or EF_CSP data is unavailable, false otherwise

public booleanisDataConnectivityPossible()
Report on whether data connectivity is allowed.

public booleanisDataConnectivityPossible(java.lang.String apnType)
Report on whether data connectivity is allowed for an APN.

public booleanisDnsCheckDisabled()
Returns true if the DNS check is currently disabled.

public booleanisImsRegistered()
Query the IMS Registration Status.

return
true if IMS is Registered

public booleanisMinInfoReady()
Check if subscription data has been assigned to mMin return true if MIN info is ready; false otherwise.

public booleanisOtaSpNumber(java.lang.String dialStr)
this decides if the dial number is OTA(Over the air provision) number or not

param
dialStr is string representing the dialing digit(s)
return
true means the dialStr is OTA number, and false means the dialStr is not OTA number

public booleanisRadioAvailable()
Is Radio Present on the device and is it accessible

public booleanneedsOtaServiceProvisioning()
Returns true if OTA Service Provisioning needs to be performed.

public voidnotifyDataActivity()

public voidnvReadItem(int itemID, android.os.Message response)
Read one of the NV items defined in {@link RadioNVItems} / {@code ril_nv_items.h}. Used for device configuration by some CDMA operators.

param
itemID the ID of the item to read
param
response callback message with the String response in the obj field

public voidnvResetConfig(int resetType, android.os.Message response)
Perform the specified type of NV config reset. The radio will be taken offline and the device must be rebooted after erasing the NV. Used for device configuration by some CDMA operators.

param
resetType reset type: 1: reload NV reset, 2: erase NV reset, 3: factory NV reset
param
response Callback message.

public voidnvWriteCdmaPrl(byte[] preferredRoamingList, android.os.Message response)
Update the CDMA Preferred Roaming List (PRL) in the radio NV storage. Used for device configuration by some CDMA operators.

param
preferredRoamingList byte array containing the new PRL
param
response Callback message.

public voidnvWriteItem(int itemID, java.lang.String itemValue, android.os.Message response)
Write one of the NV items defined in {@link RadioNVItems} / {@code ril_nv_items.h}. Used for device configuration by some CDMA operators.

param
itemID the ID of the item to read
param
itemValue the value to write, as a String
param
response Callback message.

public voidqueryAvailableBandMode(android.os.Message response)
Query the list of band mode supported by RF.

param
response is callback message ((AsyncResult)response.obj).result is an int[] where int[0] is the size of the array and the rest of each element representing one available BM_*_BAND

public voidqueryCdmaRoamingPreference(android.os.Message response)
Query the CDMA roaming preference setting

param
response is callback message to report one of CDMA_RM_*

public voidqueryTTYMode(android.os.Message onComplete)
queryTTYMode query the status of the TTY mode

param
onComplete a callback message when the action is completed.

public voidregisterFoT53ClirlInfo(android.os.Handler h, int what, java.lang.Object obj)
Register for CDMA T53 CLIR information record notifications from the network. Message.obj will contain an AsyncResult. AsyncResult.result will be a CdmaInformationRecords.CdmaT53ClirInfoRec instance.

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForCallWaiting(android.os.Handler h, int what, java.lang.Object obj)
Register for notifications when CDMA call waiting comes

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForCdmaOtaStatusChange(android.os.Handler h, int what, java.lang.Object obj)
Register for notifications when CDMA OTA Provision status change

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForDisconnect(android.os.Handler h, int what, java.lang.Object obj)
Notifies when a voice connection has disconnected, either due to local or remote hangup or error. Messages received from this will have the following members:

  • Message.obj will be an AsyncResult
  • AsyncResult.userObj = obj
  • AsyncResult.result = a Connection object that is no longer connected.

public voidregisterForDisplayInfo(android.os.Handler h, int what, java.lang.Object obj)
Register for display information notifications from the network. Message.obj will contain an AsyncResult. AsyncResult.result will be a SuppServiceNotification instance.

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForEcmTimerReset(android.os.Handler h, int what, java.lang.Object obj)
Registration point for Ecm timer reset

param
h handler to notify
param
what user-defined message code
param
obj placed in Message.obj

public voidregisterForHandoverStateChanged(android.os.Handler h, int what, java.lang.Object obj)
Notifies when a Handover happens due to SRVCC or Silent Redial

public voidregisterForInCallVoicePrivacyOff(android.os.Handler h, int what, java.lang.Object obj)
Register for notifications when a sInCall VoicePrivacy is disabled

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForInCallVoicePrivacyOn(android.os.Handler h, int what, java.lang.Object obj)
Register for notifications when a sInCall VoicePrivacy is enabled

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForIncomingRing(android.os.Handler h, int what, java.lang.Object obj)
Notifies when an incoming call rings.

Messages received from this: Message.obj will be an AsyncResult AsyncResult.userObj = obj AsyncResult.result = a Connection.

public voidregisterForLineControlInfo(android.os.Handler h, int what, java.lang.Object obj)
Register for CDMA line control information record notification from the network. Message.obj will contain an AsyncResult. AsyncResult.result will be a CdmaInformationRecords.CdmaLineControlInfoRec instance.

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForMmiComplete(android.os.Handler h, int what, java.lang.Object obj)
Register for notifications that an MMI request has completed its network activity and is in its final state. This may mean a state of COMPLETE, FAILED, or CANCELLED. Message.obj will contain an AsyncResult. obj.result will be an "MmiCode" object

public voidregisterForMmiInitiate(android.os.Handler h, int what, java.lang.Object obj)
Register for notifications of initiation of a new MMI code request. MMI codes for GSM are discussed in 3GPP TS 22.030.

Example: If Phone.dial is called with "*#31#", then the app will be notified here.

The returned Message.obj will contain an AsyncResult. obj.result will be an "MmiCode" object.

public voidregisterForNewRingingConnection(android.os.Handler h, int what, java.lang.Object obj)
Notifies when a new ringing or waiting connection has appeared.

Messages received from this: Message.obj will be an AsyncResult AsyncResult.userObj = obj AsyncResult.result = a Connection.

Please check Connection.isRinging() to make sure the Connection has not dropped since this message was posted. If Connection.isRinging() is true, then Connection.getCall() == Phone.getRingingCall()

public voidregisterForNumberInfo(android.os.Handler h, int what, java.lang.Object obj)
Register for CDMA number information record notification from the network. Message.obj will contain an AsyncResult. AsyncResult.result will be a CdmaInformationRecords.CdmaNumberInfoRec instance.

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForOnHoldTone(android.os.Handler h, int what, java.lang.Object obj)
Notifies when out-band on-hold tone is needed.

Messages received from this: Message.obj will be an AsyncResult AsyncResult.userObj = obj AsyncResult.result = boolean, true to start play on-hold tone and false to stop.

public voidregisterForPreciseCallStateChanged(android.os.Handler h, int what, java.lang.Object obj)
Register for getting notifications for change in the Call State {@link Call.State} This is called PreciseCallState because the call state is more precise than the {@link PhoneConstants.State} which can be obtained using the {@link PhoneStateListener} Resulting events will have an AsyncResult in Message.obj. AsyncResult.userData will be set to the obj argument here. The h parameter is held only by a weak reference.

public voidregisterForRadioCapabilityChanged(android.os.Handler h, int what, java.lang.Object obj)
Registers the handler when phone radio capability is changed.

param
h Handler for notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForRadioOffOrNotAvailable(android.os.Handler h, int what, java.lang.Object obj)
Register for radio off or not available

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForRedirectedNumberInfo(android.os.Handler h, int what, java.lang.Object obj)
Register for CDMA redirected number information record notification from the network. Message.obj will contain an AsyncResult. AsyncResult.result will be a CdmaInformationRecords.CdmaRedirectingNumberInfoRec instance.

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForResendIncallMute(android.os.Handler h, int what, java.lang.Object obj)
Registers the handler to reset the uplink mute state to get uplink audio.

public voidregisterForRingbackTone(android.os.Handler h, int what, java.lang.Object obj)
Notifies when out-band ringback tone is needed.

Messages received from this: Message.obj will be an AsyncResult AsyncResult.userObj = obj AsyncResult.result = boolean, true to start play ringback tone and false to stop.

public voidregisterForServiceStateChanged(android.os.Handler h, int what, java.lang.Object obj)
Register for ServiceState changed. Message.obj will contain an AsyncResult. AsyncResult.result will be a ServiceState instance

public voidregisterForSignalInfo(android.os.Handler h, int what, java.lang.Object obj)
Register for signal information notifications from the network. Message.obj will contain an AsyncResult. AsyncResult.result will be a SuppServiceNotification instance.

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForSimRecordsLoaded(android.os.Handler h, int what, java.lang.Object obj)
Registration point for Sim records loaded

param
h handler to notify
param
what what code of message when delivered
param
obj placed in Message.obj

public voidregisterForSubscriptionInfoReady(android.os.Handler h, int what, java.lang.Object obj)
Registration point for subscription info ready

param
h handler to notify
param
what what code of message when delivered
param
obj placed in Message.obj

public voidregisterForSuppServiceFailed(android.os.Handler h, int what, java.lang.Object obj)
Register for notifications when a supplementary service attempt fails. Message.obj will contain an AsyncResult.

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForSuppServiceNotification(android.os.Handler h, int what, java.lang.Object obj)
Register for Supplementary Service notifications from the network. Message.obj will contain an AsyncResult. AsyncResult.result will be a SuppServiceNotification instance.

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForT53AudioControlInfo(android.os.Handler h, int what, java.lang.Object obj)
Register for CDMA T53 audio control information record notifications from the network. Message.obj will contain an AsyncResult. AsyncResult.result will be a CdmaInformationRecords.CdmaT53AudioControlInfoRec instance.

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForTtyModeReceived(android.os.Handler h, int what, java.lang.Object obj)
Register for TTY mode change notifications from the network. Message.obj will contain an AsyncResult. AsyncResult.result will be an Integer containing new mode.

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidregisterForUnknownConnection(android.os.Handler h, int what, java.lang.Object obj)
Notifies when a previously untracked non-ringing/waiting connection has appeared. This is likely due to some other entity (eg, SIM card application) initiating a call.

public voidrejectCall()
Reject (ignore) a ringing call. In GSM, this means UDUB (User Determined User Busy). Reject occurs asynchronously, and final notification occurs via {@link #registerForPreciseCallStateChanged(android.os.Handler, int, java.lang.Object) registerForPreciseCallStateChanged()}.

exception
CallStateException when no call is ringing or waiting

public com.android.internal.telephony.imsphone.ImsPhonerelinquishOwnershipOfImsPhone()
Release the local instance of the ImsPhone and disconnect from the phone.

return
the instance of the ImsPhone phone previously owned

public voidremoveReferences()
Remove references to external object stored in this object.

public voidselectNetworkManually(OperatorInfo network, android.os.Message response)
Manually selects a network. response is dispatched when this is complete. response.obj will be an AsyncResult, and response.obj.exception will be non-null on failure.

see
#setNetworkSelectionModeAutomatic(Message)

public voidsendBurstDtmf(java.lang.String dtmfString, int on, int off, android.os.Message onComplete)
send burst DTMF tone, it can send the string as single character or multiple character ignore if there is no active call or not valid digits string. Valid digit means only includes characters ISO-LATIN characters 0-9, *, # The difference between sendDtmf and sendBurstDtmf is sendDtmf only sends one character, this api can send single character and multiple character, also, this api has response back to caller.

param
dtmfString is string representing the dialing digit(s) in the active call
param
on the DTMF ON length in milliseconds, or 0 for default
param
off the DTMF OFF length in milliseconds, or 0 for default
param
onComplete is the callback message when the action is processed by BP

public voidsendDtmf(char c)
Play a DTMF tone on the active call. Ignored if there is no active call.

param
c should be one of 0-9, '*' or '#'. Other values will be silently ignored.

public voidsendUssdResponse(java.lang.String ussdMessge)
Sends user response to a USSD REQUEST message. An MmiCode instance representing this response is sent to handlers registered with registerForMmiInitiate.

param
ussdMessge Message to send in the response.

public voidsetBandMode(int bandMode, android.os.Message response)
Assign a specified band for RF configuration.

param
bandMode one of BM_*_BAND
param
response is callback message

public voidsetCallForwardingOption(int commandInterfaceCFReason, int commandInterfaceCFAction, java.lang.String dialingNumber, int timerSeconds, android.os.Message onComplete)
setCallForwardingOptions sets a call forwarding option.

param
commandInterfaceCFReason is one of the valid call forwarding CF_REASONS, as defined in com.android.internal.telephony.CommandsInterface.
param
commandInterfaceCFAction is one of the valid call forwarding CF_ACTIONS, as defined in com.android.internal.telephony.CommandsInterface.
param
dialingNumber is the target phone number to forward calls to
param
timerSeconds is used by CFNRy to indicate the timeout before forwarding is attempted.
param
onComplete a callback message when the action is completed.

public voidsetCallWaiting(boolean enable, android.os.Message onComplete)
setCallWaiting sets a call forwarding option.

param
enable is a boolean representing the state that you are requesting, true for enabled, false for disabled.
param
onComplete a callback message when the action is completed.

public voidsetCdmaRoamingPreference(int cdmaRoamingType, android.os.Message response)
Requests to set the CDMA roaming preference

param
cdmaRoamingType one of CDMA_RM_*
param
response is callback message

public voidsetCdmaSubscription(int cdmaSubscriptionType, android.os.Message response)
Requests to set the CDMA subscription mode

param
cdmaSubscriptionType one of CDMA_SUBSCRIPTION_*
param
response is callback message

public voidsetCellBroadcastSmsConfig(int[] configValuesArray, android.os.Message response)
Configure cell broadcast SMS. TODO: Change the configValuesArray to a RIL_BroadcastSMSConfig

param
response Callback message is empty on completion

public voidsetCellInfoListRate(int rateInMillis)
Sets the minimum time in milli-seconds between {@link PhoneStateListener#onCellInfoChanged PhoneStateListener.onCellInfoChanged} will be invoked. The default, 0, means invoke onCellInfoChanged when any of the reported information changes. Setting the value to INT_MAX(0x7fffffff) means never issue A onCellInfoChanged.

param
rateInMillis the rate

public voidsetDataEnabled(boolean enable)

param
@enable set {@code true} if enable data connection

public voidsetDataRoamingEnabled(boolean enable)

param
enable set true if enable data connection on roaming

public voidsetEchoSuppressionEnabled()
Enables or disables echo suppression.

public voidsetImsRegistrationState(boolean registered)
Set IMS registration state

public booleansetLine1Number(java.lang.String alphaTag, java.lang.String number, android.os.Message onComplete)
Sets the MSISDN phone number in the SIM card.

param
alphaTag the alpha tag associated with the MSISDN phone number (see getMsisdnAlphaTag)
param
number the new MSISDN phone number to be set on the SIM.
param
onComplete a callback message when the action is completed.
return
true if req is sent, false otherwise. If req is not sent there will be no response, that is, onComplete will never be sent.

public voidsetMute(boolean muted)
Mutes or unmutes the microphone for the active call. The microphone is automatically unmuted if a call is answered, dialed, or resumed from a holding state.

param
muted true to mute the microphone, false to activate the microphone.

public voidsetNetworkSelectionModeAutomatic(android.os.Message response)
Switches network selection mode to "automatic", re-scanning and re-selecting a network if appropriate.

param
response The message to dispatch when the network selection is complete.
see
#selectNetworkManually(OperatorInfo, android.os.Message )

public voidsetOnEcbModeExitResponse(android.os.Handler h, int what, java.lang.Object obj)
registers for exit emergency call back mode request response

param
h Handler that receives the notification message.
param
what User-defined message code.
param
obj User object.

public voidsetOnPostDialCharacter(android.os.Handler h, int what, java.lang.Object obj)
Sets an event to be fired when the telephony system processes a post-dial character on an outgoing call.

Messages of type what will be sent to h. The obj field of these Message's will be instances of AsyncResult. Message.obj.result will be a Connection object.

Message.arg1 will be the post dial character being processed, or 0 ('\0') if end of string.

If Connection.getPostDialState() == WAIT, the application must call {@link com.android.internal.telephony.Connection#proceedAfterWaitChar() Connection.proceedAfterWaitChar()} or {@link com.android.internal.telephony.Connection#cancelPostDial() Connection.cancelPostDial()} for the telephony system to continue playing the post-dial DTMF sequence.

If Connection.getPostDialState() == WILD, the application must call {@link com.android.internal.telephony.Connection#proceedAfterWildChar Connection.proceedAfterWildChar()} or {@link com.android.internal.telephony.Connection#cancelPostDial() Connection.cancelPostDial()} for the telephony system to continue playing the post-dial DTMF sequence.

Only one post dial character handler may be set.

Calling this method with "h" equal to null unsets this handler.

public booleansetOperatorBrandOverride(java.lang.String brand)
Override the service provider name and the operator name for the current ICCID.

public voidsetOutgoingCallerIdDisplay(int commandInterfaceCLIRMode, android.os.Message onComplete)
setOutgoingCallerIdDisplay sets a call forwarding option.

param
commandInterfaceCLIRMode is one of the valid call CLIR modes, as defined in com.android.internal.telephony.CommandsInterface./code>
param
onComplete a callback message when the action is completed.

public voidsetPreferredNetworkType(int networkType, android.os.Message response)
Requests to set the preferred network type for searching and registering (CS/PS domain, RAT, and operation mode)

param
networkType one of NT_*_TYPE
param
response is callback message

public voidsetRadioCapability(com.android.internal.telephony.RadioCapability rc, android.os.Message response)
Set phone radio capability

param
rc the phone radio capability defined in RadioCapability. It's a input object used to transfer parameter to logic modem
param
response Callback message.

public voidsetRadioPower(boolean power)
Sets the radio power on/off state (off is sometimes called "airplane mode"). Current state can be gotten via {@link #getServiceState()}.{@link android.telephony.ServiceState#getState() getState()}. Note: This request is asynchronous. getServiceState().getState() will not change immediately after this call. registerForServiceStateChanged() to find out when the request is complete.

param
power true means "on", false means "off".

public booleansetRoamingOverride(java.util.List gsmRoamingList, java.util.List gsmNonRoamingList, java.util.List cdmaRoamingList, java.util.List cdmaNonRoamingList)
Override the roaming indicator for the current ICCID.

public voidsetSmscAddress(java.lang.String address, android.os.Message result)
Sets the default SMSC address.

param
address new SMSC address
param
result Callback message is empty on completion

public voidsetTTYMode(int ttyMode, android.os.Message onComplete)
setTTYMode sets a TTY mode option.

param
ttyMode is a one of the following: - {@link com.android.internal.telephony.Phone#TTY_MODE_OFF} - {@link com.android.internal.telephony.Phone#TTY_MODE_FULL} - {@link com.android.internal.telephony.Phone#TTY_MODE_HCO} - {@link com.android.internal.telephony.Phone#TTY_MODE_VCO}
param
onComplete a callback message when the action is completed

public voidsetUiTTYMode(int uiTtyMode, android.os.Message onComplete)
setUiTTYMode sets a TTY mode option.

param
ttyMode is a one of the following: - {@link com.android.internal.telephony.Phone#TTY_MODE_OFF} - {@link com.android.internal.telephony.Phone#TTY_MODE_FULL} - {@link com.android.internal.telephony.Phone#TTY_MODE_HCO} - {@link com.android.internal.telephony.Phone#TTY_MODE_VCO}
param
onComplete a callback message when the action is completed

public voidsetUnitTestMode(boolean f)
For unit tests; don't send notifications to "Phone" mailbox registrants if true.

public voidsetVoiceMailNumber(java.lang.String alphaTag, java.lang.String voiceMailNumber, android.os.Message onComplete)
setVoiceMailNumber sets the voicemail number in the SIM card.

param
alphaTag the alpha tag associated with the voice mail number (see getVoiceMailAlphaTag)
param
voiceMailNumber the new voicemail number to be set on the SIM.
param
onComplete a callback message when the action is completed.

public voidsetVoiceMessageWaiting(int line, int countWaiting)
Sets the SIM voice message waiting indicator records.

param
line GSM Subscriber Profile Number, one-based. Only '1' is supported
param
countWaiting The number of messages waiting, if known. Use -1 to indicate that an unknown number of messages are waiting

public voidshutdownRadio()
shutdown Radio gracefully

public voidstartDtmf(char c)
Start to paly a DTMF tone on the active call. Ignored if there is no active call or there is a playing DTMF tone.

param
c should be one of 0-9, '*' or '#'. Other values will be silently ignored.

public voidstopDtmf()
Stop the playing DTMF tone. Ignored if there is no playing DTMF tone or no active call.

public voidswitchHoldingAndActive()
Places any active calls on hold, and makes any held calls active. Switch occurs asynchronously and may fail. Final notification occurs via {@link #registerForPreciseCallStateChanged(android.os.Handler, int, java.lang.Object) registerForPreciseCallStateChanged()}.

exception
CallStateException if a call is ringing, waiting, or dialing/alerting. In these cases, this operation may not be performed.

public voidunregisterForCallWaiting(android.os.Handler h)
Unegister for notifications when CDMA Call waiting comes

param
h Handler to be removed from the registrant list.

public voidunregisterForCdmaOtaStatusChange(android.os.Handler h)
Unregister for notifications when CDMA OTA Provision status change

param
h Handler to be removed from the registrant list.

public voidunregisterForDisconnect(android.os.Handler h)
Unregisters for voice disconnection notification. Extraneous calls are tolerated silently

public voidunregisterForDisplayInfo(android.os.Handler h)
Unregisters for display information notifications. Extraneous calls are tolerated silently

param
h Handler to be removed from the registrant list.

public voidunregisterForEcmTimerReset(android.os.Handler h)
Unregister for notification for Ecm timer reset

param
h Handler to be removed from the registrant list.

public voidunregisterForHandoverStateChanged(android.os.Handler h)
Unregisters for handover state notifications

public voidunregisterForInCallVoicePrivacyOff(android.os.Handler h)
Unregister for notifications when a sInCall VoicePrivacy is disabled

param
h Handler to be removed from the registrant list.

public voidunregisterForInCallVoicePrivacyOn(android.os.Handler h)
Unegister for notifications when a sInCall VoicePrivacy is enabled

param
h Handler to be removed from the registrant list.

public voidunregisterForIncomingRing(android.os.Handler h)
Unregisters for ring notification. Extraneous calls are tolerated silently

public voidunregisterForLineControlInfo(android.os.Handler h)
Unregisters for line control information notifications. Extraneous calls are tolerated silently

param
h Handler to be removed from the registrant list.

public voidunregisterForMmiComplete(android.os.Handler h)
Unregisters for MMI complete notification. Extraneous calls are tolerated silently

public voidunregisterForMmiInitiate(android.os.Handler h)
Unregisters for new MMI initiate notification. Extraneous calls are tolerated silently

public voidunregisterForNewRingingConnection(android.os.Handler h)
Unregisters for new ringing connection notification. Extraneous calls are tolerated silently

public voidunregisterForNumberInfo(android.os.Handler h)
Unregisters for number information record notifications. Extraneous calls are tolerated silently

param
h Handler to be removed from the registrant list.

public voidunregisterForOnHoldTone(android.os.Handler h)
Unregisters for on-hold tone notification.

public voidunregisterForPreciseCallStateChanged(android.os.Handler h)
Unregisters for voice call state change notifications. Extraneous calls are tolerated silently.

public voidunregisterForRadioCapabilityChanged(android.os.Handler h)
Unregister for notifications when phone radio type and access technology is changed.

param
h Handler to be removed from the registrant list.

public voidunregisterForRadioOffOrNotAvailable(android.os.Handler h)
Unregisters for radio off or not available

param
h Handler to be removed from the registrant list.

public voidunregisterForRedirectedNumberInfo(android.os.Handler h)
Unregisters for redirected number information record notification. Extraneous calls are tolerated silently

param
h Handler to be removed from the registrant list.

public voidunregisterForResendIncallMute(android.os.Handler h)
Unregisters for resend incall mute notifications.

public voidunregisterForRingbackTone(android.os.Handler h)
Unregisters for ringback tone notification.

public voidunregisterForServiceStateChanged(android.os.Handler h)
Unregisters for ServiceStateChange notification. Extraneous calls are tolerated silently

public voidunregisterForSignalInfo(android.os.Handler h)
Unregisters for signal information notifications. Extraneous calls are tolerated silently

param
h Handler to be removed from the registrant list.

public voidunregisterForSimRecordsLoaded(android.os.Handler h)
Unregister for notifications for Sim records loaded

param
h Handler to be removed from the registrant list.

public voidunregisterForSubscriptionInfoReady(android.os.Handler h)
Unregister for notifications for subscription info

param
h Handler to be removed from the registrant list.

public voidunregisterForSuppServiceFailed(android.os.Handler h)
Unregister for notifications when a supplementary service attempt fails. Extraneous calls are tolerated silently

param
h Handler to be removed from the registrant list.

public voidunregisterForSuppServiceNotification(android.os.Handler h)
Unregisters for Supplementary Service notifications. Extraneous calls are tolerated silently

param
h Handler to be removed from the registrant list.

public voidunregisterForT53AudioControlInfo(android.os.Handler h)
Unregisters for T53 audio control information record notifications. Extraneous calls are tolerated silently

param
h Handler to be removed from the registrant list.

public voidunregisterForT53ClirInfo(android.os.Handler h)
Unregisters for T53 CLIR information record notification Extraneous calls are tolerated silently

param
h Handler to be removed from the registrant list.

public voidunregisterForTtyModeReceived(android.os.Handler h)
Unregisters for TTY mode change notifications. Extraneous calls are tolerated silently

param
h Handler to be removed from the registrant list.

public voidunregisterForUnknownConnection(android.os.Handler h)
Unregisters for unknown connection notifications.

public voidunsetOnEcbModeExitResponse(android.os.Handler h)
Unregisters for exit emergency call back mode request response

param
h Handler to be removed from the registrant list.

public voidupdatePhoneObject(int voiceRadioTech)
Update the phone object if the voice radio technology has changed

param
voiceRadioTech The new voice radio technology

public voidupdateServiceLocation()
Update the ServiceState CellLocation for current network registration.