public class SubscriptionInfoUpdater extends Handler
Handler.Callback
Modifier and Type | Field and Description |
---|---|
static String |
CURR_SUBID |
static int |
SIM_CHANGED |
static int |
SIM_NEW |
static int |
SIM_NOT_CHANGE
int[] sInsertSimState maintains all slots' SIM inserted status currently,
it may contain 4 kinds of values:
SIM_NOT_INSERT : no SIM inserted in slot i now
SIM_CHANGED : a valid SIM insert in slot i and is different SIM from last time
it will later become SIM_NEW or SIM_REPOSITION during update procedure
SIM_NOT_CHANGE : a valid SIM insert in slot i and is the same SIM as last time
SIM_NEW : a valid SIM insert in slot i and is a new SIM
SIM_REPOSITION : a valid SIM insert in slot i and is inserted in different slot last time
positive integer #: index to distinguish SIM cards with the same IccId
|
static int |
SIM_NOT_INSERT |
static int |
SIM_REPOSITION |
static int |
STATUS_NO_SIM_INSERTED |
static int |
STATUS_SIM1_INSERTED |
static int |
STATUS_SIM2_INSERTED |
static int |
STATUS_SIM3_INSERTED |
static int |
STATUS_SIM4_INSERTED |
Constructor and Description |
---|
SubscriptionInfoUpdater(Context context,
Phone[] phone,
CommandsInterface[] ci) |
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
void |
dump(FileDescriptor fd,
PrintWriter pw,
String[] args) |
void |
handleMessage(Message msg)
Subclasses must implement this to receive messages.
|
void |
setDisplayNameForNewSub(String newSubName,
int subId,
int newNameSource) |
dispatchMessage, dump, getLooper, getMessageName, getTraceName, hasCallbacks, hasMessages, hasMessages, obtainMessage, obtainMessage, obtainMessage, obtainMessage, obtainMessage, post, postAtFrontOfQueue, postAtTime, postAtTime, postDelayed, removeCallbacks, removeCallbacks, removeCallbacksAndMessages, removeMessages, removeMessages, runWithScissors, sendEmptyMessage, sendEmptyMessageAtTime, sendEmptyMessageDelayed, sendMessage, sendMessageAtFrontOfQueue, sendMessageAtTime, sendMessageDelayed, toString
public static final int SIM_NOT_CHANGE
public static final int SIM_CHANGED
public static final int SIM_NEW
public static final int SIM_REPOSITION
public static final int SIM_NOT_INSERT
public static final int STATUS_NO_SIM_INSERTED
public static final int STATUS_SIM1_INSERTED
public static final int STATUS_SIM2_INSERTED
public static final int STATUS_SIM3_INSERTED
public static final int STATUS_SIM4_INSERTED
public static final String CURR_SUBID
public SubscriptionInfoUpdater(Context context, Phone[] phone, CommandsInterface[] ci)
public void setDisplayNameForNewSub(String newSubName, int subId, int newNameSource)
public void handleMessage(Message msg)
Handler
handleMessage
in class Handler
public void dispose()
public void dump(FileDescriptor fd, PrintWriter pw, String[] args)