Home
last modified time | relevance | path

Searched refs:UiccAccessRule (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java50 public final class UiccAccessRule implements Parcelable { class
55 … static final @android.annotation.NonNull Creator<UiccAccessRule> CREATOR = new Creator<UiccAccess…
57 public UiccAccessRule createFromParcel(Parcel in) {
58 return new UiccAccessRule(in);
62 public UiccAccessRule[] newArray(int size) {
63 return new UiccAccessRule[size];
72 public static byte[] encodeRules(@Nullable UiccAccessRule[] accessRules) { in encodeRules()
81 for (UiccAccessRule accessRule : accessRules) { in encodeRules()
105 public static UiccAccessRule[] decodeRules(@Nullable byte[] encodedRules) { in decodeRules()
113 UiccAccessRule[] accessRules = new UiccAccessRule[count]; in decodeRules()
[all …]
DSubscriptionInfo.java153 private UiccAccessRule[] mNativeAccessRules;
160 private UiccAccessRule[] mCarrierConfigAccessRules;
225 @Nullable UiccAccessRule[] nativeAccessRules, String cardString) { in SubscriptionInfo()
239 @Nullable UiccAccessRule[] nativeAccessRules, String cardString, in SubscriptionInfo()
253 @Nullable UiccAccessRule[] nativeAccessRules, String cardString, int cardId, in SubscriptionInfo()
256 @Nullable UiccAccessRule[] carrierConfigAccessRules, in SubscriptionInfo()
584 List<UiccAccessRule> allAccessRules = getAllAccessRules(); in canManageSubscription()
597 for (UiccAccessRule rule : allAccessRules) { in canManageSubscription()
615 public @Nullable List<UiccAccessRule> getAccessRules() { in getAccessRules()
625 public @Nullable List<UiccAccessRule> getAllAccessRules() { in getAllAccessRules()
[all …]
DUiccAccessRule.aidl19 parcelable UiccAccessRule;
DSubscriptionManager.java2719 for (UiccAccessRule rule : info.getAllAccessRules()) { in canManageSubscription()
/frameworks/base/telephony/java/android/telephony/euicc/
DDownloadableSubscription.java24 import android.telephony.UiccAccessRule;
75 private List<UiccAccessRule> accessRules;
92 accessRules = new ArrayList<UiccAccessRule>(); in DownloadableSubscription()
93 in.readTypedList(accessRules, UiccAccessRule.CREATOR); in DownloadableSubscription()
97 String carrierName, List<UiccAccessRule> accessRules) { in DownloadableSubscription()
110 List<UiccAccessRule> accessRules;
141 public Builder setAccessRules(List<UiccAccessRule> value) { in setAccessRules()
222 public List<UiccAccessRule> getAccessRules() { in getAccessRules()
232 public void setAccessRules(List<UiccAccessRule> accessRules) { in setAccessRules()
242 public void setAccessRules(UiccAccessRule[] accessRules) { in setAccessRules()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java31 import android.telephony.UiccAccessRule;
192 private List<UiccAccessRule> mAccessRules;
253 for (UiccAccessRule ar : mAccessRules) { in getPackageNames()
265 public List<UiccAccessRule> getAccessRules() { in getAccessRules()
287 for (UiccAccessRule ar : mAccessRules) { in getCarrierPrivilegeStatus()
345 for (UiccAccessRule ar : mAccessRules) { in getCarrierPrivilegeStatus()
579 UiccAccessRule accessRule = new UiccAccessRule( in handleMessage()
618 private static List<UiccAccessRule> parseRules(String rules) { in parseRules()
625 List<UiccAccessRule> accessRules = new ArrayList<>(); in parseRules()
629 UiccAccessRule accessRule = parseRefArdo(refArDo.value); in parseRules()
[all …]
DUiccProfile.java45 import android.telephony.UiccAccessRule;
1337 List<UiccAccessRule> accessRules = mCarrierPrivilegeRules.getAccessRules(); in getUninstalledCarrierPackages()
1338 for (UiccAccessRule accessRule : accessRules) { in getUninstalledCarrierPackages()
1655 List<UiccAccessRule> accessRules = carrierPrivilegeRules.getAccessRules(); in getCertsFromCarrierPrivilegeAccessRules()
1656 for (UiccAccessRule accessRule : accessRules) { in getCertsFromCarrierPrivilegeAccessRules()
/frameworks/base/core/tests/coretests/src/android/service/euicc/
DEuiccProfileInfoTest.java27 import android.telephony.UiccAccessRule;
56 Arrays.asList(new UiccAccessRule(new byte[] {}, "package", 12345L))) in testWriteToParcel()
80 Arrays.asList(new UiccAccessRule(new byte[] {}, "package", 12345L)) in testWriteToParcelNullCarrierId()
109 .setUiccAccessRule(Arrays.asList(new UiccAccessRule(new byte[0], null, 0))) in testBuilderAndGetters()
127 new UiccAccessRule[] {new UiccAccessRule(new byte[0], null, 0)}, in testBuilderAndGetters()
147 Arrays.asList(new UiccAccessRule(new byte[] {}, "package", 12345L))) in testBuilder_BasedOnAnotherProfile()
194 .setUiccAccessRule(Arrays.asList(new UiccAccessRule(new byte[0], null, 0))) in testEqualsHashCode()
/frameworks/base/telephony/java/android/service/euicc/
DEuiccProfileInfo.java26 import android.telephony.UiccAccessRule;
129 private final @Nullable UiccAccessRule[] mAccessRules;
150 public EuiccProfileInfo(String iccid, @Nullable UiccAccessRule[] accessRules, in EuiccProfileInfo()
181 mAccessRules = in.createTypedArray(UiccAccessRule.CREATOR); in EuiccProfileInfo()
210 private List<UiccAccessRule> mAccessRules;
309 public Builder setUiccAccessRule(@Nullable List<UiccAccessRule> value) { in setUiccAccessRule()
324 @Nullable List<UiccAccessRule> accessRules) { in EuiccProfileInfo()
334 this.mAccessRules = accessRules.toArray(new UiccAccessRule[accessRules.size()]); in EuiccProfileInfo()
347 public List<UiccAccessRule> getUiccAccessRules() { in getUiccAccessRules()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierPrivilegesTracker.java53 import android.telephony.UiccAccessRule;
387 List<Signature> signatures = UiccAccessRule.getSignatures(pkg); in updateCertsForPackage()
389 byte[] sha1 = UiccAccessRule.getCertHash(signature, SHA_1); in updateCertsForPackage()
392 byte[] sha256 = UiccAccessRule.getCertHash(signature, SHA_256); in updateCertsForPackage()
DSubscriptionInfoUpdater.java53 import android.telephony.UiccAccessRule;
945 List<UiccAccessRule> ruleList = embeddedProfile.getUiccAccessRules(); in updateEmbeddedSubscriptionsCache()
951 isRuleListEmpty ? null : UiccAccessRule.encodeRules( in updateEmbeddedSubscriptionsCache()
952 ruleList.toArray(new UiccAccessRule[ruleList.size()]))); in updateEmbeddedSubscriptionsCache()
1097 UiccAccessRule[] carrierConfigAccessRules = new UiccAccessRule[certs.length]; in updateSubscriptionByCarrierConfig()
1099 carrierConfigAccessRules[i] = new UiccAccessRule(IccUtils.hexStringToBytes( in updateSubscriptionByCarrierConfig()
1103 UiccAccessRule.encodeRules(carrierConfigAccessRules)); in updateSubscriptionByCarrierConfig()
DSubscriptionController.java56 import android.telephony.UiccAccessRule;
385 UiccAccessRule[] accessRules; in getSubInfoRecord()
387 accessRules = UiccAccessRule.decodeRules(cursor.getBlob( in getSubInfoRecord()
392 UiccAccessRule[] carrierConfigAccessRules = UiccAccessRule.decodeRules(cursor.getBlob( in getSubInfoRecord()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/
DEuiccControllerTest.java57 import android.telephony.UiccAccessRule;
94 private static final UiccAccessRule ACCESS_RULE;
97 ACCESS_RULE = new UiccAccessRule(
111 Arrays.asList(new UiccAccessRule[] { ACCESS_RULE })); in Arrays.asList()
1156 hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null, "", CARD_ID, in setHasCarrierPrivilegesOnActiveSubscription()
1177 hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null, "", CARD_ID, in setCanManageSubscriptionOnTargetSim()
1181 hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null, "", in setCanManageSubscriptionOnTargetSim()
1194 true /* isEmbedded */, hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null, in prepareOperationSubscription()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/
DEuiccCard.java29 import android.telephony.UiccAccessRule;
1315 UiccAccessRule[] rules = buildUiccAccessRule(refArDoNodes); in buildProfile()
1316 List<UiccAccessRule> rulesList = null; in buildProfile()
1338 private static UiccAccessRule[] buildUiccAccessRule(List<Asn1Node> nodes) in buildUiccAccessRule()
1344 UiccAccessRule[] rules = new UiccAccessRule[count]; in buildUiccAccessRule()
1359 rules[i] = new UiccAccessRule(signature, packageName, accessType); in buildUiccAccessRule()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSubscriptionInfoUpdaterTest.java51 import android.telephony.UiccAccessRule;
863 UiccAccessRule[] carrierConfigAccessRules = new UiccAccessRule[certs.length]; in testUpdateFromCarrierConfigCarrierCertificates()
865 carrierConfigAccessRules[i] = new UiccAccessRule( in testUpdateFromCarrierConfigCarrierCertificates()
892 assertEquals(carrierConfigAccessRules, UiccAccessRule.decodeRules(cvCaptor.getValue() in testUpdateFromCarrierConfigCarrierCertificates()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/
DEuiccController.java42 import android.telephony.UiccAccessRule;
1425 UiccAccessRule[] rules = null; in checkCarrierPrivilegeInMetadata()
1426 List<UiccAccessRule> rulesList = subscription.getAccessRules(); in checkCarrierPrivilegeInMetadata()
1428 rules = rulesList.toArray(new UiccAccessRule[rulesList.size()]); in checkCarrierPrivilegeInMetadata()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/
DEuiccCardTest.java38 import android.telephony.UiccAccessRule;
264 new UiccAccessRule[] { in testGetProfile()
265 new UiccAccessRule( in testGetProfile()
/frameworks/base/telephony/api/
Dsystem-current.txt686 method @Nullable public java.util.List<android.telephony.UiccAccessRule> getAccessRules();
957 public final class UiccAccessRule implements android.os.Parcelable {
958 ctor public UiccAccessRule(byte[], @Nullable String, long);
965 …onNull public static final android.os.Parcelable.Creator<android.telephony.UiccAccessRule> CREATOR;
1158 method public java.util.List<android.telephony.UiccAccessRule> getAccessRules();
1166 ….DownloadableSubscription.Builder setAccessRules(java.util.List<android.telephony.UiccAccessRule>);
/frameworks/base/core/java/android/provider/
DTelephony.java46 import android.telephony.UiccAccessRule;
/frameworks/base/api/
Dsystem-current.txt7243 method @Nullable public java.util.List<android.telephony.UiccAccessRule> getUiccAccessRules();
7270 …cProfileInfo.Builder setUiccAccessRule(@Nullable java.util.List<android.telephony.UiccAccessRule>);
8927 method @Nullable public java.util.List<android.telephony.UiccAccessRule> getAccessRules();
9185 public final class UiccAccessRule implements android.os.Parcelable {
9186 ctor public UiccAccessRule(byte[], @Nullable String, long);
9193 …onNull public static final android.os.Parcelable.Creator<android.telephony.UiccAccessRule> CREATOR;
9386 method public java.util.List<android.telephony.UiccAccessRule> getAccessRules();
9394 ….DownloadableSubscription.Builder setAccessRules(java.util.List<android.telephony.UiccAccessRule>);
/frameworks/base/non-updatable-api/
Dsystem-current.txt7141 method @Nullable public java.util.List<android.telephony.UiccAccessRule> getUiccAccessRules();
7168 …cProfileInfo.Builder setUiccAccessRule(@Nullable java.util.List<android.telephony.UiccAccessRule>);
8825 method @Nullable public java.util.List<android.telephony.UiccAccessRule> getAccessRules();
9083 public final class UiccAccessRule implements android.os.Parcelable {
9084 ctor public UiccAccessRule(byte[], @Nullable String, long);
9091 …onNull public static final android.os.Parcelable.Creator<android.telephony.UiccAccessRule> CREATOR;
9284 method public java.util.List<android.telephony.UiccAccessRule> getAccessRules();
9292 ….DownloadableSubscription.Builder setAccessRules(java.util.List<android.telephony.UiccAccessRule>);
/frameworks/base/config/
Dpreloaded-classes3344 android.telephony.UiccAccessRule$1
Dboot-image-profile.txt14247 …lang/String;Ljava/lang/String;Ljava/lang/String;Z[Landroid/telephony/UiccAccessRule;Ljava/lang/Str…
14432 HSPLandroid/telephony/UiccAccessRule$1;-><init>()V
14433 HSPLandroid/telephony/UiccAccessRule$1;->createFromParcel(Landroid/os/Parcel;)Landroid/telephony/Ui…
14434 HSPLandroid/telephony/UiccAccessRule$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
14435 HSPLandroid/telephony/UiccAccessRule$1;->newArray(I)[Landroid/telephony/UiccAccessRule;
14436 HSPLandroid/telephony/UiccAccessRule$1;->newArray(I)[Ljava/lang/Object;
35966 Landroid/telephony/UiccAccessRule$1;
35967 Landroid/telephony/UiccAccessRule;
42577 …lang/String;Ljava/lang/String;Ljava/lang/String;Z[Landroid/telephony/UiccAccessRule;Ljava/lang/Str…
Dhiddenapi-greylist-max-o.txt63176 Landroid/service/euicc/EuiccProfileInfo;->mAccessRules:[Landroid/telephony/UiccAccessRule;
69347 …va/lang/String;ILandroid/graphics/Bitmap;IILjava/lang/String;Z[Landroid/telephony/UiccAccessRule;)V
69348 …g;ILandroid/graphics/Bitmap;IILjava/lang/String;Z[Landroid/telephony/UiccAccessRule;Ljava/lang/Str…
69353 Landroid/telephony/SubscriptionInfo;->mAccessRules:[Landroid/telephony/UiccAccessRule;
69700 Landroid/telephony/UiccAccessRule;-><init>(Landroid/os/Parcel;)V
69701 Landroid/telephony/UiccAccessRule;->decodeRules([B)[Landroid/telephony/UiccAccessRule;
69702 Landroid/telephony/UiccAccessRule;->encodeRules([Landroid/telephony/UiccAccessRule;)[B
69703 Landroid/telephony/UiccAccessRule;->ENCODING_VERSION:I
69704 Landroid/telephony/UiccAccessRule;->getCertHash(Landroid/content/pm/Signature;Ljava/lang/String;)[B
69705 Landroid/telephony/UiccAccessRule;->mAccessType:J
[all …]