Search in sources :

Example 31 with Registrant

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);
}
Also used : Registrant(android.os.Registrant)

Example 32 with Registrant

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();
    }
}
Also used : Registrant(android.os.Registrant)

Example 33 with Registrant

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);
}
Also used : Registrant(android.os.Registrant)

Example 34 with Registrant

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);
}
Also used : Registrant(android.os.Registrant)

Example 35 with Registrant

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);
}
Also used : Registrant(android.os.Registrant)

Aggregations

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