public class CdmaSubscriptionSourceManager extends Handler
Handler.Callback
Modifier and Type | Field and Description |
---|---|
static int |
PREFERRED_CDMA_SUBSCRIPTION |
static int |
SUBSCRIPTION_FROM_NV |
static int |
SUBSCRIPTION_FROM_RUIM |
static int |
SUBSCRIPTION_SOURCE_UNKNOWN |
Modifier and Type | Method and Description |
---|---|
void |
dispose(Handler h)
Unregisters for the registered event with RIL
|
int |
getCdmaSubscriptionSource()
Returns the current CDMA subscription source value
|
static int |
getDefault(Context context)
Gets the default CDMA subscription source
|
static CdmaSubscriptionSourceManager |
getInstance(Context context,
CommandsInterface ci,
Handler h,
int what,
Object obj)
This function creates a single instance of this class
|
void |
handleMessage(Message msg)
Subclasses must implement this to receive messages.
|
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 SUBSCRIPTION_SOURCE_UNKNOWN
public static final int SUBSCRIPTION_FROM_RUIM
public static final int SUBSCRIPTION_FROM_NV
public static final int PREFERRED_CDMA_SUBSCRIPTION
public static CdmaSubscriptionSourceManager getInstance(Context context, CommandsInterface ci, Handler h, int what, Object obj)
public void dispose(Handler h)
public void handleMessage(Message msg)
Handler
handleMessage
in class Handler
public int getCdmaSubscriptionSource()
public static int getDefault(Context context)