public class ProxyController extends Object
Modifier and Type | Method and Description |
---|---|
void |
disableDataConnectivity(int sub,
Message dataCleanedUpMsg) |
void |
enableDataConnectivity(int sub) |
static ProxyController |
getInstance() |
static ProxyController |
getInstance(Context context,
Phone[] phone,
UiccController uiccController,
CommandsInterface[] ci,
PhoneSwitcher ps) |
int |
getMaxRafSupported() |
int |
getMinRafSupported() |
int |
getRadioAccessFamily(int phoneId)
Get phone radio type and access technology.
|
boolean |
isDataDisconnected(int subId) |
void |
registerForAllDataDisconnected(int subId,
Handler h,
int what,
Object obj) |
boolean |
setRadioCapability(RadioAccessFamily[] rafs)
Set phone radio type and access technology for each phone.
|
void |
unregisterForAllDataDisconnected(int subId,
Handler h) |
void |
updateCurrentCarrierInProvider(int sub) |
void |
updateDataConnectionTracker(int sub) |
public static ProxyController getInstance(Context context, Phone[] phone, UiccController uiccController, CommandsInterface[] ci, PhoneSwitcher ps)
public static ProxyController getInstance()
public void updateDataConnectionTracker(int sub)
public void enableDataConnectivity(int sub)
public void disableDataConnectivity(int sub, Message dataCleanedUpMsg)
public void updateCurrentCarrierInProvider(int sub)
public void registerForAllDataDisconnected(int subId, Handler h, int what, Object obj)
public void unregisterForAllDataDisconnected(int subId, Handler h)
public boolean isDataDisconnected(int subId)
public int getRadioAccessFamily(int phoneId)
phoneId
- which phone you want to getpublic boolean setRadioCapability(RadioAccessFamily[] rafs)
rafs
- an RadioAccessFamily array to indicate all phone's
new radio access family. The length of RadioAccessFamily
must equal to phone count.public int getMaxRafSupported()
public int getMinRafSupported()