Home
last modified time | relevance | path

Searched refs:certificateHash (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java123 byte[] certificateHash = IccUtils.hexStringToBytes(splitStr[0]); in decodeRulesFromCarrierConfig()
126 carrierConfigAccessRulesArray.add(new UiccAccessRule(certificateHash, null, 0)); in decodeRulesFromCarrierConfig()
133 new UiccAccessRule(certificateHash, packageName, 0)); in decodeRulesFromCarrierConfig()
157 byte[] certificateHash = new byte[certificateHashLength]; in decodeRules()
158 input.readFully(certificateHash); in decodeRules()
161 accessRules[i] = new UiccAccessRule(certificateHash, packageName, accessType); in decodeRules()
176 public UiccAccessRule(byte[] certificateHash, @Nullable String packageName, long accessType) { in UiccAccessRule() argument
177 this.mCertificateHash = certificateHash; in UiccAccessRule()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java135 private static String carrierConfigRuleString(String certificateHash, String... packageNames) { in carrierConfigRuleString() argument
137 return certificateHash; in carrierConfigRuleString()
139 return certificateHash + ':' + String.join(",", packageNames); in carrierConfigRuleString()
147 private static UiccAccessRule ruleWithHashOnly(String certificateHash) { in ruleWithHashOnly() argument
148 return ruleWithHashAndPackage(certificateHash, null /* packageName */); in ruleWithHashOnly()
152 String certificateHash, String packageName) { in ruleWithHashAndPackage() argument
154 IccUtils.hexStringToBytes(certificateHash), packageName, /* accessType= */ 0L); in ruleWithHashAndPackage()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java657 String certificateHash = null; in parseRefArdo() local
680 certificateHash = deviceDo.value; in parseRefArdo()
683 certificateHash = deviceDo.value; in parseRefArdo()
719 IccUtils.hexStringToBytes(certificateHash), packageName, accessType); in parseRefArdo()