/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | HarmfulDigests.java | 36 HarmfulDigests(List<byte[]> digests) { in HarmfulDigests() argument 38 final int size = digests.size(); in HarmfulDigests() 40 tmpDigestSet.add(HexDump.toHexString(digests.get(i))); in HarmfulDigests()
|
D | HarmfulCrcs.java | 36 HarmfulCrcs(List<byte[]> digests) { in HarmfulCrcs() argument 38 final int size = digests.size(); in HarmfulCrcs() 40 byte[] bytes = digests.get(i); in HarmfulCrcs()
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | SigningDetailsTest.java | 941 Set<String> digests = createDigestSet(FIRST_SIGNATURE); in hasAncestorOrSelfWithDigest_unknownDetails_returnsFalse() local 943 assertFalse(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_unknownDetails_returnsFalse() 951 Set<String> digests = createDigestSet(FIRST_SIGNATURE, SECOND_SIGNATURE); in hasAncestorOrSelfWithDigest_singleSignerInSet_returnsTrue() local 953 assertTrue(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_singleSignerInSet_returnsTrue() 961 Set<String> digests = createDigestSet(SECOND_SIGNATURE, THIRD_SIGNATURE); in hasAncestorOrSelfWithDigest_singleSignerNotInSet_returnsFalse() local 963 assertFalse(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_singleSignerNotInSet_returnsFalse() 971 Set<String> digests = createDigestSet(FIRST_SIGNATURE, SECOND_SIGNATURE, THIRD_SIGNATURE); in hasAncestorOrSelfWithDigest_multipleSignersInSet_returnsTrue() local 973 assertTrue(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_multipleSignersInSet_returnsTrue() 982 Set<String> digests = createDigestSet(FIRST_SIGNATURE, THIRD_SIGNATURE); in hasAncestorOrSelfWithDigest_multipleSignersNotInSet_returnsFalse() local 984 assertFalse(details.hasAncestorOrSelfWithDigest(digests)); in hasAncestorOrSelfWithDigest_multipleSignersNotInSet_returnsFalse() [all …]
|
/frameworks/base/core/java/android/content/pm/ |
D | InstantAppResolveInfo.java | 287 ArrayList<byte[]> digests = new ArrayList<>(); in generateDigest() local 292 digests.add(digest.digest(hostBytes)); in generateDigest() 298 digests.add(digest.digest(hostName.getBytes())); in generateDigest() 302 digests.add(digest.digest(hostBytes)); in generateDigest() 308 digests.add(digest.digest(hostBytes)); in generateDigest() 316 return digests.toArray(new byte[digests.size()][]); in generateDigest()
|
/frameworks/base/core/java/android/util/apk/ |
D | SourceStampVerifier.java | 384 ByteBuffer digests = getLengthPrefixedSlice(signedData); in getApkContentDigestsFromSignatureBlock() local 385 while (digests.hasRemaining()) { in getApkContentDigestsFromSignatureBlock() 386 ByteBuffer digest = getLengthPrefixedSlice(digests); in getApkContentDigestsFromSignatureBlock() 398 Map<Integer, byte[]> digests = new HashMap<>(); in getSignatureSchemeDigests() local 403 digests.put( in getSignatureSchemeDigests() 406 return digests; in getSignatureSchemeDigests() 411 List<Pair<Integer, byte[]>> digests = new ArrayList<>(); in getApkDigests() local 413 digests.add(Pair.create(apkContentDigest.getKey(), apkContentDigest.getValue())); in getApkDigests() 415 digests.sort(Comparator.comparing(pair -> pair.first)); in getApkDigests() 416 return digests; in getApkDigests()
|
D | ApkSignatureSchemeV2Verifier.java | 304 ByteBuffer digests = getLengthPrefixedSlice(signedData); in verifySigner() local 307 while (digests.hasRemaining()) { in verifySigner() 310 ByteBuffer digest = getLengthPrefixedSlice(digests); in verifySigner()
|
D | ApkSignatureSchemeV3Verifier.java | 362 ByteBuffer digests = getLengthPrefixedSlice(signedData); in verifySigner() local 365 while (digests.hasRemaining()) { in verifySigner() 368 ByteBuffer digest = getLengthPrefixedSlice(digests); in verifySigner()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyProperties.java | 730 public static @DigestEnum String[] allFromKeymaster(@NonNull Collection<Integer> digests) { in allFromKeymaster() argument 731 if (digests.isEmpty()) { in allFromKeymaster() 734 String[] result = new String[digests.size()]; in allFromKeymaster() 736 for (int digest : digests) { in allFromKeymaster() 744 public static int[] allToKeymaster(@Nullable @DigestEnum String[] digests) { in allToKeymaster() argument 745 if ((digests == null) || (digests.length == 0)) { in allToKeymaster() 748 int[] result = new int[digests.length]; in allToKeymaster() 750 for (@DigestEnum String digest : digests) { in allToKeymaster()
|
D | KeyProtection.java | 254 @KeyProperties.DigestEnum String[] digests, in KeyProtection() argument 279 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in KeyProtection() 777 public Builder setDigests(@KeyProperties.DigestEnum String... digests) { in setDigests() argument 778 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in setDigests()
|
D | KeyInfo.java | 105 @KeyProperties.DigestEnum String[] digests, in KeyInfo() argument 130 mDigests = ArrayUtils.cloneIfNotEmpty(ArrayUtils.nullToEmpty(digests)); in KeyInfo()
|
D | KeyGenParameterSpec.java | 354 @KeyProperties.DigestEnum String[] digests, in KeyGenParameterSpec() argument 414 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in KeyGenParameterSpec() 1269 public Builder setDigests(@KeyProperties.DigestEnum String... digests) { in setDigests() argument 1270 mDigests = ArrayUtils.cloneIfNotEmpty(digests); in setDigests()
|
D | ParcelableKeyGenParameterSpec.java | 164 final String[] digests = in.createStringArray(); in ParcelableKeyGenParameterSpec() local 203 digests, in ParcelableKeyGenParameterSpec()
|
/frameworks/base/core/java/android/util/ |
D | PackageUtils.java | 68 final String[] digests = new String[signatureCount]; in computeSignaturesSha256Digests() local 70 digests[i] = computeSha256Digest(signatures[i].toByteArray(), separator); in computeSignaturesSha256Digests() 72 return digests; in computeSignaturesSha256Digests()
|
/frameworks/proto_logging/stats/express/catalog/ |
D | binary_transparency.cfg | 5 description: "Latency of computing digests of all packages."
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApkChecksums.java | 450 final Checksum[] digests = readChecksums(digestsFile); in getInstallerChecksums() local 455 final Certificate[] certificates = verifySignature(digests, in getInstallerChecksums() 504 for (Checksum digest : digests) { in getInstallerChecksums() 513 for (Checksum digest : digests) { in getInstallerChecksums() 852 byte[][] digests = ApkSigningBlockUtils.computeContentDigestsPer1MbChunk(digestAlgos, in calculatePartialChecksumsIfRequested() 857 checksums.put(checksumKind, new ApkChecksum(split, checksumKind, digests[i])); in calculatePartialChecksumsIfRequested()
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreSecretKeyFactorySpi.java | 231 String[] digests = digestsList.toArray(new String[0]); in getKeyInfo() local 252 digests, in getKeyInfo()
|
/frameworks/base/config/ |
D | preloaded-classes | 13619 com.android.org.bouncycastle.crypto.digests.AndroidDigestFactory 13620 com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryBouncyCastle 13621 com.android.org.bouncycastle.crypto.digests.AndroidDigestFactoryOpenSSL 13622 com.android.org.bouncycastle.crypto.digests.EncodableDigest 13623 com.android.org.bouncycastle.crypto.digests.GeneralDigest 13624 com.android.org.bouncycastle.crypto.digests.LongDigest 13625 com.android.org.bouncycastle.crypto.digests.MD5Digest 13626 com.android.org.bouncycastle.crypto.digests.OpenSSLDigest$MD5 13627 com.android.org.bouncycastle.crypto.digests.OpenSSLDigest$SHA1 13628 com.android.org.bouncycastle.crypto.digests.OpenSSLDigest$SHA224 [all …]
|
D | boot-image-profile.txt | 23146 HSPLcom/android/org/bouncycastle/crypto/digests/OpenSSLDigest$SHA1;-><init>()V 23147 HSPLcom/android/org/bouncycastle/crypto/digests/OpenSSLDigest;-><init>(Ljava/lang/String;I)V 23148 HSPLcom/android/org/bouncycastle/crypto/digests/OpenSSLDigest;->doFinal([BI)I 23149 HSPLcom/android/org/bouncycastle/crypto/digests/OpenSSLDigest;->getByteLength()I 23150 HSPLcom/android/org/bouncycastle/crypto/digests/OpenSSLDigest;->getDigestSize()I 23151 HSPLcom/android/org/bouncycastle/crypto/digests/OpenSSLDigest;->reset()V 23152 HSPLcom/android/org/bouncycastle/crypto/digests/OpenSSLDigest;->update([BII)V 46194 Lcom/android/org/bouncycastle/crypto/digests/AndroidDigestFactory; 46195 Lcom/android/org/bouncycastle/crypto/digests/AndroidDigestFactoryBouncyCastle; 46196 Lcom/android/org/bouncycastle/crypto/digests/AndroidDigestFactoryOpenSSL; [all …]
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |