Home
last modified time | relevance | path

Searched refs:CarrierIdentifier (Results 1 – 25 of 28) 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.java29 import android.service.carrier.CarrierIdentifier;
234 CarrierIdentifier identifier = new CarrierIdentifier(null, null, null, null, null, null); in testGetCarrierIdFromIdentifier()
238 identifier = new CarrierIdentifier(MCCMNC.substring(0, 3), MCCMNC.substring(3), null, null, in testGetCarrierIdFromIdentifier()
243 … identifier = new CarrierIdentifier(MCCMNC.substring(0, 3), MCCMNC.substring(3), SPN_FI, null, in testGetCarrierIdFromIdentifier()
DRILTest.java126 import android.service.carrier.CarrierIdentifier;
2415 ArrayList<CarrierIdentifier> carriers = new ArrayList<>(); in testCreateCarrierRestrictionList()
2416 carriers.add(new CarrierIdentifier("110", "120", null, null, null, null)); in testCreateCarrierRestrictionList()
2417 carriers.add(new CarrierIdentifier("210", "220", "SPN", null, null, null)); in testCreateCarrierRestrictionList()
2418 carriers.add(new CarrierIdentifier("310", "320", null, "012345", null, null)); in testCreateCarrierRestrictionList()
2419 carriers.add(new CarrierIdentifier("410", "420", null, null, "GID1", null)); in testCreateCarrierRestrictionList()
2420 carriers.add(new CarrierIdentifier("510", "520", null, null, null, "GID2")); in testCreateCarrierRestrictionList()
2425 c1.matchType = CarrierIdentifier.MatchType.ALL; in testCreateCarrierRestrictionList()
2429 c2.matchType = CarrierIdentifier.MatchType.SPN; in testCreateCarrierRestrictionList()
2434 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.java65 import android.service.carrier.CarrierIdentifier;
10663 public int setAllowedCarriers(int slotIndex, List<CarrierIdentifier> carriers) { in setAllowedCarriers()
10769 public List<CarrierIdentifier> getAllowedCarriers(int slotIndex) { in getAllowedCarriers()
10776 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.java25 import android.service.carrier.CarrierIdentifier;
120 private final CarrierIdentifier mCarrierIdentifier;
176 mCarrierIdentifier = CarrierIdentifier.CREATOR.createFromParcel(in); in EuiccProfileInfo()
216 private CarrierIdentifier mCarrierIdentifier;
297 public Builder setCarrierIdentifier(CarrierIdentifier value) { in setCarrierIdentifier()
322 CarrierIdentifier carrierIdentifier, in EuiccProfileInfo()
381 public CarrierIdentifier getCarrierIdentifier() { in getCarrierIdentifier()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRadioResponse.java42 import android.service.carrier.CarrierIdentifier;
2525 private static List<CarrierIdentifier> convertCarrierList(List<Carrier> carrierList) { in convertCarrierList()
2526 List<CarrierIdentifier> ret = new ArrayList<>(); in convertCarrierList()
2533 if (matchType == CarrierIdentifier.MatchType.SPN) { in convertCarrierList()
2535 } else if (matchType == CarrierIdentifier.MatchType.IMSI_PREFIX) { in convertCarrierList()
2537 } else if (matchType == CarrierIdentifier.MatchType.GID1) { in convertCarrierList()
2539 } else if (matchType == CarrierIdentifier.MatchType.GID2) { in convertCarrierList()
2542 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in convertCarrierList()
DCarrierResolver.java31 import android.service.carrier.CarrierIdentifier;
905 @NonNull CarrierIdentifier carrierIdentifier) { in getCarrierIdFromIdentifier()
DSubscriptionInfoUpdater.java43 import android.service.carrier.CarrierIdentifier;
963 CarrierIdentifier cid = embeddedProfile.getCarrierIdentifier(); in updateEmbeddedSubscriptionsCache()
DRIL.java74 import android.service.carrier.CarrierIdentifier;
4686 List<CarrierIdentifier> carriers) { in createCarrierRestrictionList()
4688 for (CarrierIdentifier ci : carriers) { in createCarrierRestrictionList()
4692 int matchType = CarrierIdentifier.MatchType.ALL; in createCarrierRestrictionList()
4695 matchType = CarrierIdentifier.MatchType.SPN; in createCarrierRestrictionList()
4698 matchType = CarrierIdentifier.MatchType.IMSI_PREFIX; in createCarrierRestrictionList()
4701 matchType = CarrierIdentifier.MatchType.GID1; in createCarrierRestrictionList()
4704 matchType = CarrierIdentifier.MatchType.GID2; in createCarrierRestrictionList()
/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/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/telephony/api/
Dsystem-current.txt73 …> areCarrierIdentifiersAllowed(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
75 …method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedCarrier…
77 …method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getExcludedCarrie…
92 …les.Builder setAllowedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
94 …es.Builder setExcludedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
760 …IVILEGED_PHONE_STATE) public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedC…
840 …ATE) public int setAllowedCarriers(int, java.util.List<android.service.carrier.CarrierIdentifier>);
1278 …@android.service.euicc.EuiccProfileInfo.PolicyRule int, android.service.carrier.CarrierIdentifier);
1287 …iccRulesAuthTable.Builder add(int, java.util.List<android.service.carrier.CarrierIdentifier>, int);
/frameworks/base/api/
Dsystem-current.txt7235 method public android.service.carrier.CarrierIdentifier getCarrierIdentifier();
7262 …ice.euicc.EuiccProfileInfo.Builder setCarrierIdentifier(android.service.carrier.CarrierIdentifier);
8038 …> areCarrierIdentifiersAllowed(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
8040 …method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedCarrier…
8042 …method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getExcludedCarrie…
8057 …les.Builder setAllowedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
8059 …es.Builder setExcludedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
9001 …IVILEGED_PHONE_STATE) public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedC…
9081 …ATE) public int setAllowedCarriers(int, java.util.List<android.service.carrier.CarrierIdentifier>);
9506 …@android.service.euicc.EuiccProfileInfo.PolicyRule int, android.service.carrier.CarrierIdentifier);
[all …]
/frameworks/base/non-updatable-api/
Dsystem-current.txt7133 method public android.service.carrier.CarrierIdentifier getCarrierIdentifier();
7160 …ice.euicc.EuiccProfileInfo.Builder setCarrierIdentifier(android.service.carrier.CarrierIdentifier);
7936 …> areCarrierIdentifiersAllowed(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
7938 …method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedCarrier…
7940 …method @NonNull public java.util.List<android.service.carrier.CarrierIdentifier> getExcludedCarrie…
7955 …les.Builder setAllowedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
7957 …es.Builder setExcludedCarriers(@NonNull java.util.List<android.service.carrier.CarrierIdentifier>);
8899 …IVILEGED_PHONE_STATE) public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedC…
8979 …ATE) public int setAllowedCarriers(int, java.util.List<android.service.carrier.CarrierIdentifier>);
9404 …@android.service.euicc.EuiccProfileInfo.PolicyRule int, android.service.carrier.CarrierIdentifier);
[all …]
/frameworks/base/config/
Dpreloaded-classes3155 android.service.carrier.CarrierIdentifier$1
3156 android.service.carrier.CarrierIdentifier
Dhiddenapi-greylist-max-o.txt62953 Landroid/service/carrier/CarrierIdentifier$MatchType;->ALL:I
62954 Landroid/service/carrier/CarrierIdentifier$MatchType;->GID1:I
62955 Landroid/service/carrier/CarrierIdentifier$MatchType;->GID2:I
62956 Landroid/service/carrier/CarrierIdentifier$MatchType;->IMSI_PREFIX:I
62957 Landroid/service/carrier/CarrierIdentifier$MatchType;->SPN:I
62958 Landroid/service/carrier/CarrierIdentifier;-><init>(Landroid/os/Parcel;)V
62959 Landroid/service/carrier/CarrierIdentifier;->mGid1:Ljava/lang/String;
62960 Landroid/service/carrier/CarrierIdentifier;->mGid2:Ljava/lang/String;
62961 Landroid/service/carrier/CarrierIdentifier;->mImsi:Ljava/lang/String;
62962 Landroid/service/carrier/CarrierIdentifier;->mMcc:Ljava/lang/String;
[all …]

12