Search in sources :

Example 91 with Registrant

use of android.os.Registrant in project android_frameworks_opt_telephony by LineageOS.

the class BaseCommands method registerForRedirectedNumberInfo.

@Override
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 92 with Registrant

use of android.os.Registrant in project android_frameworks_opt_telephony by LineageOS.

the class BaseCommands method registerForInCallVoicePrivacyOn.

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

Example 93 with Registrant

use of android.os.Registrant in project android_frameworks_opt_telephony by LineageOS.

the class BaseCommands method registerForCdmaSubscriptionChanged.

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

Example 94 with Registrant

use of android.os.Registrant in project android_frameworks_opt_telephony by LineageOS.

the class BaseCommands method registerForLineControlInfo.

@Override
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 95 with Registrant

use of android.os.Registrant in project android_frameworks_opt_telephony by LineageOS.

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)

Aggregations

Registrant (android.os.Registrant)139 AsyncResult (android.os.AsyncResult)19 Message (android.os.Message)5 RegistrantList (android.os.RegistrantList)4 NetworkRegistrationInfo (android.telephony.NetworkRegistrationInfo)2 IllegalArgumentException (java.lang.IllegalArgumentException)2 UnsupportedAppUsage (android.compat.annotation.UnsupportedAppUsage)1 PhysicalChannelConfig (android.telephony.PhysicalChannelConfig)1 SubscriptionInfo (android.telephony.SubscriptionInfo)1 AtomicInteger (java.util.concurrent.atomic.AtomicInteger)1