use of android.os.Registrant in project XobotOS by xamarin.
the class BaseCommands method registerForIccStatusChanged.
public void registerForIccStatusChanged(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
mIccStatusChangedRegistrants.add(r);
}
use of android.os.Registrant in project XobotOS by xamarin.
the class BaseCommands method registerForVoiceNetworkStateChanged.
public void registerForVoiceNetworkStateChanged(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
mVoiceNetworkStateRegistrants.add(r);
}
use of android.os.Registrant in project XobotOS by xamarin.
the class BaseCommands method registerForRedirectedNumberInfo.
public void registerForRedirectedNumberInfo(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
mRedirNumInfoRegistrants.add(r);
}
use of android.os.Registrant in project XobotOS by xamarin.
the class BaseCommands method registerForLineControlInfo.
public void registerForLineControlInfo(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
mLineControlInfoRegistrants.add(r);
}
use of android.os.Registrant in project XobotOS by xamarin.
the class BaseCommands method registerForRilConnected.
/**
* {@inheritDoc}
*/
@Override
public void registerForRilConnected(Handler h, int what, Object obj) {
Log.d(LOG_TAG, "registerForRilConnected h=" + h + " w=" + what);
Registrant r = new Registrant(h, what, obj);
mRilConnectedRegistrants.add(r);
if (mRilVersion != -1) {
Log.d(LOG_TAG, "Notifying: ril connected mRilVersion=" + mRilVersion);
r.notifyRegistrant(new AsyncResult(null, new Integer(mRilVersion), null));
}
}
Aggregations