Home
last modified time | relevance | path

Searched refs:checksums (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DChecksumsTest.java246 ApkChecksum[] checksums = receiver.getResult(); in testDefaultChecksums() local
247 assertNotNull(checksums); in testDefaultChecksums()
248 assertEquals(checksums.length, 1, Arrays.toString(checksums)); in testDefaultChecksums()
249 assertEquals(checksums[0].getType(), TYPE_PARTIAL_MERKLE_ROOT_1M_SHA256); in testDefaultChecksums()
262 ApkChecksum[] checksums = receiver.getResult(); in testSplitsDefaultChecksums() local
263 assertNotNull(checksums); in testSplitsDefaultChecksums()
264 assertEquals(checksums.length, 6, Arrays.toString(checksums)); in testSplitsDefaultChecksums()
266 assertEquals(checksums[0].getSplitName(), null); in testSplitsDefaultChecksums()
267 assertEquals(checksums[0].getType(), TYPE_PARTIAL_MERKLE_ROOT_1M_SHA256); in testSplitsDefaultChecksums()
268 assertEquals(checksums[1].getSplitName(), "config.hdpi"); in testSplitsDefaultChecksums()
[all …]
DPackageManagerShellCommandInstallTest.java2307 List<ApkChecksum> checksums = new ArrayList<>(); in testPackageVerifierWithChecksums() local
2328 result -> checksums.addAll(result)); in testPackageVerifierWithChecksums()
2336 assertEquals(1, checksums.size()); in testPackageVerifierWithChecksums()
2339 assertEquals(TYPE_WHOLE_MERKLE_ROOT_4K_SHA256, checksums.get(0).getType()); in testPackageVerifierWithChecksums()
2341 "base.apk:" + HexDump.toHexString(checksums.get(0).getValue())); in testPackageVerifierWithChecksums()
2343 assertEquals(TYPE_PARTIAL_MERKLE_ROOT_1M_SHA256, checksums.get(0).getType()); in testPackageVerifierWithChecksums()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DVdexParser.java98 int checksums = getIntLittleEndian(buffer, offset); in parse() local
100 mVdexInfoBuilder.addChecksums(checksums); in parse()
101 codeIdSB.append(String.format(CODE_ID_FORMAT, checksums)); in parse()
/cts/tools/release-parser/tests/resources/
Dandroid.test.runner.vdex.pb.txt11 checksums: 3846605392
/cts/hostsidetests/dexmetadata/host/
DREADME.md29 The DM files contain profiles, whose headers have the dex checksums that need to
/cts/tests/tests/content/data/
Dreadme.txt21 To enable signature check, use ApkChecksums.writeChecksums to store the required checksums:
/cts/tests/tests/content/
DAndroid.bp206 // v1/v2/v3/v4 signed version of android.appsecurity.cts.tinyapp to keep checksums stable
/cts/tools/release-parser/proto/
Drelease.proto300 repeated uint32 checksums = 6; field