Home
last modified time | relevance | path

Searched refs:CarrierRestrictionRules (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierRestrictionRulesTest.java21 import android.telephony.CarrierRestrictionRules;
63 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testBuilderAllowedAndExcludedCarriers()
71 assertEquals(CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED, in testBuilderAllowedAndExcludedCarriers()
79 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder().build(); in testBuilderEmptyLists()
84 assertEquals(CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED, in testBuilderEmptyLists()
98 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testBuilderWildCharacter()
106 assertEquals(CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED, in testBuilderWildCharacter()
119 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testBuilderDefaultAllowed()
123 CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_ALLOWED) in testBuilderDefaultAllowed()
129 assertEquals(CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_ALLOWED, in testBuilderDefaultAllowed()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCarrierRestrictionRules.java64 public final class CarrierRestrictionRules implements Parcelable { class
107 private CarrierRestrictionRules() { in CarrierRestrictionRules() method in CarrierRestrictionRules
114 private CarrierRestrictionRules(Parcel in) { in CarrierRestrictionRules() method in CarrierRestrictionRules
313 public static final @android.annotation.NonNull Creator<CarrierRestrictionRules> CREATOR =
314 new Creator<CarrierRestrictionRules>() {
316 public CarrierRestrictionRules createFromParcel(Parcel in) {
317 return new CarrierRestrictionRules(in);
321 public CarrierRestrictionRules[] newArray(int size) {
322 return new CarrierRestrictionRules[size];
337 private final CarrierRestrictionRules mRules;
[all …]
DCarrierRestrictionRules.aidl20 parcelable CarrierRestrictionRules;
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl32 import android.telephony.CarrierRestrictionRules;
1411 int setAllowedCarriers(in CarrierRestrictionRules carrierRestrictionRules); in setAllowedCarriers()
1422 CarrierRestrictionRules getAllowedCarriers(); in getAllowedCarriers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioResponse.java43 import android.telephony.CarrierRestrictionRules;
2300 CarrierRestrictionRules ret; in responseCarrierRestrictions()
2303 ret = CarrierRestrictionRules.newBuilder().setAllCarriersAllowed().build(); in responseCarrierRestrictions()
2305 int policy = CarrierRestrictionRules.MULTISIM_POLICY_NONE; in responseCarrierRestrictions()
2307 policy = CarrierRestrictionRules.MULTISIM_POLICY_ONE_VALID_SIM_MUST_BE_PRESENT; in responseCarrierRestrictions()
2311 CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED; in responseCarrierRestrictions()
2314 CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_ALLOWED; in responseCarrierRestrictions()
2317 ret = CarrierRestrictionRules.newBuilder() in responseCarrierRestrictions()
DCommandsInterface.java25 import android.telephony.CarrierRestrictionRules;
2158 default void setAllowedCarriers(CarrierRestrictionRules carrierRestrictionRules, in setAllowedCarriers()
DRIL.java74 import android.telephony.CarrierRestrictionRules;
4164 public void setAllowedCarriers(CarrierRestrictionRules carrierRestrictionRules, in setAllowedCarriers()
4186 case CarrierRestrictionRules.MULTISIM_POLICY_ONE_VALID_SIM_MUST_BE_PRESENT: in setAllowedCarriers()
4206 == CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED); in setAllowedCarriers()
4219 == CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED))); in setAllowedCarriers()
DPhone.java48 import android.telephony.CarrierRestrictionRules;
3818 public void setAllowedCarriers(CarrierRestrictionRules carrierRestrictionRules, in setAllowedCarriers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java32 import android.telephony.CarrierRestrictionRules;
2072 public void setAllowedCarriers(CarrierRestrictionRules carrierRestrictionRules, in setAllowedCarriers()
/frameworks/base/api/
Dsystem-current.txt7158 public final class CarrierRestrictionRules implements android.os.Parcelable {
7169 …blic static final android.os.Parcelable.Creator<android.telephony.CarrierRestrictionRules> CREATOR;
7174 public static final class CarrierRestrictionRules.Builder {
7175 ctor public CarrierRestrictionRules.Builder();
7176 method @NonNull public android.telephony.CarrierRestrictionRules build();
7177 … method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllCarriersAllowed();
7178 …method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllowedCarriers(@NonNu…
7179 …method @NonNull public android.telephony.CarrierRestrictionRules.Builder setDefaultCarrierRestrict…
7180 …method @NonNull public android.telephony.CarrierRestrictionRules.Builder setExcludedCarriers(@NonN…
7181 method @NonNull public android.telephony.CarrierRestrictionRules.Builder setMultiSimPolicy(int);
[all …]