Search in sources :

Example 96 with Registrant

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

the class BaseCommands method registerForIccStatusChanged.

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

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

the class BaseCommands method registerForDataCallListChanged.

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

Example 98 with Registrant

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

the class BaseCommands method registerForSubscriptionStatusChanged.

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

Example 99 with Registrant

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

the class BaseCommands method registerForHardwareConfigChanged.

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

Example 100 with Registrant

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

the class BaseCommands method registerForDisplayInfo.

@Override
public void registerForDisplayInfo(Handler h, int what, Object obj) {
    Registrant r = new Registrant(h, what, obj);
    mDisplayInfoRegistrants.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