use of android.os.Registrant in project XobotOS by xamarin.
the class CDMAPhone method registerForNvLoaded.
public void registerForNvLoaded(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
mNvLoadedRegistrants.add(r);
}
use of android.os.Registrant in project XobotOS by xamarin.
the class CdmaCallTracker method registerForVoiceCallStarted.
//***** Instance Methods
//***** Public Methods
public void registerForVoiceCallStarted(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
voiceCallStartedRegistrants.add(r);
// Notify if in call when registering
if (state != Phone.State.IDLE) {
r.notifyRegistrant(new AsyncResult(null, null, null));
}
}
use of android.os.Registrant in project XobotOS by xamarin.
the class CdmaCallTracker method registerForCallWaiting.
public void registerForCallWaiting(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
callWaitingRegistrants.add(r);
}
use of android.os.Registrant in project XobotOS by xamarin.
the class IccCard method registerForNetworkLocked.
/**
* Notifies handler of any transition into State.NETWORK_LOCKED
*/
public void registerForNetworkLocked(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
mNetworkLockedRegistrants.add(r);
if (getState() == State.NETWORK_LOCKED) {
r.notifyRegistrant();
}
}
use of android.os.Registrant in project XobotOS by xamarin.
the class BaseCommands method registerForCdmaOtaProvision.
public void registerForCdmaOtaProvision(Handler h, int what, Object obj) {
Registrant r = new Registrant(h, what, obj);
mOtaProvisionRegistrants.add(r);
}
Aggregations