Search in sources :

Example 36 with Registrant

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

Example 37 with Registrant

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

Example 38 with Registrant

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

Example 39 with Registrant

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

the class BaseCommands method registerForCallWaitingInfo.

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

Example 40 with Registrant

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

the class BaseCommands method registerForIccRefresh.

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

Aggregations

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