use of android.os.Registrant in project XobotOS by xamarin.
the class IccCard method registerForAbsent.
/**
* Notifies handler of any transition into State.ABSENT
*/
public void registerForAbsent(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
mAbsentRegistrants.add(r);
if (getState() == State.ABSENT) {
r.notifyRegistrant();
}
}
use of android.os.Registrant in project XobotOS by xamarin.
the class IccCard method registerForLocked.
/**
* Notifies handler of any transition into State.isPinLocked()
*/
public void registerForLocked(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
mPinLockedRegistrants.add(r);
if (getState().isPinLocked()) {
r.notifyRegistrant();
}
}
use of android.os.Registrant in project XobotOS by xamarin.
the class BaseCommands method registerForRingbackTone.
public void registerForRingbackTone(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
mRingbackToneRegistrants.add(r);
}
use of android.os.Registrant in project XobotOS by xamarin.
the class BaseCommands method registerForInCallVoicePrivacyOn.
public void registerForInCallVoicePrivacyOn(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
mVoicePrivacyOnRegistrants.add(r);
}
use of android.os.Registrant in project XobotOS by xamarin.
the class BaseCommands method registerForRadioStateChanged.
public void registerForRadioStateChanged(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
synchronized (mStateMonitor) {
mRadioStateChangedRegistrants.add(r);
r.notifyRegistrant();
}
}
Aggregations