Home
last modified time | relevance | path

Searched refs:certificateHash (Results 1 – 4 of 4) 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/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java608 String certificateHash = null; in parseRefArdo() local
631 certificateHash = deviceDo.value; in parseRefArdo()
634 certificateHash = deviceDo.value; in parseRefArdo()
670 IccUtils.hexStringToBytes(certificateHash), packageName, accessType); in parseRefArdo()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierPrivilegesTrackerTest.java158 private static String carrierConfigRuleString(String certificateHash, String... packageNames) { in carrierConfigRuleString() argument
160 return certificateHash; in carrierConfigRuleString()
162 return certificateHash + ':' + String.join(",", packageNames); in carrierConfigRuleString()
170 private static UiccAccessRule ruleWithHashOnly(String certificateHash) { in ruleWithHashOnly() argument
171 return ruleWithHashAndPackage(certificateHash, null /* packageName */); in ruleWithHashOnly()
175 String certificateHash, String packageName) { in ruleWithHashAndPackage() argument
177 IccUtils.hexStringToBytes(certificateHash), packageName, /* accessType= */ 0L); in ruleWithHashAndPackage()
/frameworks/libs/gsma_services/ts43authentication/src/com/android/libraries/ts43authentication/
DTs43AuthenticationLibrary.java379 byte[] certificateHash = hexStringToBytes(certificate); in getMatchingCertificate()
380 if (Arrays.equals(signatureHash, certificateHash)) { in getMatchingCertificate()