Home
last modified time | relevance | path

Searched refs:CarrierIdentifier (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/data/
DEuiccRulesAuthTableTest.java24 import android.service.carrier.CarrierIdentifier;
35 CarrierIdentifier opA = new CarrierIdentifier(new byte[] {0x21, 0x63, 0x54}, null, "4"); in testFindIndex()
36 CarrierIdentifier opB = new CarrierIdentifier(new byte[] {0x21, 0x69, 0x54}, "4", null); in testFindIndex()
43 Arrays.asList(new CarrierIdentifier[] {}), in testFindIndex()
49 new CarrierIdentifier( in testFindIndex()
54 new CarrierIdentifier( in testFindIndex()
62 new CarrierIdentifier( in testFindIndex()
65 new CarrierIdentifier( in testFindIndex()
74 new CarrierIdentifier( in testFindIndex()
77 new CarrierIdentifier( in testFindIndex()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierRestrictionRulesTest.java20 import android.service.carrier.CarrierIdentifier;
56 ArrayList<CarrierIdentifier> allowedCarriers = new ArrayList<>(); in testBuilderAllowedAndExcludedCarriers()
57 allowedCarriers.add(new CarrierIdentifier(MCC1, MNC1, null, null, null, null)); in testBuilderAllowedAndExcludedCarriers()
58 allowedCarriers.add(new CarrierIdentifier(MCC2, MNC2, null, null, null, null)); in testBuilderAllowedAndExcludedCarriers()
60 ArrayList<CarrierIdentifier> excludedCarriers = new ArrayList<>(); in testBuilderAllowedAndExcludedCarriers()
61 excludedCarriers.add(new CarrierIdentifier(MCC2, MNC2, null, null, GID1, null)); in testBuilderAllowedAndExcludedCarriers()
77 ArrayList<CarrierIdentifier> emptyCarriers = new ArrayList<>(); in testBuilderEmptyLists()
90 ArrayList<CarrierIdentifier> allowedCarriers = new ArrayList<>(); in testBuilderWildCharacter()
91 allowedCarriers.add(new CarrierIdentifier(MCC1_WILDCHAR, MNC1_WILDCHAR, null, null, in testBuilderWildCharacter()
94 ArrayList<CarrierIdentifier> excludedCarriers = new ArrayList<>(); in testBuilderWildCharacter()
[all …]
DCarrierResolverTest.java30 import android.service.carrier.CarrierIdentifier;
235 CarrierIdentifier identifier = new CarrierIdentifier(null, null, null, null, null, null); in testGetCarrierIdFromIdentifier()
239 identifier = new CarrierIdentifier(MCCMNC.substring(0, 3), MCCMNC.substring(3), null, null, in testGetCarrierIdFromIdentifier()
244 … identifier = new CarrierIdentifier(MCCMNC.substring(0, 3), MCCMNC.substring(3), SPN_FI, null, in testGetCarrierIdFromIdentifier()
DRILTest.java129 import android.service.carrier.CarrierIdentifier;
2696 ArrayList<CarrierIdentifier> carriers = new ArrayList<>(); in testCreateCarrierRestrictionList()
2697 carriers.add(new CarrierIdentifier("110", "120", null, null, null, null)); in testCreateCarrierRestrictionList()
2698 carriers.add(new CarrierIdentifier("210", "220", "SPN", null, null, null)); in testCreateCarrierRestrictionList()
2699 carriers.add(new CarrierIdentifier("310", "320", null, "012345", null, null)); in testCreateCarrierRestrictionList()
2700 carriers.add(new CarrierIdentifier("410", "420", null, null, "GID1", null)); in testCreateCarrierRestrictionList()
2701 carriers.add(new CarrierIdentifier("510", "520", null, null, null, "GID2")); in testCreateCarrierRestrictionList()
2706 c1.matchType = CarrierIdentifier.MatchType.ALL; in testCreateCarrierRestrictionList()
2710 c2.matchType = CarrierIdentifier.MatchType.SPN; in testCreateCarrierRestrictionList()
2715 c3.matchType = CarrierIdentifier.MatchType.IMSI_PREFIX; in testCreateCarrierRestrictionList()
[all …]
/frameworks/base/telephony/java/android/telephony/
DCarrierRestrictionRules.java24 import android.service.carrier.CarrierIdentifier;
100 private List<CarrierIdentifier> mAllowedCarriers;
101 private List<CarrierIdentifier> mExcludedCarriers;
108 mAllowedCarriers = new ArrayList<CarrierIdentifier>(); in CarrierRestrictionRules()
109 mExcludedCarriers = new ArrayList<CarrierIdentifier>(); in CarrierRestrictionRules()
115 mAllowedCarriers = new ArrayList<CarrierIdentifier>(); in CarrierRestrictionRules()
116 mExcludedCarriers = new ArrayList<CarrierIdentifier>(); in CarrierRestrictionRules()
118 in.readTypedList(mAllowedCarriers, CarrierIdentifier.CREATOR); in CarrierRestrictionRules()
119 in.readTypedList(mExcludedCarriers, CarrierIdentifier.CREATOR); in CarrierRestrictionRules()
145 public @NonNull List<CarrierIdentifier> getAllowedCarriers() { in getAllowedCarriers()
[all …]
DTelephonyManager.java72 import android.service.carrier.CarrierIdentifier;
11894 public int setAllowedCarriers(int slotIndex, List<CarrierIdentifier> carriers) { in setAllowedCarriers()
12049 public List<CarrierIdentifier> getAllowedCarriers(int slotIndex) { in getAllowedCarriers()
12056 return new ArrayList<CarrierIdentifier>(0); in getAllowedCarriers()
/frameworks/base/telephony/java/android/telephony/euicc/
DEuiccRulesAuthTable.java23 import android.service.carrier.CarrierIdentifier;
52 private final CarrierIdentifier[][] mCarrierIds;
58 private CarrierIdentifier[][] mCarrierIds;
69 mCarrierIds = new CarrierIdentifier[ruleNum][]; in Builder()
94 … public Builder add(int policyRules, List<CarrierIdentifier> carrierId, int policyRuleFlags) { in add()
100 mCarrierIds[mPosition] = carrierId.toArray(new CarrierIdentifier[carrierId.size()]); in add()
132 private EuiccRulesAuthTable(int[] policyRules, CarrierIdentifier[][] carrierIds, in EuiccRulesAuthTable()
148 public int findIndex(@EuiccProfileInfo.PolicyRule int policy, CarrierIdentifier carrierId) { in findIndex()
153 CarrierIdentifier[] carrierIds = mCarrierIds[i]; in findIndex()
158 CarrierIdentifier ruleCarrierId = carrierIds[j]; in findIndex()
[all …]
/frameworks/base/telephony/java/android/service/carrier/
DCarrierIdentifier.java37 public class CarrierIdentifier implements Parcelable { class
40 …atic final @android.annotation.NonNull Creator<CarrierIdentifier> CREATOR = new Creator<CarrierIde…
42 public CarrierIdentifier createFromParcel(Parcel parcel) {
43 return new CarrierIdentifier(parcel);
47 public CarrierIdentifier[] newArray(int i) {
48 return new CarrierIdentifier[i];
61 public CarrierIdentifier(String mcc, String mnc, @Nullable String spn, @Nullable String imsi, in CarrierIdentifier() method in CarrierIdentifier
79 public CarrierIdentifier(@NonNull String mcc, @NonNull String mnc, @Nullable String spn, in CarrierIdentifier() method in CarrierIdentifier
100 public CarrierIdentifier(byte[] mccMnc, @Nullable String gid1, @Nullable String gid2) { in CarrierIdentifier() method in CarrierIdentifier
119 public CarrierIdentifier(Parcel parcel) { in CarrierIdentifier() method in CarrierIdentifier
[all …]
DICarrierService.aidl21 import android.service.carrier.CarrierIdentifier;
32 oneway void getCarrierConfig(in CarrierIdentifier id, in ResultReceiver result); in getCarrierConfig()
DCarrierService.java99 public abstract PersistableBundle onLoadConfig(CarrierIdentifier id); in onLoadConfig()
152 public void getCarrierConfig(CarrierIdentifier id, ResultReceiver result) { in getCarrierConfig()
DCarrierIdentifier.aidl19 parcelable CarrierIdentifier;
/frameworks/base/core/tests/coretests/src/android/service/euicc/
DEuiccProfileInfoTest.java26 import android.service.carrier.CarrierIdentifier;
50 new CarrierIdentifier( in testWriteToParcel()
102 new CarrierIdentifier( in testBuilderAndGetters()
139 new CarrierIdentifier( in testBuilder_BasedOnAnotherProfile()
164 new CarrierIdentifier( in testBuilder_BasedOnAnotherProfileWithEmptyAccessRules()
187 new CarrierIdentifier( in testEqualsHashCode()
250 .setCarrierIdentifier(new CarrierIdentifier(new byte[] {1, 2, 3, 4}, null, null)); in testBuilderSetOperatorMccMnc_Illegal()
/frameworks/base/telephony/java/android/service/euicc/
DEuiccProfileInfo.java26 import android.service.carrier.CarrierIdentifier;
121 private final CarrierIdentifier mCarrierIdentifier;
177 mCarrierIdentifier = CarrierIdentifier.CREATOR.createFromParcel(in); in EuiccProfileInfo()
217 private CarrierIdentifier mCarrierIdentifier;
298 public Builder setCarrierIdentifier(CarrierIdentifier value) { in setCarrierIdentifier()
323 CarrierIdentifier carrierIdentifier, in EuiccProfileInfo()
382 public CarrierIdentifier getCarrierIdentifier() { in getCarrierIdentifier()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java26 import android.service.carrier.CarrierIdentifier;
583 CarrierIdentifier[] opIds = new CarrierIdentifier[opIdSize]; in getRulesAuthTable()
1324 private static CarrierIdentifier buildCarrierIdentifier(Asn1Node node) in buildCarrierIdentifier()
1334 return new CarrierIdentifier(node.getChild(Tags.TAG_CTX_0).asBytes(), gid1, gid2); in buildCarrierIdentifier()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioResponse.java44 import android.service.carrier.CarrierIdentifier;
2894 private static List<CarrierIdentifier> convertCarrierList(List<Carrier> carrierList) { in convertCarrierList()
2895 List<CarrierIdentifier> ret = new ArrayList<>(); in convertCarrierList()
2902 if (matchType == CarrierIdentifier.MatchType.SPN) { in convertCarrierList()
2904 } else if (matchType == CarrierIdentifier.MatchType.IMSI_PREFIX) { in convertCarrierList()
2906 } else if (matchType == CarrierIdentifier.MatchType.GID1) { in convertCarrierList()
2908 } else if (matchType == CarrierIdentifier.MatchType.GID2) { in convertCarrierList()
2911 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in convertCarrierList()
DSubscriptionInfoUpdater.java39 import android.service.carrier.CarrierIdentifier;
943 CarrierIdentifier cid = embeddedProfile.getCarrierIdentifier(); in updateEmbeddedSubscriptionsCache()
DCarrierResolver.java33 import android.service.carrier.CarrierIdentifier;
1003 @NonNull CarrierIdentifier carrierIdentifier) { in getCarrierIdFromIdentifier()
DRIL.java78 import android.service.carrier.CarrierIdentifier;
5026 List<CarrierIdentifier> carriers) { in createCarrierRestrictionList()
5028 for (CarrierIdentifier ci : carriers) { in createCarrierRestrictionList()
5032 int matchType = CarrierIdentifier.MatchType.ALL; in createCarrierRestrictionList()
5035 matchType = CarrierIdentifier.MatchType.SPN; in createCarrierRestrictionList()
5038 matchType = CarrierIdentifier.MatchType.IMSI_PREFIX; in createCarrierRestrictionList()
5041 matchType = CarrierIdentifier.MatchType.GID1; in createCarrierRestrictionList()
5044 matchType = CarrierIdentifier.MatchType.GID2; in createCarrierRestrictionList()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java36 import android.service.carrier.CarrierIdentifier;
456 new CarrierIdentifier(new byte[] {0x12, (byte) 0xF3, 0x45}, null, null))); in testGetRulesAuthTable()
459 new CarrierIdentifier(new byte[] {0x23, 0x67, 0x45}, null, "040506"))); in testGetRulesAuthTable()
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl30 import android.service.carrier.CarrierIdentifier;
/frameworks/base/core/api/
Dsystem-current.txt9920 method public android.service.carrier.CarrierIdentifier getCarrierIdentifier();
9947 …ice.euicc.EuiccProfileInfo.Builder setCarrierIdentifier(android.service.carrier.CarrierIdentifier);
11142 …> areCarrierIdentifiersAllowed(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
11144 …method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedCarrier…
11146 …method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getExcludedCarrie…
11161 …les.Builder setAllowedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
11163 …es.Builder setExcludedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
11927 …IVILEGED_PHONE_STATE) public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedC…
12019 …ATE) public int setAllowedCarriers(int, java.util.List<android.service.carrier.CarrierIdentifier>);
12631 …@android.service.euicc.EuiccProfileInfo.PolicyRule int, android.service.carrier.CarrierIdentifier);
[all …]
Dcurrent.txt38046 public class CarrierIdentifier implements android.os.Parcelable {
38047 …ctor public CarrierIdentifier(String, String, @Nullable String, @Nullable String, @Nullable String…
38048 …ctor public CarrierIdentifier(@NonNull String, @NonNull String, @Nullable String, @Nullable String…
38049 ctor public CarrierIdentifier(byte[], @Nullable String, @Nullable String);
38060 …blic static final android.os.Parcelable.Creator<android.service.carrier.CarrierIdentifier> CREATOR;
38120 …blic abstract android.os.PersistableBundle onLoadConfig(android.service.carrier.CarrierIdentifier);
/frameworks/base/boot/
Dpreloaded-classes6200 android.service.carrier.CarrierIdentifier$1
6201 android.service.carrier.CarrierIdentifier
/frameworks/base/config/
Dpreloaded-classes6198 android.service.carrier.CarrierIdentifier$1
6199 android.service.carrier.CarrierIdentifier
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt52364 Landroid/service/carrier/CarrierIdentifier$MatchType;->ALL:I
52365 Landroid/service/carrier/CarrierIdentifier$MatchType;->GID1:I
52366 Landroid/service/carrier/CarrierIdentifier$MatchType;->GID2:I
52367 Landroid/service/carrier/CarrierIdentifier$MatchType;->IMSI_PREFIX:I
52368 Landroid/service/carrier/CarrierIdentifier$MatchType;->SPN:I
52369 Landroid/service/carrier/CarrierIdentifier;-><init>(Landroid/os/Parcel;)V
52370 Landroid/service/carrier/CarrierIdentifier;->mGid1:Ljava/lang/String;
52371 Landroid/service/carrier/CarrierIdentifier;->mGid2:Ljava/lang/String;
52372 Landroid/service/carrier/CarrierIdentifier;->mImsi:Ljava/lang/String;
52373 Landroid/service/carrier/CarrierIdentifier;->mMcc:Ljava/lang/String;
[all …]

12