Home
last modified time | relevance | path

Searched refs:md (Results 1 – 21 of 21) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DMessageDigestSink.java36 for (MessageDigest md : mMessageDigests) { in consume()
37 md.update(buf, offset, length); in consume()
44 for (MessageDigest md : mMessageDigests) { in consume()
48 md.update(buf); in consume()
DVerityTreeBuilder.java251 final MessageDigest md = cloneMessageDigest(); in digestDataByChunks()
255 hashes[chunkIndex] = saltedDigest(md, chunk); in digestDataByChunks()
280 private byte[] saltedDigest(MessageDigest md, ByteBuffer data) { in saltedDigest() argument
281 md.reset(); in saltedDigest()
283 md.update(mSalt); in saltedDigest()
285 md.update(data); in saltedDigest()
286 return md.digest(); in saltedDigest()
/tools/apksig/src/test/java/com/android/apksig/apk/
DApkUtilsTest.java95 MessageDigest md = MessageDigest.getInstance("SHA-256"); in testGetAndroidManifest() local
96 md.update(manifest); in testGetAndroidManifest()
97 byte[] actualDigest = md.digest(); in testGetAndroidManifest()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DStreamUtil.java436 MessageDigest md = null; in calculateMd5Digest() local
438 md = MessageDigest.getInstance("md5"); in calculateMd5Digest()
443 InputStream input = new BufferedInputStream(new DigestInputStream(inputSource, md)); in calculateMd5Digest()
449 return md.digest(); in calculateMd5Digest()
/tools/carrier_settings/
DREADME16 in bin/README.md run it on Android 10.
/tools/tradefederation/core/atest/docs/
Ddeveloper_workflow.md34 - [General Structure](./atest_structure.md)
35 - [Test Finders](./develop_test_finders.md)
36 - [Test Runners](./develop_test_runners.md)
106 [TradeFed README](../../README.md) for information about setting up
Ddevelop_test_runners.md31 > [constants override](atest_structure.md#constants-override) where you will
Ddevelop_test_finders.md36 > [constants override](atest_structure.md#constants-override) where you will
/tools/asuite/atest/docs/
Ddeveloper_workflow.md34 - [General Structure](./atest_structure.md)
35 - [Test Finders](./develop_test_finders.md)
36 - [Test Runners](./develop_test_runners.md)
106 [TradeFed README](../../README.md) for information about setting up
Ddevelop_test_runners.md31 > [constants override](atest_structure.md#constants-override) where you will
Ddevelop_test_finders.md36 > [constants override](atest_structure.md#constants-override) where you will
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeSigner.java442 MessageDigest md = getMessageDigestInstance(manifestDigestAlgorithm); in generateSignatureFile() local
445 Base64.getEncoder().encodeToString(md.digest(manifest.contents))); in generateSignatureFile()
457 byte[] sectionDigest = md.digest(sectionContents); in generateSignatureFile()
DV1SchemeVerifier.java1412 MessageDigest md = getMessageDigest(algorithm); in digest() local
1413 md.update(data, offset, length); in digest()
1414 return md.digest(); in digest()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java533 MessageDigest md = mds[i]; in computeOneMbChunkContentDigests() local
537 md.digest( in computeOneMbChunkContentDigests()
543 "Unexpected output size of " + md.getAlgorithm() in computeOneMbChunkContentDigests()
556 MessageDigest md = mds[i]; in computeOneMbChunkContentDigests() local
557 byte[] digest = md.digest(concatenationOfChunkCountAndChunkDigests); in computeOneMbChunkContentDigests()
/tools/metalava/
DAPI-LINT.md66 93 new API lint issues were found. See tools/metalava/API-LINT.md for how to handle these.
DREADME.md25 … download the code and any dependencies required for building, see [DOWNLOADING.md](DOWNLOADING.md)
87 * Support for an updated signature file format (which is described in FORMAT.md)
/tools/asuite/asuite_plugin/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/ndkports/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/metalava/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/trebuchet/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...