Home
last modified time | relevance | path

Searched refs:chunkCount (Results 1 – 2 of 2) sorted by relevance

/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java308 int chunkCount = (int) chunkCountLong; in computeOneMbChunkContentDigests() local
320 new byte[5 + chunkCount * digestOutputSizeBytes]; in computeOneMbChunkContentDigests()
323 chunkCount, concatenationOfChunkCountAndChunkDigests, 1); in computeOneMbChunkContentDigests()
402 int chunkCount = (int) chunkCountLong; in computeOneMbChunkContentDigests() local
406 chunkDigestsList.add(new ChunkDigests(algorithms, chunkCount)); in computeOneMbChunkContentDigests()
426 private ChunkDigests(ContentDigestAlgorithm algorithm, int chunkCount) { in ChunkDigests() argument
429 concatOfDigestsOfChunks = new byte[1 + 4 + chunkCount * digestOutputSize]; in ChunkDigests()
434 setUnsignedInt32LittleEndian(chunkCount, concatOfDigestsOfChunks, 1); in ChunkDigests()
527 long chunkCount = getChunkCount(dataSources[i].size(), in ChunkSupplier() local
529 if (chunkCount > Integer.MAX_VALUE) { in ChunkSupplier()
[all …]
/tools/apksig/src/main/java/com/android/apksig/internal/util/
DVerityTreeBuilder.java197 long chunkCount = divideRoundup(dataSize, CHUNK_SIZE); in calculateLevelOffset() local
198 long size = CHUNK_SIZE * divideRoundup(chunkCount * digestSize, CHUNK_SIZE); in calculateLevelOffset()
200 if (chunkCount * digestSize <= CHUNK_SIZE) { in calculateLevelOffset()
203 dataSize = chunkCount * digestSize; in calculateLevelOffset()