public class GsmCellBroadcastHandler extends CellBroadcastHandler
StateMachine.LogRec
DBG, EVENT_BROADCAST_COMPLETE, EVENT_NEW_SMS_MESSAGE, mContext, mPhone, mReceiver
HANDLED, NOT_HANDLED
Modifier | Constructor and Description |
---|---|
protected |
GsmCellBroadcastHandler(Context context,
Phone phone) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
handleSmsMessage(Message message)
Handle 3GPP-format Cell Broadcast messages sent from radio.
|
static GsmCellBroadcastHandler |
makeGsmCellBroadcastHandler(Context context,
Phone phone)
Create a new CellBroadcastHandler.
|
protected void |
onQuitting()
This will be called once after a quit message that was NOT handled by
the derived StateMachine.
|
handleBroadcastSms, makeCellBroadcastHandler
dispatchSmsMessage, dispose, 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()
StateMachine
onQuitting
in class WakeLockStateMachine
public static GsmCellBroadcastHandler makeGsmCellBroadcastHandler(Context context, Phone phone)
context
- the context to use for dispatching Intentsprotected boolean handleSmsMessage(Message message)
handleSmsMessage
in class CellBroadcastHandler
message
- the message to process