Home
last modified time | relevance | path

Searched refs:md (Results 1 – 22 of 22) 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.java138 MessageDigest md = MessageDigest.getInstance("SHA-256"); in testGetAndroidManifest() local
139 md.update(manifest); in testGetAndroidManifest()
140 byte[] actualDigest = md.digest(); in testGetAndroidManifest()
/tools/test/connectivity/acts/framework/acts/controllers/
Dopenwrt_ap.py349 md = "{:04x}".format(random.getrandbits(16))
350 self.log.info("Mobility Domain ID: {}".format(md))
351 return md
353 def enable_80211r(self, iface, md): argument
386 .format(iface, md))
/tools/asuite/atest-py2/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
Datest_structure.md5 do. If you're more interested in how to use atest, go to the [README](../README.md).
82 [go here](./develop_test_finders.md)
89 …re details and instructions on how to create new test runners, [go here](./develop_test_runners.md)
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
Datest_structure.md5 do. If you're more interested in how to use atest, go to the [README](../README.md).
82 [go here](./develop_test_finders.md)
89 …re details and instructions on how to create new test runners, [go here](./develop_test_runners.md)
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.java445 MessageDigest md = getMessageDigestInstance(manifestDigestAlgorithm); in generateSignatureFile() local
448 Base64.getEncoder().encodeToString(md.digest(manifest.contents))); in generateSignatureFile()
460 byte[] sectionDigest = md.digest(sectionContents); in generateSignatureFile()
DV1SchemeVerifier.java1377 MessageDigest md = getMessageDigest(algorithm); in digest() local
1378 md.update(data, offset, length); in digest()
1379 return md.digest(); in digest()
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiRoamingTest.py1182 md = self.openwrt1.generate_mobility_domain()
1183 self.openwrt1.enable_80211r(OpenWrtWifiSetting.IFACE_2G, md)
1184 self.openwrt2.enable_80211r(OpenWrtWifiSetting.IFACE_2G, md)
1201 md = self.openwrt1.generate_mobility_domain()
1202 self.openwrt1.enable_80211r(OpenWrtWifiSetting.IFACE_5G, md)
1203 self.openwrt2.enable_80211r(OpenWrtWifiSetting.IFACE_5G, md)
/tools/carrier_settings/
DREADME16 in bin/README.md run it on Android 10.
/tools/aadevtools/
DREADME.md43 ## [Android Virtual Device as a Development Platform](avd/README.md)
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java357 MessageDigest md = mds[i]; in computeOneMbChunkContentDigests() local
361 md.digest( in computeOneMbChunkContentDigests()
367 "Unexpected output size of " + md.getAlgorithm() in computeOneMbChunkContentDigests()
380 MessageDigest md = mds[i]; in computeOneMbChunkContentDigests() local
381 byte[] digest = md.digest(concatenationOfChunkCountAndChunkDigests); in computeOneMbChunkContentDigests()
/tools/metalava/
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/metalava/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...
/tools/asuite/asuite_plugin/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/ndkports/gradle/wrapper/
Dgradle-wrapper.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/gradle/ org/ ...