Search in sources :

Example 11 with Registrant

use of android.os.Registrant in project XobotOS by xamarin.

the class BaseCommands method registerForResendIncallMute.

public void registerForResendIncallMute(Handler h, int what, Object obj) {
    Registrant r = new Registrant(h, what, obj);
    mResendIncallMuteRegistrants.add(r);
}
Also used : Registrant(android.os.Registrant)

Example 12 with Registrant

use of android.os.Registrant in project XobotOS by xamarin.

the class BaseCommands method registerForExitEmergencyCallbackMode.

@Override
public void registerForExitEmergencyCallbackMode(Handler h, int what, Object obj) {
    Registrant r = new Registrant(h, what, obj);
    mExitEmergencyCallbackModeRegistrants.add(r);
}
Also used : Registrant(android.os.Registrant)

Example 13 with Registrant

use of android.os.Registrant in project XobotOS by xamarin.

the class BaseCommands method registerForInCallVoicePrivacyOff.

public void registerForInCallVoicePrivacyOff(Handler h, int what, Object obj) {
    Registrant r = new Registrant(h, what, obj);
    mVoicePrivacyOffRegistrants.add(r);
}
Also used : Registrant(android.os.Registrant)

Example 14 with Registrant

use of android.os.Registrant in project XobotOS by xamarin.

the class CdmaCallTracker method registerForVoiceCallEnded.

public void registerForVoiceCallEnded(Handler h, int what, Object obj) {
    Registrant r = new Registrant(h, what, obj);
    voiceCallEndedRegistrants.add(r);
}
Also used : Registrant(android.os.Registrant)

Example 15 with Registrant

use of android.os.Registrant in project XobotOS by xamarin.

the class CdmaServiceStateTracker method registerForSubscriptionInfoReady.

/**
     * Registration point for subscription info ready
     * @param h handler to notify
     * @param what what code of message when delivered
     * @param obj placed in Message.obj
     */
public void registerForSubscriptionInfoReady(Handler h, int what, Object obj) {
    Registrant r = new Registrant(h, what, obj);
    cdmaForSubscriptionInfoReadyRegistrants.add(r);
    if (isMinInfoReady()) {
        r.notifyRegistrant();
    }
}
Also used : Registrant(android.os.Registrant)

Aggregations

Registrant (android.os.Registrant)45 AsyncResult (android.os.AsyncResult)5 Message (android.os.Message)2