Home
last modified time | relevance | path

Searched defs:digest (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/
DMessageDigestPerfTest.java101 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/
DBlobHandle.java69 @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/
DPin.java26 public final byte[] digest; field in Pin
30 public Pin(String digestAlgorithm, byte[] digest) { in Pin()
DXmlConfigSource.java104 String digest = parser.getText().trim(); in parsePin() local
/frameworks/base/core/java/com/android/internal/security/
DVerityUtils.java127 @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/
DInstantAppResolveInfo.java86 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/
DHarmfulDigests.java45 public boolean contains(byte[] digest) { in contains()
/frameworks/base/keystore/java/android/security/keystore/
DKeyProperties.java645 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/
DAccountManagerBackupHelper.java188 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/
DBackupUtils.java108 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in hashSignature() local
/frameworks/base/core/java/android/privacy/internal/rappor/
DRapporEncoder.java84 MessageDigest digest = MessageDigest.getInstance("SHA-256"); in getInsecureSeed() local
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DReportEncoderTests.java91 final String digest = appProto.appDigest; in testReportUtils_serializeReport() local
/frameworks/base/core/jni/
Dcom_android_internal_security_VerityUtils.cpp100 int measureFsverity(JNIEnv *env, jobject /* clazz */, jstring filePath, jbyteArray digest) { in measureFsverity()
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerUtils.java94 final MessageDigest digest = MessageDigest.getInstance("SHA-1"); in getUnsignedHashUnCached() local
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreManagerShellCommand.java182 public byte[] digest; field in BlobStoreManagerShellCommand.ParsedArgs
/frameworks/base/core/java/android/util/jar/
DStrictJarVerifier.java109 private final MessageDigest digest; field in StrictJarVerifier.VerifierEntry
117 VerifierEntry(String name, MessageDigest digest, byte[] hash, in VerifierEntry()
/frameworks/base/core/java/android/os/
DFileUtils.java772 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
DSystemProperties.java315 final MessageDigest digest = MessageDigest.getInstance("SHA-1"); in digestOf() local
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java535 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/
DAndroidKeyStoreProvider.java316 @NonNull KeyEntryResponse response, int algorithm, int digest) in makeAndroidKeyStoreSecretKeyFromKeyEntryResponse()
/frameworks/base/core/tests/coretests/src/com/android/internal/security/
DVerityUtilsTest.java252 private static byte[] toFormattedDigest(byte[] digest) { in toFormattedDigest()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordCrypto.java257 MessageDigest digest = MessageDigest.getInstance("SHA-512"); in personalizedHash() local
/frameworks/base/telephony/java/android/telephony/mbms/
DDownloadRequest.java364 MessageDigest digest; in getHash() local
/frameworks/base/tests/BlobStoreTestUtils/src/com/android/utils/blob/
DFakeBlobData.java230 final MessageDigest digest = MessageDigest.getInstance("SHA-256"); in createSha256Digest() local
/frameworks/base/core/java/android/util/apk/
DApkSignatureSchemeV2Verifier.java310 ByteBuffer digest = getLengthPrefixedSlice(digests); in verifySigner() local

12