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/base/telephony/java/android/telephony/euicc/
DEuiccRulesAuthTable.java22 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/core/java/android/service/carrier/
DCarrierIdentifier.java31 public class CarrierIdentifier implements Parcelable { class
34 public static final Creator<CarrierIdentifier> CREATOR = new Creator<CarrierIdentifier>() {
36 public CarrierIdentifier createFromParcel(Parcel parcel) {
37 return new CarrierIdentifier(parcel);
41 public CarrierIdentifier[] newArray(int i) {
42 return new CarrierIdentifier[i];
53 public CarrierIdentifier(String mcc, String mnc, @Nullable String spn, @Nullable String imsi, in CarrierIdentifier() method in CarrierIdentifier
71 public CarrierIdentifier(byte[] mccMnc, @Nullable String gid1, @Nullable String gid2) { in CarrierIdentifier() method in CarrierIdentifier
90 public CarrierIdentifier(Parcel parcel) { in CarrierIdentifier() method in CarrierIdentifier
137 CarrierIdentifier that = (CarrierIdentifier) obj; in equals()
DICarrierService.aidl21 import android.service.carrier.CarrierIdentifier;
32 oneway void getCarrierConfig(in CarrierIdentifier id, in ResultReceiver result); in getCarrierConfig()
DCarrierService.java100 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/java/android/service/euicc/
DEuiccProfileInfo.java23 import android.service.carrier.CarrierIdentifier;
117 private final CarrierIdentifier mCarrierIdentifier;
172 mCarrierIdentifier = CarrierIdentifier.CREATOR.createFromParcel(in); in EuiccProfileInfo()
212 private CarrierIdentifier mCarrierIdentifier;
291 public Builder setCarrierIdentifier(CarrierIdentifier value) { in setCarrierIdentifier()
316 CarrierIdentifier carrierIdentifier, in EuiccProfileInfo()
375 public CarrierIdentifier getCarrierIdentifier() { in getCarrierIdentifier()
/frameworks/base/core/tests/coretests/src/android/service/euicc/
DEuiccProfileInfoTest.java25 import android.service.carrier.CarrierIdentifier;
48 new CarrierIdentifier( in testWriteToParcel()
100 new CarrierIdentifier( in testBuilderAndGetters()
137 new CarrierIdentifier( in testBuilder_BasedOnAnotherProfile()
162 new CarrierIdentifier( in testEqualsHashCode()
225 .setCarrierIdentifier(new CarrierIdentifier(new byte[] {1, 2, 3, 4}, null, null)); in testBuilderSetOperatorMccMnc_Illegal()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierIdentifier.java54 public class CarrierIdentifier extends Handler { class
55 private static final String LOG_TAG = CarrierIdentifier.class.getSimpleName();
131 public CarrierIdentifier(Phone phone) { in CarrierIdentifier() method in CarrierIdentifier
415 if (!CarrierIdentifier.equals(subscriptionRule.mMccMnc, mMccMnc, false)) { in match()
438 if (!CarrierIdentifier.equals(subscriptionRule.mGid1, mGid1, true)) { in match()
447 if (!CarrierIdentifier.equals(subscriptionRule.mGid2, mGid2, true)) { in match()
454 if (!CarrierIdentifier.equals(subscriptionRule.mPlmn, mPlmn, true)) { in match()
461 if (!CarrierIdentifier.equals(subscriptionRule.mSpn, mSpn, true)) { in match()
468 if (!CarrierIdentifier.equals(subscriptionRule.mApn, mApn, true)) { in match()
DTelephonyComponentFactory.java91 public CarrierIdentifier makeCarrierIdentifier(Phone phone) { in makeCarrierIdentifier()
92 return new CarrierIdentifier(phone); in makeCarrierIdentifier()
DRadioResponse.java40 import android.service.carrier.CarrierIdentifier;
2062 List<CarrierIdentifier> ret = new ArrayList<CarrierIdentifier>(); in responseCarrierIdentifiers()
2069 if (matchType == CarrierIdentifier.MatchType.SPN) { in responseCarrierIdentifiers()
2071 } else if (matchType == CarrierIdentifier.MatchType.IMSI_PREFIX) { in responseCarrierIdentifiers()
2073 } else if (matchType == CarrierIdentifier.MatchType.GID1) { in responseCarrierIdentifiers()
2075 } else if (matchType == CarrierIdentifier.MatchType.GID2) { in responseCarrierIdentifiers()
2078 ret.add(new CarrierIdentifier(mcc, mnc, spn, imsi, gid1, gid2)); in responseCarrierIdentifiers()
DCommandsInterface.java24 import android.service.carrier.CarrierIdentifier;
2079 public void setAllowedCarriers(List<CarrierIdentifier> carriers, Message result); in setAllowedCarriers()
DRIL.java72 import android.service.carrier.CarrierIdentifier;
3613 public void setAllowedCarriers(List<CarrierIdentifier> carriers, Message result) { in setAllowedCarriers()
3637 for (CarrierIdentifier ci : carriers) { /* allowed carriers */ in setAllowedCarriers()
3641 int matchType = CarrierIdentifier.MatchType.ALL; in setAllowedCarriers()
3644 matchType = CarrierIdentifier.MatchType.SPN; in setAllowedCarriers()
3647 matchType = CarrierIdentifier.MatchType.IMSI_PREFIX; in setAllowedCarriers()
3650 matchType = CarrierIdentifier.MatchType.GID1; in setAllowedCarriers()
3653 matchType = CarrierIdentifier.MatchType.GID2; in setAllowedCarriers()
DPhone.java41 import android.service.carrier.CarrierIdentifier;
3483 public void setAllowedCarriers(List<CarrierIdentifier> carriers, Message response) { in setAllowedCarriers()
DGsmCdmaPhone.java171 private CarrierIdentifier mCarrerIdentifier;
/frameworks/base/telephony/java/com/android/internal/telephony/
DITelephony.aidl27 import android.service.carrier.CarrierIdentifier;
1356 int setAllowedCarriers(int slotIndex, in List<CarrierIdentifier> carriers); in setAllowedCarriers()
1365 List<CarrierIdentifier> getAllowedCarriers(int slotIndex); in getAllowedCarriers()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierIdentifierTest.java66 private CarrierIdentifier mCarrierIdentifier;
76 mCarrierIdentifier = new CarrierIdentifier(mPhone); in onLooperPrepared()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java26 import android.service.carrier.CarrierIdentifier;
553 CarrierIdentifier[] opIds = new CarrierIdentifier[opIdSize]; in getRulesAuthTable()
1143 private static CarrierIdentifier buildCarrierIdentifier(Asn1Node node) in buildCarrierIdentifier()
1153 return new CarrierIdentifier(node.getChild(Tags.TAG_CTX_0).asBytes(), gid1, gid2); in buildCarrierIdentifier()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCommandInterface.java24 import android.service.carrier.CarrierIdentifier;
640 public void setAllowedCarriers(List<CarrierIdentifier> carriers, Message result) { in setAllowedCarriers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipCommandInterface.java24 import android.service.carrier.CarrierIdentifier;
642 public void setAllowedCarriers(List<CarrierIdentifier> carriers, Message result) { in setAllowedCarriers()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java34 import android.service.carrier.CarrierIdentifier;
462 new CarrierIdentifier(new byte[] {0x12, (byte) 0xF3, 0x45}, null, null))); in testGetRulesAuthTable()
465 new CarrierIdentifier(new byte[] {0x23, 0x67, 0x45}, null, "040506"))); in testGetRulesAuthTable()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/mocks/
DPhoneMock.java30 import android.service.carrier.CarrierIdentifier;
1000 public void setAllowedCarriers(List<CarrierIdentifier> carrierList, Message response) { in setAllowedCarriers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommandsVerifier.java23 import android.service.carrier.CarrierIdentifier;
1383 public void setAllowedCarriers(List<CarrierIdentifier> carriers, Message result) { in setAllowedCarriers()
DSimulatedCommands.java32 import android.service.carrier.CarrierIdentifier;
2053 public void setAllowedCarriers(List<CarrierIdentifier> carriers, Message result) { in setAllowedCarriers()
/frameworks/base/api/
Dsystem-current.txt4427 method public android.service.carrier.CarrierIdentifier getCarrierIdentifier();
4454 …ice.euicc.EuiccProfileInfo.Builder setCarrierIdentifier(android.service.carrier.CarrierIdentifier);
5159 method public java.util.List<android.service.carrier.CarrierIdentifier> getAllowedCarriers(int);
5189 …thod public int setAllowedCarriers(int, java.util.List<android.service.carrier.CarrierIdentifier>);
5362 method public int findIndex(int, android.service.carrier.CarrierIdentifier);
5371 …iccRulesAuthTable.Builder add(int, java.util.List<android.service.carrier.CarrierIdentifier>, int);

12