public class PhoneSwitcher extends Handler
Handler.Callback
Constructor and Description |
---|
PhoneSwitcher(int maxActivePhones,
int numPhones,
Context context,
SubscriptionController subscriptionController,
Looper looper,
ITelephonyRegistry tr,
CommandsInterface[] cis,
Phone[] phones) |
PhoneSwitcher(Looper looper) |
Modifier and Type | Method and Description |
---|---|
void |
dump(FileDescriptor fd,
PrintWriter writer,
String[] args) |
void |
handleMessage(Message msg)
Subclasses must implement this to receive messages.
|
boolean |
isPhoneActive(int phoneId) |
void |
registerForActivePhoneSwitch(int phoneId,
Handler h,
int what,
Object o) |
void |
resendDataAllowed(int phoneId) |
void |
unregisterForActivePhoneSwitch(int phoneId,
Handler h) |
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 PhoneSwitcher(Looper looper)
public PhoneSwitcher(int maxActivePhones, int numPhones, Context context, SubscriptionController subscriptionController, Looper looper, ITelephonyRegistry tr, CommandsInterface[] cis, Phone[] phones)
public void handleMessage(Message msg)
Handler
handleMessage
in class Handler
public void resendDataAllowed(int phoneId)
public boolean isPhoneActive(int phoneId)
public void registerForActivePhoneSwitch(int phoneId, Handler h, int what, Object o)
public void unregisterForActivePhoneSwitch(int phoneId, Handler h)
public void dump(FileDescriptor fd, PrintWriter writer, String[] args)