/frameworks/base/telephony/java/android/telephony/ |
D | UiccAccessRule.java | 51 public final class UiccAccessRule implements Parcelable { class 66 … static final @android.annotation.NonNull Creator<UiccAccessRule> CREATOR = new Creator<UiccAccess… 68 public UiccAccessRule createFromParcel(Parcel in) { 69 return new UiccAccessRule(in); 73 public UiccAccessRule[] newArray(int size) { 74 return new UiccAccessRule[size]; 83 public static byte[] encodeRules(@Nullable UiccAccessRule[] accessRules) { in encodeRules() 92 for (UiccAccessRule accessRule : accessRules) { in encodeRules() 116 public static UiccAccessRule[] decodeRulesFromCarrierConfig(@Nullable String[] certs) { in decodeRulesFromCarrierConfig() 120 List<UiccAccessRule> carrierConfigAccessRulesArray = new ArrayList(); in decodeRulesFromCarrierConfig() [all …]
|
D | SubscriptionInfo.java | 167 private final UiccAccessRule[] mNativeAccessRules; 174 private final UiccAccessRule[] mCarrierConfigAccessRules; 286 @Nullable UiccAccessRule[] nativeAccessRules, String cardString) { in SubscriptionInfo() 304 @Nullable UiccAccessRule[] nativeAccessRules, String cardString, in SubscriptionInfo() 322 @Nullable UiccAccessRule[] nativeAccessRules, String cardString, int cardId, in SubscriptionInfo() 325 @Nullable UiccAccessRule[] carrierConfigAccessRules, in SubscriptionInfo() 343 @Nullable UiccAccessRule[] nativeAccessRules, String cardString, int cardId, in SubscriptionInfo() 346 @Nullable UiccAccessRule[] carrierConfigAccessRules, in SubscriptionInfo() 365 @Nullable UiccAccessRule[] nativeAccessRules, String cardString, int cardId, in SubscriptionInfo() 368 @Nullable UiccAccessRule[] carrierConfigAccessRules, in SubscriptionInfo() [all …]
|
D | UiccAccessRule.aidl | 19 parcelable UiccAccessRule;
|
/frameworks/base/telephony/java/android/telephony/euicc/ |
D | DownloadableSubscription.java | 26 import android.telephony.UiccAccessRule; 77 private List<UiccAccessRule> accessRules; 94 accessRules = new ArrayList<UiccAccessRule>(); in DownloadableSubscription() 95 in.readTypedList(accessRules, UiccAccessRule.CREATOR); in DownloadableSubscription() 99 String carrierName, List<UiccAccessRule> accessRules) { in DownloadableSubscription() 110 List<UiccAccessRule> accessRules; 180 public Builder setAccessRules(@NonNull List<UiccAccessRule> value) { in setAccessRules() 261 public List<UiccAccessRule> getAccessRules() { in getAccessRules() 271 public void setAccessRules(List<UiccAccessRule> accessRules) { in setAccessRules() 281 public void setAccessRules(UiccAccessRule[] accessRules) { in setAccessRules()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRules.java | 29 import android.telephony.UiccAccessRule; 192 private List<UiccAccessRule> mAccessRules; 232 public UiccCarrierPrivilegeRules(List<UiccAccessRule> rules) { in UiccCarrierPrivilegeRules() 261 for (UiccAccessRule ar : mAccessRules) { in getPackageNames() 273 public List<UiccAccessRule> getAccessRules() { in getAccessRules() 295 for (UiccAccessRule ar : mAccessRules) { in getCarrierPrivilegeStatus() 353 for (UiccAccessRule ar : mAccessRules) { in getCarrierPrivilegeStatus() 542 UiccAccessRule accessRule = new UiccAccessRule( in handleMessage() 581 private static List<UiccAccessRule> parseRules(String rules) { in parseRules() 588 List<UiccAccessRule> accessRules = new ArrayList<>(); in parseRules() [all …]
|
D | UiccProfile.java | 51 import android.telephony.UiccAccessRule; 297 new UiccCarrierPrivilegeRules((List<UiccAccessRule>) msg.obj); 1433 List<UiccAccessRule> accessRules = rules.getAccessRules(); in getUninstalledCarrierPackages() 1434 for (UiccAccessRule accessRule : accessRules) { in getUninstalledCarrierPackages() 1699 List<UiccAccessRule> accessRules = carrierPrivilegeRules.getAccessRules(); in getCertsFromCarrierPrivilegeAccessRules() 1700 for (UiccAccessRule accessRule : accessRules) { in getCertsFromCarrierPrivilegeAccessRules() 1708 public List<UiccAccessRule> getCarrierPrivilegeAccessRules() { in getCarrierPrivilegeAccessRules() 1855 public void setTestOverrideCarrierPrivilegeRules(@Nullable List<UiccAccessRule> rules) { in setTestOverrideCarrierPrivilegeRules()
|
/frameworks/base/core/tests/coretests/src/android/service/euicc/ |
D | EuiccProfileInfoTest.java | 27 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/ |
D | EuiccProfileInfo.java | 28 import android.telephony.UiccAccessRule; 140 private final @Nullable UiccAccessRule[] mAccessRules; 161 public EuiccProfileInfo(String iccid, @Nullable UiccAccessRule[] accessRules, in EuiccProfileInfo() 192 mAccessRules = in.createTypedArray(UiccAccessRule.CREATOR); in EuiccProfileInfo() 221 private List<UiccAccessRule> mAccessRules; 320 public Builder setUiccAccessRule(@Nullable List<UiccAccessRule> value) { in setUiccAccessRule() 335 @Nullable List<UiccAccessRule> accessRules) { in EuiccProfileInfo() 345 this.mAccessRules = accessRules.toArray(new UiccAccessRule[accessRules.size()]); in EuiccProfileInfo() 358 public List<UiccAccessRule> getUiccAccessRules() { in getUiccAccessRules()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierPrivilegesTracker.java | 61 import android.telephony.UiccAccessRule; 188 @NonNull private final List<UiccAccessRule> mCarrierConfigRules = new ArrayList<>(); 190 @NonNull private final List<UiccAccessRule> mUiccRules = new ArrayList<>(); 195 @Nullable private List<UiccAccessRule> mTestOverrideRules = null; 425 List<UiccAccessRule> updatedCarrierConfigRules = Collections.EMPTY_LIST; in handleCarrierConfigUpdated() 442 private List<UiccAccessRule> getCarrierConfigRules(int subId) { in getCarrierConfigRules() 456 return Arrays.asList(UiccAccessRule.decodeRulesFromCarrierConfig(carrierConfigRules)); in getCarrierConfigRules() 462 List<UiccAccessRule> updatedUiccRules = Collections.EMPTY_LIST; in handleSimStateChanged() 496 List<UiccAccessRule> updatedUiccRules = getSimRules(); in handleUiccAccessRulesLoaded() 514 private List<UiccAccessRule> getSimRules() { in getSimRules() [all …]
|
D | GsmCdmaPhone.java | 92 import android.telephony.UiccAccessRule; 2197 List<UiccAccessRule> testRules; in setCarrierTestOverride() 2203 UiccAccessRule accessRule = new UiccAccessRule( in setCarrierTestOverride()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/ |
D | UiccCarrierPrivilegeRulesTest.java | 30 import android.telephony.UiccAccessRule; 627 List<UiccAccessRule> accessRules = mUiccCarrierPrivilegeRules.getAccessRules(); in testAID_ARFSucceed() 628 UiccAccessRule accessRule1 = new UiccAccessRule( in testAID_ARFSucceed() 634 UiccAccessRule accessRule2 = new UiccAccessRule( in testAID_ARFSucceed() 720 List<UiccAccessRule> accessRules = mUiccCarrierPrivilegeRules.getAccessRules(); in testAID_ARFFallbackToACRF() 721 UiccAccessRule accessRule1 = new UiccAccessRule( in testAID_ARFFallbackToACRF() 727 UiccAccessRule accessRule2 = new UiccAccessRule( in testAID_ARFFallbackToACRF()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/subscription/ |
D | SubscriptionInfoInternalTest.java | 24 import android.telephony.UiccAccessRule; 293 List<UiccAccessRule> rules = new ArrayList<>(); in testConvertToSubscriptionInfo() 295 rules.addAll(Arrays.asList(UiccAccessRule.decodeRules( in testConvertToSubscriptionInfo() 297 rules.addAll(Arrays.asList(UiccAccessRule.decodeRules( in testConvertToSubscriptionInfo()
|
D | SubscriptionDatabaseManagerTest.java | 46 import android.telephony.UiccAccessRule; 97 static final byte[] FAKE_NATIVE_ACCESS_RULES1 = UiccAccessRule.encodeRules( 98 new UiccAccessRule[]{new UiccAccessRule(new byte[] {}, "package1", 12345L)}); 99 static final byte[] FAKE_NATIVE_ACCESS_RULES2 = UiccAccessRule.encodeRules( 100 new UiccAccessRule[]{new UiccAccessRule(new byte[] {}, "package2", 45678L)}); 101 static final byte[] FAKE_CARRIER_CONFIG_ACCESS_RULES1 = UiccAccessRule.encodeRules( 102 new UiccAccessRule[]{new UiccAccessRule(new byte[] {}, "package1", 54321L)}); 103 static final byte[] FAKE_CARRIER_CONFIG_ACCESS_RULES2 = UiccAccessRule.encodeRules( 104 new UiccAccessRule[]{new UiccAccessRule(new byte[] {}, "package2", 84954L)});
|
D | SubscriptionManagerServiceTest.java | 97 import android.telephony.UiccAccessRule; 937 .setUiccAccessRule(Arrays.asList(UiccAccessRule.decodeRules( in testUpdateEmbeddedSubscriptions() 946 .setUiccAccessRule(Arrays.asList(UiccAccessRule.decodeRules( in testUpdateEmbeddedSubscriptions() 2410 .setUiccAccessRule(Arrays.asList(UiccAccessRule.decodeRules( in testUserUnlockUpdateEmbeddedSubscriptions() 2587 .setUiccAccessRule(Arrays.asList(UiccAccessRule.decodeRules( in testEsimActivation() 2672 .setUiccAccessRule(Arrays.asList(UiccAccessRule.decodeRules( in testDeleteEsim() 2728 .setUiccAccessRule(Arrays.asList(UiccAccessRule.decodeRules( in testEsimSwitch() 3072 .setUiccAccessRule(Arrays.asList(UiccAccessRule.decodeRules( in testEmbeddedProfilesUpdateFailed() 3204 .setUiccAccessRule(Arrays.asList(UiccAccessRule.decodeRules( in testIsSatelliteSpn() 3241 .setUiccAccessRule(Arrays.asList(UiccAccessRule.decodeRules( in testIsSatelliteSpnWithEmptySpn() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/subscription/ |
D | SubscriptionInfoInternal.java | 47 import android.telephony.UiccAccessRule; 1289 ? null : UiccAccessRule.decodeRules(mNativeAccessRules)) in toSubscriptionInfo() 1300 ? null : UiccAccessRule.decodeRules(mCarrierConfigAccessRules)) in toSubscriptionInfo() 2194 public Builder setNativeAccessRules(@NonNull List<UiccAccessRule> nativeAccessRules) { in setNativeAccessRules() 2197 mNativeAccessRules = UiccAccessRule.encodeRules( in setNativeAccessRules() 2198 nativeAccessRules.toArray(new UiccAccessRule[0])); in setNativeAccessRules()
|
D | SubscriptionDatabaseManager.java | 42 import android.telephony.UiccAccessRule; 1372 @NonNull UiccAccessRule[] carrierConfigAccessRules) { in setCarrierConfigAccessRules() 1374 byte[] carrierConfigAccessRulesBytes = UiccAccessRule.encodeRules(carrierConfigAccessRules); in setCarrierConfigAccessRules()
|
D | SubscriptionManagerService.java | 81 import android.telephony.UiccAccessRule; 1196 List<UiccAccessRule> ruleList = embeddedProfile.getUiccAccessRules(); in updateEmbeddedSubscriptions() 1755 UiccAccessRule[] carrierConfigAccessRules = UiccAccessRule.decodeRulesFromCarrierConfig( in updateSubscriptionByCarrierConfigInternal()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/euicc/ |
D | EuiccPort.java | 26 import android.telephony.UiccAccessRule; 1289 UiccAccessRule[] rules = buildUiccAccessRule(refArDoNodes); in buildProfile() 1290 List<UiccAccessRule> rulesList = null; in buildProfile() 1312 private static UiccAccessRule[] buildUiccAccessRule(List<Asn1Node> nodes) in buildUiccAccessRule() 1318 UiccAccessRule[] rules = new UiccAccessRule[count]; in buildUiccAccessRule() 1333 rules[i] = new UiccAccessRule(signature, packageName, accessType); in buildUiccAccessRule()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierPrivilegesTrackerTest.java | 58 import android.telephony.UiccAccessRule; 165 private void setupSimLoadedRules(UiccAccessRule... certHashes) { in setupSimLoadedRules() 170 private static UiccAccessRule ruleWithHashOnly(String certificateHash) { in ruleWithHashOnly() 174 private static UiccAccessRule ruleWithHashAndPackage( in ruleWithHashAndPackage() 176 return new UiccAccessRule( in ruleWithHashAndPackage()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/euicc/ |
D | EuiccControllerTest.java | 64 import android.telephony.UiccAccessRule; 118 private static final UiccAccessRule ACCESS_RULE; 121 ACCESS_RULE = new UiccAccessRule( 135 Arrays.asList(new UiccAccessRule[] { ACCESS_RULE })); in Arrays.asList() 1936 builder.setNativeAccessRules(new UiccAccessRule[] { ACCESS_RULE }); in setHasCarrierPrivilegesOnActiveSubscription() 1967 .setNativeAccessRules(hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null) in setCanManageSubscriptionOnTargetSim() 1973 .setNativeAccessRules(hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null) in setCanManageSubscriptionOnTargetSim() 2010 .setNativeAccessRules(hasPrivileges ? new UiccAccessRule[] { ACCESS_RULE } : null) in prepareOperationSubscription()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/euicc/ |
D | EuiccPortTest.java | 39 import android.telephony.UiccAccessRule; 298 new UiccAccessRule[] { in testGetProfile() 299 new UiccAccessRule( in testGetProfile()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/euicc/ |
D | EuiccController.java | 53 import android.telephony.UiccAccessRule; 2013 UiccAccessRule[] rules = null; in checkCarrierPrivilegeInMetadata() 2014 List<UiccAccessRule> rulesList = subscription.getAccessRules(); in checkCarrierPrivilegeInMetadata() 2016 rules = rulesList.toArray(new UiccAccessRule[rulesList.size()]); in checkCarrierPrivilegeInMetadata()
|
/frameworks/base/core/java/android/provider/ |
D | Telephony.java | 48 import android.telephony.UiccAccessRule;
|
/frameworks/base/boot/ |
D | boot-image-profile.txt | 14183 …rConfigAccessRules(Landroid/telephony/SubscriptionInfo$Builder;)[Landroid/telephony/UiccAccessRule; 14203 …mNativeAccessRules(Landroid/telephony/SubscriptionInfo$Builder;)[Landroid/telephony/UiccAccessRule; 14214 …iptionInfo$Builder;->setCarrierConfigAccessRules([Landroid/telephony/UiccAccessRule;)Landroid/tele… 14232 …/SubscriptionInfo$Builder;->setNativeAccessRules([Landroid/telephony/UiccAccessRule;)Landroid/tele… 14241 …;Z[Landroid/telephony/UiccAccessRule;Ljava/lang/String;IZLjava/lang/String;ZIIILjava/lang/String;[… 14242 …;Z[Landroid/telephony/UiccAccessRule;Ljava/lang/String;IZLjava/lang/String;ZIIILjava/lang/String;[… 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; [all …]
|
/frameworks/base/core/api/ |
D | system-current.txt | 12678 method @Nullable public java.util.List<android.telephony.UiccAccessRule> getUiccAccessRules(); 12705 …cProfileInfo.Builder setUiccAccessRule(@Nullable java.util.List<android.telephony.UiccAccessRule>); 15147 method @Nullable public java.util.List<android.telephony.UiccAccessRule> getAccessRules(); 15652 public final class UiccAccessRule implements android.os.Parcelable { 15653 ctor public UiccAccessRule(byte[], @Nullable String, long); 15660 …onNull public static final android.os.Parcelable.Creator<android.telephony.UiccAccessRule> CREATOR; 15988 method public java.util.List<android.telephony.UiccAccessRule> getAccessRules(); 15994 …ableSubscription.Builder setAccessRules(@NonNull java.util.List<android.telephony.UiccAccessRule>);
|