Home
last modified time | relevance | path

Searched refs:messageDigest (Results 1 – 20 of 20) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DPackageBasedTokenUtil.java86 MessageDigest messageDigest; in generatePackageBasedToken() local
88 messageDigest = MessageDigest.getInstance(HASH_TYPE); in generatePackageBasedToken()
94 messageDigest.update(packageName.getBytes(CHARSET_UTF_8)); in generatePackageBasedToken()
96 messageDigest.update(space.getBytes(CHARSET_UTF_8)); in generatePackageBasedToken()
98 messageDigest.update(signatures[i].toCharsString().getBytes(CHARSET_UTF_8)); in generatePackageBasedToken()
100 byte[] hashSignatures = messageDigest.digest(); in generatePackageBasedToken()
DInboundSmsTracker.java442 MessageDigest messageDigest = MessageDigest.getInstance("SHA-1"); in getShaBytes() local
443 messageDigest.reset(); in getShaBytes()
444 messageDigest.update(messagePrint.getBytes("UTF-8")); in getShaBytes()
445 byte[] hashResult = messageDigest.digest(); in getShaBytes()
/frameworks/base/core/java/android/util/
DPackageUtils.java111 MessageDigest messageDigest; in computeSha256DigestBytes() local
113 messageDigest = MessageDigest.getInstance("SHA256"); in computeSha256DigestBytes()
119 messageDigest.update(data); in computeSha256DigestBytes()
121 return messageDigest.digest(); in computeSha256DigestBytes()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtils.java110 MessageDigest messageDigest = MessageDigest.getInstance("SHA-256"); in calculateThmKfHash() local
111 messageDigest.update(THM_KF_HASH_PREFIX); in calculateThmKfHash()
112 messageDigest.update(lockScreenHash); in calculateThmKfHash()
113 return messageDigest.digest(); in calculateThmKfHash()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DBackupStreamEncrypter.java81 MessageDigest messageDigest = in backup() local
107 messageDigest.update(chunk); in backup()
125 messageDigest.digest()); in backup()
DKvBackupEncrypter.java155 MessageDigest messageDigest = in createMessageDigest() local
161 messageDigest.update(hash.getHash()); in createMessageDigest()
163 return messageDigest.digest(); in createMessageDigest()
/frameworks/base/telephony/java/com/android/telephony/
DRlog.java142 MessageDigest messageDigest; in secureHash() local
145 messageDigest = MessageDigest.getInstance("SHA-1"); in secureHash()
150 byte[] result = messageDigest.digest(input); in secureHash()
/frameworks/base/core/java/android/telephony/
DRlog.java149 MessageDigest messageDigest; in secureHash() local
152 messageDigest = MessageDigest.getInstance("SHA-1"); in secureHash()
157 byte[] result = messageDigest.digest(input); in secureHash()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DWatchlistConfig.java209 MessageDigest messageDigest; in getSha256() local
211 messageDigest = MessageDigest.getInstance("SHA256"); in getSha256()
216 messageDigest.update(str.getBytes()); in getSha256()
217 return messageDigest.digest(); in getSha256()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DKvBackupEncrypterTest.java190 MessageDigest messageDigest = in backup_returnsMessageDigestOverChunkHashes() local
199 messageDigest.update(sortedHashes.get(0).getHash()); in backup_returnsMessageDigestOverChunkHashes()
200 messageDigest.update(sortedHashes.get(1).getHash()); in backup_returnsMessageDigestOverChunkHashes()
201 messageDigest.update(sortedHashes.get(2).getHash()); in backup_returnsMessageDigestOverChunkHashes()
202 assertThat(secondResult.getDigest()).isEqualTo(messageDigest.digest()); in backup_returnsMessageDigestOverChunkHashes()
/frameworks/base/core/java/android/util/apk/
DSourceStampVerifier.java419 MessageDigest messageDigest = MessageDigest.getInstance("SHA-256"); in computeSha256Digest() local
420 messageDigest.update(input); in computeSha256Digest()
421 return messageDigest.digest(); in computeSha256Digest()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncUtilsTest.java515 MessageDigest messageDigest = MessageDigest.getInstance(SHA_256_ALGORITHM); in calculateSha256() local
516 messageDigest.update(bytes); in calculateSha256()
517 return messageDigest.digest(); in calculateSha256()
/frameworks/base/telephony/common/com/android/internal/telephony/
DSmsNumberUtils.java685 MessageDigest messageDigest; in secureHash() local
688 messageDigest = MessageDigest.getInstance("SHA-1"); in secureHash()
693 byte[] result = messageDigest.digest(input); in secureHash()
/frameworks/base/core/java/android/content/integrity/
DAtomicFormula.java500 MessageDigest messageDigest = MessageDigest.getInstance("SHA-256"); in hash() local
501 byte[] hashBytes = messageDigest.digest(value.getBytes(StandardCharsets.UTF_8)); in hash()
/frameworks/base/services/core/java/com/android/server/integrity/
DAppIntegrityManagerServiceImpl.java425 MessageDigest messageDigest = MessageDigest.getInstance("SHA-256"); in getPackageNameNormalized() local
426 byte[] hashBytes = messageDigest.digest(packageName.getBytes(StandardCharsets.UTF_8)); in getPackageNameNormalized()
/frameworks/layoutlib/bridge/tests/res/testApp/MyApplication/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/tests/UiBench/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/tests/TouchLatency/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/base/startop/apps/ColorChanging/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/frameworks/multidex/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...