public class TelephonyDevController extends Handler
Handler.Callback
Modifier and Type | Method and Description |
---|---|
static TelephonyDevController |
create() |
ArrayList<HardwareConfig> |
getAllModems()
get all modem's registered.
|
ArrayList<HardwareConfig> |
getAllSims()
get all sim's registered.
|
ArrayList<HardwareConfig> |
getAllSimsForModem(int modemIndex)
get all sim's associated with modem at index 'modemIndex'.
|
static TelephonyDevController |
getInstance() |
HardwareConfig |
getModem(int index)
get modem at index 'index'.
|
static int |
getModemCount()
get total number of registered modem.
|
HardwareConfig |
getModemForSim(int simIndex)
get modem associated with sim index 'simIndex'.
|
HardwareConfig |
getSim(int index)
get sim at index 'index'.
|
int |
getSimCount()
get total number of registered sims.
|
void |
handleMessage(Message msg)
handle callbacks from RIL.
|
static void |
registerRIL(CommandsInterface cmdsIf)
each RIL call this interface to register/unregister the unsolicited hardware
configuration callback data it can provide.
|
static void |
unregisterRIL(CommandsInterface cmdsIf) |
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 TelephonyDevController create()
public static TelephonyDevController getInstance()
public static void registerRIL(CommandsInterface cmdsIf)
public static void unregisterRIL(CommandsInterface cmdsIf)
public void handleMessage(Message msg)
handleMessage
in class Handler
public static int getModemCount()
public HardwareConfig getModem(int index)
public int getSimCount()
public HardwareConfig getSim(int index)
public HardwareConfig getModemForSim(int simIndex)
public ArrayList<HardwareConfig> getAllSimsForModem(int modemIndex)
public ArrayList<HardwareConfig> getAllModems()
public ArrayList<HardwareConfig> getAllSims()