Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierRestrictionRulesTest.java19 import static android.telephony.CarrierRestrictionRules.MULTISIM_POLICY_ONE_VALID_SIM_MUST_BE_PRESE…
23 import android.telephony.CarrierRestrictionRules;
68 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testBuilderAllowedAndExcludedCarriers()
76 assertEquals(CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED, in testBuilderAllowedAndExcludedCarriers()
84 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder().build(); in testBuilderEmptyLists()
89 assertEquals(CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED, in testBuilderEmptyLists()
103 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testBuilderWildCharacter()
111 assertEquals(CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED, in testBuilderWildCharacter()
124 CarrierRestrictionRules rules = CarrierRestrictionRules.newBuilder() in testBuilderDefaultAllowed()
128 CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_ALLOWED) in testBuilderDefaultAllowed()
[all …]
DSimulatedCommands.java36 import android.telephony.CarrierRestrictionRules;
2140 public void setAllowedCarriers(CarrierRestrictionRules carrierRestrictionRules, in setAllowedCarriers()
/frameworks/base/telephony/java/android/telephony/
DCarrierRestrictionRules.java69 public final class CarrierRestrictionRules implements Parcelable { class
179 private CarrierRestrictionRules() { in CarrierRestrictionRules() method in CarrierRestrictionRules
190 private CarrierRestrictionRules(Parcel in) { in CarrierRestrictionRules() method in CarrierRestrictionRules
448 public static final @android.annotation.NonNull Creator<CarrierRestrictionRules> CREATOR =
449 new Creator<CarrierRestrictionRules>() {
451 public CarrierRestrictionRules createFromParcel(Parcel in) {
452 return new CarrierRestrictionRules(in);
456 public CarrierRestrictionRules[] newArray(int size) {
457 return new CarrierRestrictionRules[size];
483 private final CarrierRestrictionRules mRules;
[all …]
DCarrierRestrictionRules.aidl20 parcelable CarrierRestrictionRules;
DTelephonyManager.java13676 CarrierRestrictionRules carrierRestrictionRules = CarrierRestrictionRules.newBuilder() in setAllowedCarriers()
13680 ? CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_ALLOWED in setAllowedCarriers()
13681 : CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED) in setAllowedCarriers()
13799 public int setCarrierRestrictionRules(@NonNull CarrierRestrictionRules rules) { in setCarrierRestrictionRules()
13837 CarrierRestrictionRules carrierRestrictionRule = getCarrierRestrictionRules(); in getAllowedCarriers()
13865 public CarrierRestrictionRules getCarrierRestrictionRules() { in getCarrierRestrictionRules()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSimResponse.java24 import android.telephony.CarrierRestrictionRules;
122 CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED; in getAllowedCarriersResponse()
124 carrierRestrictionDefault = CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_ALLOWED; in getAllowedCarriersResponse()
127 CarrierRestrictionRules ret = CarrierRestrictionRules.newBuilder().setAllowedCarriers( in getAllowedCarriersResponse()
DRadioSimProxy.java20 import android.telephony.CarrierRestrictionRules;
519 public void setAllowedCarriers(int serial, CarrierRestrictionRules carrierRestrictionRules) in setAllowedCarriers()
532 == CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED); in setAllowedCarriers()
546 == CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED); in setAllowedCarriers()
DRadioResponse.java44 import android.telephony.CarrierRestrictionRules;
1651 int policy = CarrierRestrictionRules.MULTISIM_POLICY_NONE; in getAllowedCarriersResponse_1_4()
1653 policy = CarrierRestrictionRules.MULTISIM_POLICY_ONE_VALID_SIM_MUST_BE_PRESENT; in getAllowedCarriersResponse_1_4()
1657 CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_NOT_ALLOWED; in getAllowedCarriersResponse_1_4()
1659 carrierRestrictionDefault = CarrierRestrictionRules.CARRIER_RESTRICTION_DEFAULT_ALLOWED; in getAllowedCarriersResponse_1_4()
1662 CarrierRestrictionRules ret = CarrierRestrictionRules.newBuilder() in getAllowedCarriersResponse_1_4()
DRILUtils.java312 import android.telephony.CarrierRestrictionRules;
1847 case CarrierRestrictionRules.MULTISIM_POLICY_ONE_VALID_SIM_MUST_BE_PRESENT: in convertToHalSimLockMultiSimPolicy()
1850 case CarrierRestrictionRules.MULTISIM_POLICY_NONE: in convertToHalSimLockMultiSimPolicy()
1865 case CarrierRestrictionRules.MULTISIM_POLICY_ONE_VALID_SIM_MUST_BE_PRESENT: in convertToHalSimLockMultiSimPolicyAidl()
1868 case CarrierRestrictionRules.MULTISIM_POLICY_NONE: in convertToHalSimLockMultiSimPolicyAidl()
4117 public static @CarrierRestrictionRules.MultiSimPolicy int convertAidlSimLockMultiSimPolicy( in convertAidlSimLockMultiSimPolicy()
4121 return CarrierRestrictionRules.MULTISIM_POLICY_ONE_VALID_SIM_MUST_BE_PRESENT; in convertAidlSimLockMultiSimPolicy()
4123 return CarrierRestrictionRules.MULTISIM_POLICY_APPLY_TO_ALL_SLOTS; in convertAidlSimLockMultiSimPolicy()
4125 return CarrierRestrictionRules.MULTISIM_POLICY_APPLY_TO_ONLY_SLOT_1; in convertAidlSimLockMultiSimPolicy()
4127 return CarrierRestrictionRules.MULTISIM_POLICY_VALID_SIM_MUST_PRESENT_ON_SLOT_1; in convertAidlSimLockMultiSimPolicy()
[all …]
DCommandsInterface.java31 import android.telephony.CarrierRestrictionRules;
2260 default void setAllowedCarriers(CarrierRestrictionRules carrierRestrictionRules, in setAllowedCarriers()
DPhone.java52 import android.telephony.CarrierRestrictionRules;
4577 public void setAllowedCarriers(CarrierRestrictionRules carrierRestrictionRules, in setAllowedCarriers()
DRIL.java62 import android.telephony.CarrierRestrictionRules;
4361 public void setAllowedCarriers(CarrierRestrictionRules carrierRestrictionRules, in setAllowedCarriers()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl36 import android.telephony.CarrierRestrictionRules;
1523 int setAllowedCarriers(in CarrierRestrictionRules carrierRestrictionRules); in setAllowedCarriers()
1534 CarrierRestrictionRules getAllowedCarriers(); in getAllowedCarriers()
/frameworks/base/core/api/
Dsystem-current.txt14416 public final class CarrierRestrictionRules implements android.os.Parcelable {
14428 …blic static final android.os.Parcelable.Creator<android.telephony.CarrierRestrictionRules> CREATOR;
14433 public static final class CarrierRestrictionRules.Builder {
14434 ctor public CarrierRestrictionRules.Builder();
14435 method @NonNull public android.telephony.CarrierRestrictionRules build();
14436 … method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllCarriersAllowed();
14437 …method @NonNull public android.telephony.CarrierRestrictionRules.Builder setAllowedCarriers(@NonNu…
14438 …t_carrier_restriction_status") @NonNull public android.telephony.CarrierRestrictionRules.Builder s…
14439 …method @NonNull public android.telephony.CarrierRestrictionRules.Builder setDefaultCarrierRestrict…
14440 …method @NonNull public android.telephony.CarrierRestrictionRules.Builder setExcludedCarriers(@NonN…
[all …]
Dmodule-lib-lint-baseline.txt1448 …d.telephony.TelephonyManager#setCarrierRestrictionRules(android.telephony.CarrierRestrictionRules):
Dtest-lint-baseline.txt1608 …d.telephony.TelephonyManager#setCarrierRestrictionRules(android.telephony.CarrierRestrictionRules):
Dsystem-lint-baseline.txt1524 …d.telephony.TelephonyManager#setCarrierRestrictionRules(android.telephony.CarrierRestrictionRules):
/frameworks/base/boot/
Dpreloaded-classes7409 android.telephony.CarrierRestrictionRules$1
7410 android.telephony.CarrierRestrictionRules$Builder
7411 android.telephony.CarrierRestrictionRules
Dboot-image-profile.txt29816 Landroid/telephony/CarrierRestrictionRules$1;
29817 Landroid/telephony/CarrierRestrictionRules$Builder;
29818 Landroid/telephony/CarrierRestrictionRules;
/frameworks/base/config/
Dpreloaded-classes7440 android.telephony.CarrierRestrictionRules$1
7441 android.telephony.CarrierRestrictionRules$Builder
7442 android.telephony.CarrierRestrictionRules
Dboot-image-profile.txt39977 Landroid/telephony/CarrierRestrictionRules$1;
39978 Landroid/telephony/CarrierRestrictionRules$Builder;
39979 Landroid/telephony/CarrierRestrictionRules;