Methods Summary |
---|
public void | acceptCall(android.os.Message result)ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
|
public void | acknowledgeIncomingGsmSmsWithPdu(boolean success, java.lang.String ackPdu, android.os.Message response)Acknowledge successful or failed receipt of last incoming SMS,
including acknowledgement TPDU to send as the RP-User-Data element
of the RP-ACK or RP-ERROR PDU.
|
public void | acknowledgeLastIncomingCdmaSms(boolean success, int cause, android.os.Message response)
|
public void | acknowledgeLastIncomingGsmSms(boolean success, int cause, android.os.Message response)
|
public void | cancelPendingUssd(android.os.Message response)Cancels a pending USSD session if one exists.
|
public void | changeBarringPassword(java.lang.String facility, java.lang.String oldPwd, java.lang.String newPwd, android.os.Message result)
|
public void | changeIccPin(java.lang.String oldPin, java.lang.String newPin, android.os.Message result)
|
public void | changeIccPin2(java.lang.String oldPin2, java.lang.String newPin2, android.os.Message result)
|
public void | changeIccPin2ForApp(java.lang.String oldPin2, java.lang.String newPin2, java.lang.String aidPtr, android.os.Message result)
|
public void | changeIccPinForApp(java.lang.String oldPin, java.lang.String newPin, java.lang.String aidPtr, android.os.Message result)
|
public void | conference(android.os.Message result)3GPP 22.030 6.5.5
"Adds a held call to the conversation"
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
|
public void | deactivateDataCall(int cid, int reason, android.os.Message result)Deactivate packet data connection
|
public void | deleteSmsOnRuim(int index, android.os.Message response)Deletes the specified SMS record from RUIM memory (EF_SMS in DF_CDMA).
|
public void | deleteSmsOnSim(int index, android.os.Message response)Deletes the specified SMS record from SIM memory (EF_SMS).
|
public void | dial(java.lang.String address, int clirMode, android.os.Message result)returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
CLIR_DEFAULT == on "use subscription default value"
CLIR_SUPPRESSION == on "CLIR suppression" (allow CLI presentation)
CLIR_INVOCATION == on "CLIR invocation" (restrict CLI presentation)
|
public void | dial(java.lang.String address, int clirMode, UUSInfo uusInfo, android.os.Message result)returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
CLIR_DEFAULT == on "use subscription default value"
CLIR_SUPPRESSION == on "CLIR suppression" (allow CLI presentation)
CLIR_INVOCATION == on "CLIR invocation" (restrict CLI presentation)
|
public void | exitEmergencyCallbackMode(android.os.Message response)Requests the radio's system selection module to exit emergency callback mode.
This function should only be called from CDMAPHone.java.
|
public void | explicitCallTransfer(android.os.Message result)3GPP 22.030 6.5.5
"Connects the two calls and disconnects the subscriber from both calls"
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
|
public void | getAvailableNetworks(android.os.Message response)Queries the currently available networks
((AsyncResult)response.obj).result is a List of NetworkInfo objects
|
public void | getBasebandVersion(android.os.Message response)
|
public void | getCDMASubscription(android.os.Message response)Request the device MDN / H_SID / H_NID / MIN.
"response" is const char **
[0] is MDN if CDMA subscription is available
[1] is a comma separated list of H_SID (Home SID) in decimal format
if CDMA subscription is available
[2] is a comma separated list of H_NID (Home NID) in decimal format
if CDMA subscription is available
[3] is MIN (10 digits, MIN2+MIN1) if CDMA subscription is available
|
public void | getCLIR(android.os.Message response)response.obj will be a an int[2]
response.obj[0] will be TS 27.007 +CLIR parameter 'n'
0 presentation indicator is used according to the subscription of the CLIR service
1 CLIR invocation
2 CLIR suppression
response.obj[1] will be TS 27.007 +CLIR parameter 'm'
0 CLIR not provisioned
1 CLIR provisioned in permanent mode
2 unknown (e.g. no network, etc.)
3 CLIR temporary mode presentation restricted
4 CLIR temporary mode presentation allowed
|
public void | getCdmaBroadcastConfig(android.os.Message result)Query the current configuration of cdma cell broadcast SMS.
|
public void | getCdmaSubscriptionSource(android.os.Message response)Requests to get the CDMA subscription srouce
|
public void | getCellInfoList(android.os.Message result)Return the current set of CellInfo records
AsyncResult.result is a of Collection
|
public void | getCurrentCalls(android.os.Message result)returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result contains a List of DriverCall
The ar.result List is sorted by DriverCall.index
|
public void | getDataCallList(android.os.Message result)returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result contains a List of DataCallResponse
|
public void | getDataRegistrationState(android.os.Message response)response.obj.result is an int[3]
response.obj.result[0] is registration state 0-5 from TS 27.007 7.2
response.obj.result[1] is LAC if registered or -1 if not
response.obj.result[2] is CID if registered or -1 if not
valid LAC and CIDs are 0x0000 - 0xffff
Please note that registration state 4 ("unknown") is treated
as "out of service" above
|
public void | getDeviceIdentity(android.os.Message response)Request the device ESN / MEID / IMEI / IMEISV.
"response" is const char **
[0] is IMEI if GSM subscription is available
[1] is IMEISV if GSM subscription is available
[2] is ESN if CDMA subscription is available
[3] is MEID if CDMA subscription is available
|
public void | getGsmBroadcastConfig(android.os.Message response)Query the current configuration of cell broadcast SMS of GSM.
|
public void | getHardwareConfig(android.os.Message result)returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result contains a List of HardwareConfig
|
public void | getIMEI(android.os.Message result)returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is String containing IMEI on success
|
public void | getIMEISV(android.os.Message result)returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is String containing IMEISV on success
|
public void | getIMSI(android.os.Message result)returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is String containing IMSI on success
|
public void | getIMSIForApp(java.lang.String aid, android.os.Message result)returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is String containing IMSI on success
|
public void | getIccCardStatus(android.os.Message result)Request the status of the ICC and UICC cards.
|
public void | getImsRegistrationState(android.os.Message result)response.obj.result is an int[2]
response.obj.result[0] is IMS registration state
0 - Not registered
1 - Registered
response.obj.result[1] is of type RILConstants.GSM_PHONE or
RILConstants.CDMA_PHONE
|
public void | getLastCallFailCause(android.os.Message result)cause code returned as int[0] in Message.obj.response
Returns integer cause code defined in TS 24.008
Annex H or closest approximation.
Most significant codes:
- Any defined in 22.001 F.4 (for generating busy/congestion)
- Cause 68: ACM >= ACMMax
|
public void | getLastDataCallFailCause(android.os.Message result)The preferred new alternative to getLastPdpFailCause
that is also CDMA-compatible.
|
public void | getLastPdpFailCause(android.os.Message result)Reason for last PDP context deactivate or failure to activate
cause code returned as int[0] in Message.obj.response
returns an integer cause code defined in TS 24.008
section 6.1.3.1.3 or close approximation
|
public int | getLteOnCdmaMode()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.
|
public void | getMute(android.os.Message response)
|
public void | getNeighboringCids(android.os.Message response)Query neighboring cell ids
|
public void | getNetworkSelectionMode(android.os.Message response)Queries whether the current network selection mode is automatic
or manual
((AsyncResult)response.obj).result is an int[] with element [0] being
a 0 for automatic selection and a 1 for manual selection
|
public void | getOperator(android.os.Message response)response.obj.result is a String[3]
response.obj.result[0] is long alpha or null if unregistered
response.obj.result[1] is short alpha or null if unregistered
response.obj.result[2] is numeric or null if unregistered
|
public void | getPDPContextList(android.os.Message result)returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result contains a List of DataCallResponse
|
public void | getPreferredNetworkType(android.os.Message response)Query the preferred network type setting
|
public void | getPreferredVoicePrivacy(android.os.Message result)Get currently set preferred Voice Privacy (VP) mode.
|
public void | getRadioCapability(android.os.Message result)Get phone radio capability
|
public com.android.internal.telephony.CommandsInterface$RadioState | getRadioState()
|
public int | getRilVersion()
|
public void | getSignalStrength(android.os.Message response)response.obj is an AsyncResult
response.obj.result is an int[2]
response.obj.result[0] is received signal strength (0-31, 99)
response.obj.result[1] is bit error rate (0-7, 99)
as defined in TS 27.007 8.5
|
public void | getSmscAddress(android.os.Message result)Gets the default SMSC address.
|
public int | getSupportedRadioAccessFamily()
|
public void | getVoiceRadioTechnology(android.os.Message result)Get the current Voice Radio Technology.
AsyncResult.result is an int array with the first value
being one of the ServiceState.RIL_RADIO_TECHNOLOGY_xxx values.
|
public void | getVoiceRegistrationState(android.os.Message response)response.obj.result is an int[3]
response.obj.result[0] is registration state 0-5 from TS 27.007 7.2
response.obj.result[1] is LAC if registered or -1 if not
response.obj.result[2] is CID if registered or -1 if not
valid LAC and CIDs are 0x0000 - 0xffff
Please note that registration state 4 ("unknown") is treated
as "out of service" above
|
public void | handleCallSetupRequestFromSim(boolean accept, android.os.Message response)Accept or reject the call setup request from SIM.
|
public void | hangupConnection(int gsmIndex, android.os.Message result)Hang up one individual connection.
returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
3GPP 22.030 6.5.5
"Releases a specific active call X"
|
public void | hangupForegroundResumeBackground(android.os.Message result)3GPP 22.030 6.5.5
"Releases all active calls (if any exist) and accepts
the other (held or waiting) call."
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
|
public void | hangupWaitingOrBackground(android.os.Message result)3GPP 22.030 6.5.5
"Releases all held calls or sets User Determined User Busy (UDUB)
for a waiting call."
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
|
public void | iccCloseLogicalChannel(int channel, android.os.Message response)Close a previously opened logical channel to the SIM.
Input parameters equivalent to TS 27.007 AT+CCHC command.
|
public void | iccIO(int command, int fileid, java.lang.String path, int p1, int p2, int p3, java.lang.String data, java.lang.String pin2, android.os.Message response)parameters equivalent to 27.007 AT+CRSM command
response.obj will be an AsyncResult
response.obj.result will be an IccIoResult on success
|
public void | iccIOForApp(int command, int fileid, java.lang.String path, int p1, int p2, int p3, java.lang.String data, java.lang.String pin2, java.lang.String aid, android.os.Message response)parameters equivalent to 27.007 AT+CRSM command
response.obj will be an AsyncResult
response.obj.userObj will be a IccIoResult on success
|
public void | iccOpenLogicalChannel(java.lang.String AID, android.os.Message response)Open a logical channel to the SIM.
Input parameters equivalent to TS 27.007 AT+CCHO command.
|
public void | iccTransmitApduBasicChannel(int cla, int instruction, int p1, int p2, int p3, java.lang.String data, android.os.Message response)Exchange APDUs with the SIM on a basic channel.
Input parameters equivalent to TS 27.007 AT+CSIM command.
|
public void | iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, java.lang.String data, android.os.Message response)Exchange APDUs with the SIM on a logical channel.
Input parameters equivalent to TS 27.007 AT+CGLA command.
|
public void | invokeOemRilRequestRaw(byte[] data, android.os.Message response)
|
public void | invokeOemRilRequestStrings(java.lang.String[] strings, android.os.Message response)
|
public void | nvReadItem(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.
|
public void | nvResetConfig(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.
|
public void | nvWriteCdmaPrl(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.
|
public void | nvWriteItem(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.
|
public void | queryAvailableBandMode(android.os.Message response)Query the list of band mode supported by RF.
|
public void | queryCLIP(android.os.Message response)(AsyncResult)response.obj).result is an int[] with element [0] set to
1 for "CLIP is provisioned", and 0 for "CLIP is not provisioned".
|
public void | queryCallForwardStatus(int cfReason, int serviceClass, java.lang.String number, android.os.Message response)cfReason is one of CF_REASON_*
((AsyncResult)response.obj).result will be an array of
CallForwardInfo's
An array of length 0 means "disabled for all codes"
|
public void | queryCallWaiting(int serviceClass, android.os.Message response)(AsyncResult)response.obj).result is an int[] with element [0] set to
0 for disabled, 1 for enabled.
|
public void | queryCdmaRoamingPreference(android.os.Message response)Query the CDMA roaming preference setting
|
public void | queryFacilityLock(java.lang.String facility, java.lang.String password, int serviceClass, android.os.Message response)(AsyncResult)response.obj).result will be an Integer representing
the sum of enabled service classes (sum of SERVICE_CLASS_*)
|
public void | queryFacilityLockForApp(java.lang.String facility, java.lang.String password, int serviceClass, java.lang.String appId, android.os.Message response)(AsyncResult)response.obj).result will be an Integer representing
the sum of enabled service classes (sum of SERVICE_CLASS_*) for the
application with appId.
|
public void | queryTTYMode(android.os.Message response)Query the TTY mode
(AsyncResult)response.obj).result is an int[] with element [0] set to
tty mode:
- {@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}
|
public void | registerFoT53ClirlInfo(android.os.Handler h, int what, java.lang.Object obj)Registers the handler for CDMA T53 CLIR information record
Unlike the register* methods, there's only one notification handler
|
public void | registerForAvailable(android.os.Handler h, int what, java.lang.Object obj)Fires on any transition out of RadioState.isAvailable()
Fires immediately if currently in that state
In general, actions should be idempotent. State may change
before event is received.
|
public void | registerForCallStateChanged(android.os.Handler h, int what, java.lang.Object obj)
|
public void | registerForCallWaitingInfo(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for Event Notifications for CallWaiting Info.
Unlike the register* methods, there's only one notification handler
|
public void | registerForCdmaOtaProvision(android.os.Handler h, int what, java.lang.Object obj)Fires on any CDMA OTA provision status change
|
public void | registerForCdmaPrlChanged(android.os.Handler h, int what, java.lang.Object obj)Registers the handler for when Cdma prl changed events
|
public void | registerForCdmaSubscriptionChanged(android.os.Handler h, int what, java.lang.Object obj)Registers the handler for when Cdma subscription changed events
|
public void | registerForCellInfoList(android.os.Handler h, int what, java.lang.Object obj)Fires when RIL_UNSOL_CELL_INFO_LIST is received from the RIL.
|
public void | registerForDataNetworkStateChanged(android.os.Handler h, int what, java.lang.Object obj)
|
public void | registerForDisplayInfo(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for Event Notifications for CDMA Display Info.
Unlike the register* methods, there's only one notification handler
|
public void | registerForExitEmergencyCallbackMode(android.os.Handler h, int what, java.lang.Object obj)Registers the handler for when Cdma prl changed events
|
public void | registerForHardwareConfigChanged(android.os.Handler h, int what, java.lang.Object obj)fires on any change in hardware configuration.
|
public void | registerForIccRefresh(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for SIM Refresh notifications.
|
public void | registerForIccStatusChanged(android.os.Handler h, int what, java.lang.Object obj)Fires on any change in ICC status
|
public void | registerForImsNetworkStateChanged(android.os.Handler h, int what, java.lang.Object obj)
|
public void | registerForInCallVoicePrivacyOff(android.os.Handler h, int what, java.lang.Object obj)
|
public void | registerForInCallVoicePrivacyOn(android.os.Handler h, int what, java.lang.Object obj)InCall voice privacy notifications
|
public void | registerForLineControlInfo(android.os.Handler h, int what, java.lang.Object obj)Registers the handler for CDMA line control information record
Unlike the register* methods, there's only one notification handler
|
public void | registerForNotAvailable(android.os.Handler h, int what, java.lang.Object obj)Fires on any transition into !RadioState.isAvailable()
Fires immediately if currently in that state
In general, actions should be idempotent. State may change
before event is received.
|
public void | registerForNumberInfo(android.os.Handler h, int what, java.lang.Object obj)Registers the handler for CDMA number information record
Unlike the register* methods, there's only one notification handler
|
public void | registerForOffOrNotAvailable(android.os.Handler h, int what, java.lang.Object obj)Fires on any transition into RADIO_OFF or !RadioState.isAvailable()
Fires immediately if currently in that state
In general, actions should be idempotent. State may change
before event is received.
|
public void | registerForOn(android.os.Handler h, int what, java.lang.Object obj)Fires on any transition into RadioState.isOn()
Fires immediately if currently in that state
In general, actions should be idempotent. State may change
before event is received.
|
public void | registerForRadioCapabilityChanged(android.os.Handler h, int what, java.lang.Object obj)Registers the handler when phone radio capability is changed.
|
public void | registerForRadioStateChanged(android.os.Handler h, int what, java.lang.Object obj)Fires on any RadioState transition
Always fires immediately as well
do not attempt to calculate transitions by storing getRadioState() values
on previous invocations of this notification. Instead, use the other
registration methods
|
public void | registerForRedirectedNumberInfo(android.os.Handler h, int what, java.lang.Object obj)Registers the handler for CDMA redirected number Information record
Unlike the register* methods, there's only one notification handler
|
public void | registerForResendIncallMute(android.os.Handler h, int what, java.lang.Object obj)Registers the handler when mute/unmute need to be resent to get
uplink audio during a call.
|
public void | registerForRilConnected(android.os.Handler h, int what, java.lang.Object obj)Registers the handler for RIL_UNSOL_RIL_CONNECT events.
When ril connects or disconnects a message is sent to the registrant
which contains an AsyncResult, ar, in msg.obj. The ar.result is an
Integer which is the version of the ril or -1 if the ril disconnected.
|
public void | registerForRingbackTone(android.os.Handler h, int what, java.lang.Object obj)Registers the handler when out-band ringback tone is needed.
Messages received from this:
Message.obj will be an AsyncResult
AsyncResult.userObj = obj
AsyncResult.result = boolean.
|
public void | registerForSignalInfo(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for Event Notifications for Signal Info.
Unlike the register* methods, there's only one notification handler
|
public void | registerForSrvccStateChanged(android.os.Handler h, int what, java.lang.Object obj)Single Radio Voice Call State progress notifications
|
public void | registerForSubscriptionStatusChanged(android.os.Handler h, int what, java.lang.Object obj)Handlers for subscription status change indications.
|
public void | registerForT53AudioControlInfo(android.os.Handler h, int what, java.lang.Object obj)Registers the handler for CDMA T53 audio control information record
Unlike the register* methods, there's only one notification handler
|
public void | registerForVoiceNetworkStateChanged(android.os.Handler h, int what, java.lang.Object obj)
|
public void | registerForVoiceRadioTechChanged(android.os.Handler h, int what, java.lang.Object obj)
|
public void | rejectCall(android.os.Message result)also known as UDUB
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
|
public void | reportSmsMemoryStatus(boolean available, android.os.Message result)Indicates whether there is storage available for new SMS messages.
|
public void | reportStkServiceIsRunning(android.os.Message result)Indicates to the vendor ril that StkService is running
and is ready to receive RIL_UNSOL_STK_XXXX commands.
|
public void | requestIccSimAuthentication(int authContext, java.lang.String data, java.lang.String aid, android.os.Message response)Request the SIM application on the UICC to perform authentication
challenge/response algorithm. The data string and challenge response are
Base64 encoded Strings.
Can support EAP-SIM, EAP-AKA with results encoded per 3GPP TS 31.102.
|
public void | requestIsimAuthentication(java.lang.String nonce, android.os.Message response)Request the ISIM application on the UICC to perform the AKA
challenge/response algorithm for IMS authentication. The nonce string
and challenge response are Base64 encoded Strings.
|
public void | requestShutdown(android.os.Message result)Inform RIL that the device is shutting down
|
public void | resetRadio(android.os.Message result)
|
public void | sendBurstDtmf(java.lang.String dtmfString, int on, int off, android.os.Message result)ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
|
public void | sendCDMAFeatureCode(java.lang.String FeatureCode, android.os.Message response)Send Flash Code.
"response" is is NULL
[0] is a FLASH string
|
public void | sendCdmaSms(byte[] pdu, android.os.Message response)
|
public void | sendDtmf(char c, android.os.Message result)ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
|
public void | sendEnvelope(java.lang.String contents, android.os.Message response)Send ENVELOPE to the SIM, after processing a proactive command sent by
the SIM.
|
public void | sendEnvelopeWithStatus(java.lang.String contents, android.os.Message response)Send ENVELOPE to the SIM, such as an SMS-PP data download envelope
for a SIM data download message. This method has one difference
from {@link #sendEnvelope}: The SW1 and SW2 status bytes from the UICC response
are returned along with the response data.
response.obj will be an AsyncResult
response.obj.result will be an IccIoResult on success
|
public void | sendImsCdmaSms(byte[] pdu, int retry, int messageRef, android.os.Message response)send SMS over IMS with 3GPP2/CDMA SMS format
|
public void | sendImsGsmSms(java.lang.String smscPDU, java.lang.String pdu, int retry, int messageRef, android.os.Message response)send SMS over IMS with 3GPP/GSM SMS format
|
public void | sendSMS(java.lang.String smscPDU, java.lang.String pdu, android.os.Message response)smscPDU is smsc address in PDU form GSM BCD format prefixed
by a length byte (as expected by TS 27.005) or NULL for default SMSC
pdu is SMS in PDU format as an ASCII hex string
less the SMSC address
|
public void | sendSMSExpectMore(java.lang.String smscPDU, java.lang.String pdu, android.os.Message response)Send an SMS message, Identical to sendSMS,
except that more messages are expected to be sent soon
smscPDU is smsc address in PDU form GSM BCD format prefixed
by a length byte (as expected by TS 27.005) or NULL for default SMSC
pdu is SMS in PDU format as an ASCII hex string
less the SMSC address
|
public void | sendTerminalResponse(java.lang.String contents, android.os.Message response)Send TERMINAL RESPONSE to the SIM, after processing a proactive command
sent by the SIM.
|
public void | sendUSSD(java.lang.String ussdString, android.os.Message response)
|
public void | separateConnection(int gsmIndex, android.os.Message result)3GPP 22.030 6.5.5
"Places all active calls on hold except call X with which
communication shall be supported."
|
public void | setBandMode(int bandMode, android.os.Message response)Assign a specified band for RF configuration.
|
public void | setCLIR(int clirMode, android.os.Message response)clirMode is one of the CLIR_* constants above
response.obj is null
|
public void | setCallForward(int action, int cfReason, int serviceClass, java.lang.String number, int timeSeconds, android.os.Message response)
|
public void | setCallWaiting(boolean enable, int serviceClass, android.os.Message response)
|
public void | setCdmaBroadcastActivation(boolean activate, android.os.Message result)Activate or deactivate cell broadcast SMS for CDMA.
|
public void | setCdmaBroadcastConfig(com.android.internal.telephony.cdma.CdmaSmsBroadcastConfigInfo[] configs, android.os.Message response)Configure cdma cell broadcast SMS.
|
public void | setCdmaRoamingPreference(int cdmaRoamingType, android.os.Message response)Requests to set the CDMA roaming preference
|
public void | setCdmaSubscriptionSource(int cdmaSubscriptionType, android.os.Message response)Requests to set the CDMA subscription mode
|
public void | setCellInfoListRate(int rateInMillis, android.os.Message response)Sets the minimum time in milli-seconds between when RIL_UNSOL_CELL_INFO_LIST
should be invoked.
The default, 0, means invoke RIL_UNSOL_CELL_INFO_LIST when any of the reported
information changes. Setting the value to INT_MAX(0x7fffffff) means never issue
A RIL_UNSOL_CELL_INFO_LIST.
|
public void | setDataAllowed(boolean allowed, android.os.Message result)Tells the modem if data is allowed or not.
|
public void | setDataProfile(com.android.internal.telephony.dataconnection.DataProfile[] dps, android.os.Message result)Set data profiles in modem
|
public void | setEmergencyCallbackMode(android.os.Handler h, int what, java.lang.Object obj)Fires on if Modem enters Emergency Callback mode
|
public void | setFacilityLock(java.lang.String facility, boolean lockState, java.lang.String password, int serviceClass, android.os.Message response)
|
public void | setFacilityLockForApp(java.lang.String facility, boolean lockState, java.lang.String password, int serviceClass, java.lang.String appId, android.os.Message response)Set the facility lock for the app with this AID on the ICC card.
|
public void | setGsmBroadcastActivation(boolean activate, android.os.Message result)Activate or deactivate cell broadcast SMS for GSM.
|
public void | setGsmBroadcastConfig(com.android.internal.telephony.gsm.SmsBroadcastConfigInfo[] config, android.os.Message response)Configure cell broadcast SMS for GSM.
|
public void | setInitialAttachApn(java.lang.String apn, java.lang.String protocol, int authType, java.lang.String username, java.lang.String password, android.os.Message result)Set Initial Attach Apn
|
public void | setLocationUpdates(boolean enable, android.os.Message response)Request to enable/disable network state change notifications when
location information (lac and/or cid) has changed.
|
public void | setMute(boolean enableMute, android.os.Message response)
|
public void | setNetworkSelectionModeAutomatic(android.os.Message response)
|
public void | setNetworkSelectionModeManual(java.lang.String operatorNumeric, android.os.Message response)
|
public void | setOnCallRing(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for RING notifications.
Unlike the register* methods, there's only one notification handler
|
public void | setOnCatCallSetUp(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for Call Set Up Notifications for CAT.
Unlike the register* methods, there's only one notification handler
|
public void | setOnCatCcAlphaNotify(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for Alpha Notification during STK Call Control.
Unlike the register* methods, there's only one notification handler
|
public void | setOnCatEvent(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for Event Notifications for CAT.
Unlike the register* methods, there's only one notification handler
|
public void | setOnCatProactiveCmd(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for Proactive Commands for CAT.
Unlike the register* methods, there's only one notification handler
|
public void | setOnCatSessionEnd(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for Session End Notifications for CAT.
Unlike the register* methods, there's only one notification handler
|
public void | setOnIccRefresh(android.os.Handler h, int what, java.lang.Object obj)
|
public void | setOnIccSmsFull(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for SIM/RUIM SMS storage full unsolicited message.
Unlike the register* methods, there's only one notification handler
|
public void | setOnNITZTime(android.os.Handler h, int what, java.lang.Object obj)unlike the register* methods, there's only one NITZ time handler
AsyncResult.result is an Object[]
((Object[])AsyncResult.result)[0] is a String containing the NITZ time string
((Object[])AsyncResult.result)[1] is a Long containing the milliseconds since boot as
returned by elapsedRealtime() when this NITZ time
was posted.
Please note that the delivery of this message may be delayed several
seconds on system startup
|
public void | setOnNewCdmaSms(android.os.Handler h, int what, java.lang.Object obj)unlike the register* methods, there's only one new 3GPP2 format SMS handler.
if you need to unregister, you should also tell the radio to stop
sending SMS's to you (via AT+CNMI)
AsyncResult.result is a String containing the SMS PDU
|
public void | setOnNewGsmBroadcastSms(android.os.Handler h, int what, java.lang.Object obj)Set the handler for SMS Cell Broadcast messages.
AsyncResult.result is a byte array containing the SMS-CB PDU
|
public void | setOnNewGsmSms(android.os.Handler h, int what, java.lang.Object obj)unlike the register* methods, there's only one new 3GPP format SMS handler.
if you need to unregister, you should also tell the radio to stop
sending SMS's to you (via AT+CNMI)
AsyncResult.result is a String containing the SMS PDU
|
public void | setOnRestrictedStateChanged(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for RESTRICTED_STATE changed notification,
eg, for Domain Specific Access Control
unlike the register* methods, there's only one signal strength handler
AsyncResult.result is an int[1]
response.obj.result[0] is a bitmask of RIL_RESTRICTED_STATE_* values
|
public void | setOnSignalStrengthUpdate(android.os.Handler h, int what, java.lang.Object obj)unlike the register* methods, there's only one signal strength handler
AsyncResult.result is an int[2]
response.obj.result[0] is received signal strength (0-31, 99)
response.obj.result[1] is bit error rate (0-7, 99)
as defined in TS 27.007 8.5
|
public void | setOnSmsOnSim(android.os.Handler h, int what, java.lang.Object obj)Register for NEW_SMS_ON_SIM unsolicited message
AsyncResult.result is an int array containing the index of new SMS
|
public void | setOnSmsStatus(android.os.Handler h, int what, java.lang.Object obj)Register for NEW_SMS_STATUS_REPORT unsolicited message
AsyncResult.result is a String containing the status report PDU
|
public void | setOnSs(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for notifying Suplementary Services (SS)
Data during STK Call Control.
Unlike the register* methods, there's only one notification handler
|
public void | setOnSuppServiceNotification(android.os.Handler h, int what, java.lang.Object obj)Sets the handler for Supplementary Service Notifications.
Unlike the register* methods, there's only one notification handler
|
public void | setOnUSSD(android.os.Handler h, int what, java.lang.Object obj)unlike the register* methods, there's only one USSD notify handler
Represents the arrival of a USSD "notify" message, which may
or may not have been triggered by a previous USSD send
AsyncResult.result is a String[]
((String[])(AsyncResult.result))[0] contains status code
"0" USSD-Notify -- text in ((const char **)data)[1]
"1" USSD-Request -- text in ((const char **)data)[1]
"2" Session terminated by network
"3" other local client (eg, SIM Toolkit) has responded
"4" Operation not supported
"5" Network timeout
((String[])(AsyncResult.result))[1] contains the USSD message
The numeric representations of these are in USSD_MODE_*
|
public void | setOnUnsolOemHookRaw(android.os.Handler h, int what, java.lang.Object obj)Fires when RIL_UNSOL_OEM_HOOK_RAW is received from the RIL.
|
public void | setPhoneType(int phoneType)Set the Phone type created
|
public void | setPreferredNetworkType(int networkType, android.os.Message response)Requests to set the preferred network type for searching and registering
(CS/PS domain, RAT, and operation mode)
|
public void | setPreferredVoicePrivacy(boolean enable, android.os.Message result)Set preferred Voice Privacy (VP).
|
public void | setRadioCapability(com.android.internal.telephony.RadioCapability rc, android.os.Message result)Set phone radio type and access technology.
|
public void | setRadioPower(boolean on, android.os.Message response)
|
public void | setSmscAddress(java.lang.String address, android.os.Message result)Sets the default SMSC address.
|
public void | setSuppServiceNotifications(boolean enable, android.os.Message result)Enables/disbables supplementary service related notifications from
the network.
|
public void | setTTYMode(int ttyMode, android.os.Message response)Set the TTY mode
|
public void | setUiccSubscription(int slotId, int appIndex, int subId, int subStatus, android.os.Message result)Sets user selected subscription at Modem.
|
public void | setupDataCall(java.lang.String radioTechnology, java.lang.String profile, java.lang.String apn, java.lang.String user, java.lang.String password, java.lang.String authType, java.lang.String protocol, android.os.Message result)Setup a packet data connection On successful completion, the result
message will return a {@link com.android.internal.telephony.dataconnection.DataCallResponse}
object containing the connection information.
|
public void | startDtmf(char c, android.os.Message result)ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
|
public void | stopDtmf(android.os.Message result)ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
|
public void | supplyIccPin(java.lang.String pin, android.os.Message result)Supply the ICC PIN to the ICC card
returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
This exception is CommandException with an error of PASSWORD_INCORRECT
if the password is incorrect
ar.result is an optional array of integers where the first entry
is the number of attempts remaining before the ICC will be PUK locked.
ar.exception and ar.result are null on success
|
public void | supplyIccPin2(java.lang.String pin2, android.os.Message result)Supply the ICC PIN2 to the ICC card
Only called following operation where ICC_PIN2 was
returned as a a failure from a previous operation
returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
This exception is CommandException with an error of PASSWORD_INCORRECT
if the password is incorrect
ar.result is an optional array of integers where the first entry
is the number of attempts remaining before the ICC will be PUK locked.
ar.exception and ar.result are null on success
|
public void | supplyIccPin2ForApp(java.lang.String pin2, java.lang.String aid, android.os.Message result)Supply the PIN2 for the app with this AID on the ICC card
Only called following operation where ICC_PIN2 was
returned as a a failure from a previous operation
AID (Application ID), See ETSI 102.221 8.1 and 101.220 4
returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
This exception is CommandException with an error of PASSWORD_INCORRECT
if the password is incorrect
ar.result is an optional array of integers where the first entry
is the number of attempts remaining before the ICC will be PUK locked.
ar.exception and ar.result are null on success
|
public void | supplyIccPinForApp(java.lang.String pin, java.lang.String aid, android.os.Message result)Supply the PIN for the app with this AID on the ICC card
AID (Application ID), See ETSI 102.221 8.1 and 101.220 4
returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
This exception is CommandException with an error of PASSWORD_INCORRECT
if the password is incorrect
ar.result is an optional array of integers where the first entry
is the number of attempts remaining before the ICC will be PUK locked.
ar.exception and ar.result are null on success
|
public void | supplyIccPuk(java.lang.String puk, java.lang.String newPin, android.os.Message result)Supply the ICC PUK and newPin to the ICC card
returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
This exception is CommandException with an error of PASSWORD_INCORRECT
if the password is incorrect
ar.result is an optional array of integers where the first entry
is the number of attempts remaining before the ICC is permanently disabled.
ar.exception and ar.result are null on success
|
public void | supplyIccPuk2(java.lang.String puk2, java.lang.String newPin2, android.os.Message result)Supply the SIM PUK2 to the SIM card
Only called following operation where SIM_PUK2 was
returned as a a failure from a previous operation
returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
This exception is CommandException with an error of PASSWORD_INCORRECT
if the password is incorrect
ar.result is an optional array of integers where the first entry
is the number of attempts remaining before the ICC is permanently disabled.
ar.exception and ar.result are null on success
|
public void | supplyIccPuk2ForApp(java.lang.String puk2, java.lang.String newPin2, java.lang.String aid, android.os.Message result)Supply the PUK2, newPin2 for the app with this AID on the ICC card
Only called following operation where SIM_PUK2 was
returned as a a failure from a previous operation
AID (Application ID), See ETSI 102.221 8.1 and 101.220 4
returned message
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
This exception is CommandException with an error of PASSWORD_INCORRECT
if the password is incorrect
ar.result is an optional array of integers where the first entry
is the number of attempts remaining before the ICC is permanently disabled.
ar.exception and ar.result are null on success
|
public void | supplyIccPukForApp(java.lang.String puk, java.lang.String newPin, java.lang.String aid, android.os.Message result)Supply the PUK, new pin for the app with this AID on the ICC card
AID (Application ID), See ETSI 102.221 8.1 and 101.220 4
retMsg.obj = AsyncResult ar
ar.exception carries exception on failure
This exception is CommandException with an error of PASSWORD_INCORRECT
if the password is incorrect
ar.result is an optional array of integers where the first entry
is the number of attempts remaining before the ICC is permanently disabled.
ar.exception and ar.result are null on success
|
public void | supplyNetworkDepersonalization(java.lang.String netpin, android.os.Message result)
|
public void | switchWaitingOrHoldingAndActive(android.os.Message result)3GPP 22.030 6.5.5
"Places all active calls (if any exist) on hold and accepts
the other (held or waiting) call."
ar.exception carries exception on failure
ar.userObject contains the orignal value of result.obj
ar.result is null on success and failure
|
public void | testingEmergencyCall()Notifiy that we are testing an emergency call
|
public void | unSetOnCallRing(android.os.Handler h)
|
public void | unSetOnCatCallSetUp(android.os.Handler h)
|
public void | unSetOnCatCcAlphaNotify(android.os.Handler h)
|
public void | unSetOnCatEvent(android.os.Handler h)
|
public void | unSetOnCatProactiveCmd(android.os.Handler h)
|
public void | unSetOnCatSessionEnd(android.os.Handler h)
|
public void | unSetOnIccSmsFull(android.os.Handler h)
|
public void | unSetOnNITZTime(android.os.Handler h)
|
public void | unSetOnNewCdmaSms(android.os.Handler h)
|
public void | unSetOnNewGsmBroadcastSms(android.os.Handler h)
|
public void | unSetOnNewGsmSms(android.os.Handler h)
|
public void | unSetOnRestrictedStateChanged(android.os.Handler h)
|
public void | unSetOnSignalStrengthUpdate(android.os.Handler h)
|
public void | unSetOnSmsOnSim(android.os.Handler h)
|
public void | unSetOnSmsStatus(android.os.Handler h)
|
public void | unSetOnSs(android.os.Handler h)
|
public void | unSetOnSuppServiceNotification(android.os.Handler h)
|
public void | unSetOnUSSD(android.os.Handler h)
|
public void | unSetOnUnsolOemHookRaw(android.os.Handler h)
|
public void | unregisterForAvailable(android.os.Handler h)
|
public void | unregisterForCallStateChanged(android.os.Handler h)
|
public void | unregisterForCallWaitingInfo(android.os.Handler h)
|
public void | unregisterForCdmaOtaProvision(android.os.Handler h)
|
public void | unregisterForCdmaPrlChanged(android.os.Handler h)
|
public void | unregisterForCdmaSubscriptionChanged(android.os.Handler h)
|
public void | unregisterForCellInfoList(android.os.Handler h)
|
public void | unregisterForDataNetworkStateChanged(android.os.Handler h)
|
public void | unregisterForDisplayInfo(android.os.Handler h)
|
public void | unregisterForExitEmergencyCallbackMode(android.os.Handler h)
|
public void | unregisterForHardwareConfigChanged(android.os.Handler h)
|
public void | unregisterForIccRefresh(android.os.Handler h)
|
public void | unregisterForIccStatusChanged(android.os.Handler h)
|
public void | unregisterForImsNetworkStateChanged(android.os.Handler h)
|
public void | unregisterForInCallVoicePrivacyOff(android.os.Handler h)
|
public void | unregisterForInCallVoicePrivacyOn(android.os.Handler h)
|
public void | unregisterForLineControlInfo(android.os.Handler h)
|
public void | unregisterForNotAvailable(android.os.Handler h)
|
public void | unregisterForNumberInfo(android.os.Handler h)
|
public void | unregisterForOffOrNotAvailable(android.os.Handler h)
|
public void | unregisterForOn(android.os.Handler h)
|
public void | unregisterForRadioCapabilityChanged(android.os.Handler h)Unregister for notifications when phone radio capability is changed.
|
public void | unregisterForRadioStateChanged(android.os.Handler h)
|
public void | unregisterForRedirectedNumberInfo(android.os.Handler h)
|
public void | unregisterForResendIncallMute(android.os.Handler h)
|
public void | unregisterForRilConnected(android.os.Handler h)
|
public void | unregisterForRingbackTone(android.os.Handler h)
|
public void | unregisterForSignalInfo(android.os.Handler h)
|
public void | unregisterForSrvccStateChanged(android.os.Handler h)
|
public void | unregisterForSubscriptionStatusChanged(android.os.Handler h)
|
public void | unregisterForT53AudioControlInfo(android.os.Handler h)
|
public void | unregisterForT53ClirInfo(android.os.Handler h)
|
public void | unregisterForVoiceNetworkStateChanged(android.os.Handler h)
|
public void | unregisterForVoiceRadioTechChanged(android.os.Handler h)
|
public void | unsetOnIccRefresh(android.os.Handler h)
|
public void | writeSmsToRuim(int status, java.lang.String pdu, android.os.Message response)
|
public void | writeSmsToSim(int status, java.lang.String smsc, java.lang.String pdu, android.os.Message response)Writes an SMS message to SIM memory (EF_SMS).
|