Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DVerityTreeBuilder.java252 for (int offset = 0, finish = buffer.capacity(), chunkIndex = readChunkIndex; in digestDataByChunks()
253 offset < finish; offset += CHUNK_SIZE, ++chunkIndex) { in digestDataByChunks()
255 hashes[chunkIndex] = saltedDigest(md, chunk); in digestDataByChunks()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java506 int chunkIndex = 0; in computeOneMbChunkContentDigests() local
530 throw new IOException("Failed to read chunk #" + chunkIndex, e); in computeOneMbChunkContentDigests()
539 5 + chunkIndex * expectedDigestSizeBytes, in computeOneMbChunkContentDigests()
549 chunkIndex++; in computeOneMbChunkContentDigests()
615 private int getOffset(int chunkIndex) { in getOffset() argument
616 return 1 + 4 + chunkIndex * digestOutputSize; in getOffset()
669 chunkDigest.getOffset(chunk.chunkIndex), in run()
758 private final int chunkIndex; field in ApkSigningBlockUtils.ChunkSupplier.Chunk
762 private Chunk(int chunkIndex, ByteBuffer data, int size) { in Chunk() argument
763 this.chunkIndex = chunkIndex; in Chunk()