/packages/modules/AdServices/adservices/service-core/jni/java/com/android/adservices/ohttp/ |
D | ObliviousHttpClient.java | 144 HkdfMessageDigestNativeRef messageDigest = in decryptObliviousHttpResponse() local 148 byte[] prk = extract(ohttpJniWrapper, messageDigest, secret, salt); in decryptObliviousHttpResponse() 154 ohttpJniWrapper.hkdfExpand(messageDigest, prk, keyContext, aead.keyLength()); in decryptObliviousHttpResponse() 159 ohttpJniWrapper.hkdfExpand(messageDigest, prk, nonceContext, aead.nonceLength()); in decryptObliviousHttpResponse() 227 HkdfMessageDigestNativeRef messageDigest, in extract() argument 231 ohttpJniWrapper.hkdfExtract(messageDigest, secret, salt); in extract()
|
/packages/modules/OnDevicePersonalization/src/com/android/ondevicepersonalization/services/util/ |
D | PackageUtils.java | 54 MessageDigest messageDigest; in computeSha256DigestBytes() local 56 messageDigest = MessageDigest.getInstance("SHA256"); in computeSha256DigestBytes() 62 messageDigest.update(data); in computeSha256DigestBytes() 64 return messageDigest.digest(); in computeSha256DigestBytes()
|
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/ |
D | MigrationUtils.java | 129 MessageDigest messageDigest; in computeSha256DigestBytes() local 131 messageDigest = MessageDigest.getInstance("SHA256"); in computeSha256DigestBytes() 135 messageDigest.update(data); in computeSha256DigestBytes() 137 return HexEncoding.encodeToString(messageDigest.digest(), /* uppercase= */ true); in computeSha256DigestBytes()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | Log.java | 117 MessageDigest messageDigest; in secureHash() local 119 messageDigest = MessageDigest.getInstance("SHA-1"); in secureHash() 123 messageDigest.update(input); in secureHash() 124 byte[] result = messageDigest.digest(); in secureHash()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/helpers/ |
D | CoverArt.java | 99 byte[] messageDigest = digest.digest(); in getImageHash() 102 for (int i = 0; i < messageDigest.length; i++) { in getImageHash() 103 hexString.append(Integer.toHexString(0xFF & messageDigest[i])); in getImageHash()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/ |
D | TranscriptionClientFactory.java | 104 MessageDigest messageDigest = MessageDigest.getInstance(DIGEST_ALGORITHM_SHA1); in getCertificateFingerprint() local 105 if (messageDigest == null) { in getCertificateFingerprint() 110 byte[] bytes = messageDigest.digest(packageInfo.signatures[0].toByteArray()); in getCertificateFingerprint()
|
/packages/modules/Permission/service/java/com/android/safetycenter/logging/ |
D | SafetyCenterStatsdLogger.java | 412 MessageDigest messageDigest; in idStringToLong() local 414 messageDigest = MessageDigest.getInstance("MD5"); in idStringToLong() 419 messageDigest.update(id.getBytes()); in idStringToLong() 420 return new BigInteger(messageDigest.digest()).longValue(); in idStringToLong()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | WallpaperPreviewBitmapTransformation.java | 84 public void updateDiskCacheKey(MessageDigest messageDigest) { in updateDiskCacheKey() argument 85 messageDigest.update(getId().getBytes()); in updateDiskCacheKey()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/ |
D | ResourceAsset.java | 160 public void updateDiskCacheKey(MessageDigest messageDigest) { in updateDiskCacheKey() argument 161 messageDigest.update(getCacheKey().getBytes(CHARSET)); in updateDiskCacheKey()
|
D | CurrentWallpaperAssetVN.java | 191 public void updateDiskCacheKey(MessageDigest messageDigest) { in updateDiskCacheKey() argument 192 messageDigest.update(getCacheKey().getBytes(CHARSET)); in updateDiskCacheKey()
|
D | LiveWallpaperThumbAsset.java | 342 public void updateDiskCacheKey(MessageDigest messageDigest) { in updateDiskCacheKey() argument 343 messageDigest.update(getCacheKey().getBytes(CHARSET)); in updateDiskCacheKey()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/service/ |
D | SimulatorService.java | 175 MessageDigest messageDigest = MessageDigest.getInstance("MD5"); in hasAccessToService() local 180 return isCertificateValid(messageDigest.digest(signature.toByteArray()), this.certificates); in hasAccessToService()
|
/packages/modules/StatsD/service/java/com/android/server/stats/ |
D | StatsCompanionService.java | 179 MessageDigest messageDigest = null; in getPackageCertificateHash() local 181 messageDigest = MessageDigest.getInstance("SHA-256"); in getPackageCertificateHash() 189 messageDigest.update(signature.toByteArray()); in getPackageCertificateHash() 192 return messageDigest.digest(); in getPackageCertificateHash()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | BackupHelper.java | 1087 MessageDigest messageDigest; in computeSha256DigestBytes() local 1089 messageDigest = MessageDigest.getInstance("SHA256"); in computeSha256DigestBytes() 1094 messageDigest.update(data); in computeSha256DigestBytes() 1096 return messageDigest.digest(); in computeSha256DigestBytes()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/bluetoothKeystore/ |
D | BluetoothKeystoreService.java | 545 MessageDigest messageDigest = MessageDigest.getInstance("SHA-256"); in readHashFile() local 548 messageDigest.update(dataBuffer, 0, bytesRead); in readHashFile() 551 byte[] messageDigestBytes = messageDigest.digest(); in readHashFile()
|