public class CdmaInboundSmsHandler extends InboundSmsHandler
InboundSmsHandler
for 3GPP2 type messages.StateMachine.LogRec
ADDRESS_COLUMN, COUNT_COLUMN, DATE_COLUMN, DBG, DESTINATION_PORT_COLUMN, EVENT_BROADCAST_SMS, EVENT_INJECT_SMS, EVENT_NEW_SMS, EVENT_START_ACCEPTING_SMS, ID_COLUMN, mCellBroadcastHandler, mContext, MESSAGE_BODY_COLUMN, mPhone, mStorageMonitor, PDU_COLUMN, REFERENCE_NUMBER_COLUMN, SELECT_BY_ID, SELECT_BY_REFERENCE, SEQUENCE_COLUMN, sRawUri, sRawUriPermanentDelete
HANDLED, NOT_HANDLED
Modifier and Type | Method and Description |
---|---|
protected void |
acknowledgeLastIncomingSms(boolean success,
int result,
Message response)
Send an acknowledge message.
|
protected int |
dispatchMessageRadioSpecific(SmsMessageBase smsb)
Process Cell Broadcast, Voicemail Notification, and other 3GPP/3GPP2-specific messages.
|
protected boolean |
is3gpp2()
Return true if this handler is for 3GPP2 messages; false for 3GPP format.
|
static CdmaInboundSmsHandler |
makeInboundSmsHandler(Context context,
SmsStorageMonitor storageMonitor,
Phone phone,
CdmaSMSDispatcher smsDispatcher)
Wait for state machine to enter startup state.
|
protected void |
onQuitting()
Unregister for CDMA SMS.
|
protected void |
onUpdatePhoneObject(Phone phone)
Called when the phone changes the default method updates mPhone
mStorageMonitor and mCellBroadcastHandler.updatePhoneObject.
|
addTrackerToRawTableAndSendMessage, dispatchIntent, dispatchNormalMessage, dispose, getPhone, getWakeLock, getWakeLockTimeout, log, loge, loge, updatePhoneObject
addLogRec, addState, addState, copyLogRecs, deferMessage, dump, getCurrentMessage, getCurrentState, getHandler, getLogRec, getLogRecCount, getLogRecSize, getLogRecString, getName, getWhatToString, haltedProcessMessage, hasDeferredMessages, hasMessages, isDbg, isQuit, logAndAddLogRec, logd, logi, logv, logw, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, onHalting, onPostHandleMessage, onPreHandleMessage, quit, quitNow, recordLogRec, removeDeferredMessages, removeMessages, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtFrontOfQueue, sendMessageAtFrontOfQueue, sendMessageAtFrontOfQueue, sendMessageAtFrontOfQueue, sendMessageAtFrontOfQueue, sendMessageDelayed, sendMessageDelayed, sendMessageDelayed, sendMessageDelayed, sendMessageDelayed, sendMessageDelayed, setDbg, setInitialState, setLogOnlyTransitions, setLogRecSize, start, toString, transitionTo, transitionToHaltingState, unhandledMessage
protected void onQuitting()
onQuitting
in class InboundSmsHandler
public static CdmaInboundSmsHandler makeInboundSmsHandler(Context context, SmsStorageMonitor storageMonitor, Phone phone, CdmaSMSDispatcher smsDispatcher)
protected boolean is3gpp2()
is3gpp2
in class InboundSmsHandler
protected int dispatchMessageRadioSpecific(SmsMessageBase smsb)
dispatchMessageRadioSpecific
in class InboundSmsHandler
smsb
- the SmsMessageBase object from the RILprotected void acknowledgeLastIncomingSms(boolean success, int result, Message response)
acknowledgeLastIncomingSms
in class InboundSmsHandler
success
- indicates that last message was successfully received.result
- result code indicating any errorresponse
- callback message sent when operation completes.protected void onUpdatePhoneObject(Phone phone)
onUpdatePhoneObject
in class InboundSmsHandler
phone
-