/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | MessageDigestPerfTest.java | 101 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in time() local 112 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeLargeArray() local 123 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeSmallChunkOfLargeArray() local 134 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeSmallByteBuffer() local 147 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeSmallDirectByteBuffer() local 160 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeLargeByteBuffer() local 173 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeLargeDirectByteBuffer() local 186 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeSmallChunkOfLargeByteBuffer() local 199 MessageDigest digest = MessageDigest.getInstance(algorithm.toString(), mProvider); in timeSmallChunkOfLargeDirectByteBuffer() local
|
/frameworks/base/apex/blobstore/framework/java/android/app/blob/ |
D | BlobHandle.java | 69 @NonNull public final byte[] digest; field in BlobHandle 92 private BlobHandle(String algorithm, byte[] digest, CharSequence label, long expiryTimeMillis, in BlobHandle() 110 public static @NonNull BlobHandle create(@NonNull String algorithm, @NonNull byte[] digest, in create() 144 public static @NonNull BlobHandle createWithSha256(@NonNull byte[] digest, in createWithSha256() 259 public static String safeDigest(@NonNull byte[] digest) { in safeDigest() 264 private static String encodeDigest(@NonNull byte[] digest) { in encodeDigest()
|
/frameworks/base/core/java/android/security/net/config/ |
D | Pin.java | 26 public final byte[] digest; field in Pin 30 public Pin(String digestAlgorithm, byte[] digest) { in Pin()
|
D | XmlConfigSource.java | 104 String digest = parser.getText().trim(); in parsePin() local
|
/frameworks/base/core/java/com/android/internal/security/ |
D | VerityUtils.java | 127 @NonNull byte[] digest, @NonNull InputStream derCertInputStream) { in verifyPkcs7DetachedSignature() 211 public static byte[] toFormattedDigest(byte[] digest) { in toFormattedDigest() 225 @NonNull byte[] digest); in measureFsverityNative()
|
/frameworks/base/core/java/android/content/pm/ |
D | InstantAppResolveInfo.java | 86 public InstantAppResolveInfo(@NonNull InstantAppDigest digest, @Nullable String packageName, in InstantAppResolveInfo() 92 public InstantAppResolveInfo(@NonNull InstantAppDigest digest, @Nullable String packageName, in InstantAppResolveInfo() 113 private InstantAppResolveInfo(@NonNull InstantAppDigest digest, @Nullable String packageName, in InstantAppResolveInfo() 289 final MessageDigest digest = MessageDigest.getInstance(SHA_ALGORITHM); in generateDigest() local
|
/frameworks/base/services/core/java/com/android/server/net/watchlist/ |
D | HarmfulDigests.java | 45 public boolean contains(byte[] digest) { in contains()
|
/frameworks/base/keystore/java/android/security/keystore/ |
D | KeyProperties.java | 645 public static int toKeymaster(@NonNull @DigestEnum String digest) { in toKeymaster() 667 public static @DigestEnum String fromKeymaster(int digest) { in fromKeymaster() 692 AlgorithmParameterSpec fromKeymasterToMGF1ParameterSpec(int digest) { in fromKeymasterToMGF1ParameterSpec() 709 public static @DigestEnum String fromKeymasterToSignatureAlgorithmDigest(int digest) { in fromKeymasterToSignatureAlgorithmDigest()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerBackupHelper.java | 188 final String digest = PackageUtils.computeSignaturesSha256Digest( in backupAccountAccessPermissions() local 237 String digest = parser.getAttributeValue(null, ATTR_DIGEST); in restoreAccountAccessPermissions() local
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | BackupUtils.java | 108 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in hashSignature() local
|
/frameworks/base/core/java/android/privacy/internal/rappor/ |
D | RapporEncoder.java | 84 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in getInsecureSeed() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/ |
D | ReportEncoderTests.java | 91 final String digest = appProto.appDigest; in testReportUtils_serializeReport() local
|
/frameworks/base/core/jni/ |
D | com_android_internal_security_VerityUtils.cpp | 100 int measureFsverity(JNIEnv *env, jobject /* clazz */, jstring filePath, jbyteArray digest) { in measureFsverity()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ActivityManagerUtils.java | 94 final MessageDigest digest = MessageDigest.getInstance("SHA-1"); in getUnsignedHashUnCached() local
|
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/ |
D | BlobStoreManagerShellCommand.java | 182 public byte[] digest; field in BlobStoreManagerShellCommand.ParsedArgs
|
/frameworks/base/core/java/android/util/jar/ |
D | StrictJarVerifier.java | 109 private final MessageDigest digest; field in StrictJarVerifier.VerifierEntry 117 VerifierEntry(String name, MessageDigest digest, byte[] hash, in VerifierEntry()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 772 public static byte[] digest(@NonNull File file, @NonNull String algorithm) in digest() method in FileUtils 788 public static byte[] digest(@NonNull InputStream in, @NonNull String algorithm) in digest() method in FileUtils 801 public static byte[] digest(FileDescriptor fd, String algorithm) in digest() method in FileUtils 809 final MessageDigest digest = MessageDigest.getInstance(algorithm); in digestInternalUserspace() local 810 try (DigestInputStream digestStream = new DigestInputStream(in, digest)) { in digestInternalUserspace() argument
|
D | SystemProperties.java | 315 final MessageDigest digest = MessageDigest.getInstance("SHA-1"); in digestOf() local
|
/frameworks/base/services/core/java/com/android/server/integrity/ |
D | AppIntegrityManagerServiceImpl.java | 535 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in extractSourceStamp() local 604 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in getFingerprint() local
|
/frameworks/base/keystore/java/android/security/keystore2/ |
D | AndroidKeyStoreProvider.java | 316 @NonNull KeyEntryResponse response, int algorithm, int digest) in makeAndroidKeyStoreSecretKeyFromKeyEntryResponse()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/security/ |
D | VerityUtilsTest.java | 252 private static byte[] toFormattedDigest(byte[] digest) { in toFormattedDigest()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | SyntheticPasswordCrypto.java | 257 MessageDigest digest = MessageDigest.getInstance("SHA-512"); in personalizedHash() local
|
/frameworks/base/telephony/java/android/telephony/mbms/ |
D | DownloadRequest.java | 364 MessageDigest digest; in getHash() local
|
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/ |
D | FakeBlobData.java | 230 final MessageDigest digest = MessageDigest.getInstance("SHA-256"); in createSha256Digest() local
|
/frameworks/base/core/java/android/util/apk/ |
D | ApkSignatureSchemeV2Verifier.java | 310 ByteBuffer digest = getLengthPrefixedSlice(digests); in verifySigner() local
|