Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/util/
DVerityTreeBuilder.java169 long totalOutput = divideRoundup(src.size(), CHUNK_SIZE) * digestSize; in generateVerityTree()
197 long chunkCount = divideRoundup(dataSize, CHUNK_SIZE); in calculateLevelOffset()
198 long size = CHUNK_SIZE * divideRoundup(chunkCount * digestSize, CHUNK_SIZE); in calculateLevelOffset()
224 final int chunks = (int) divideRoundup(size, CHUNK_SIZE); in digestDataByChunks()
241 final int bufferSizeChunks = (int) divideRoundup(readSize, CHUNK_SIZE); in digestDataByChunks()
290 private static long divideRoundup(long dividend, long divisor) { in divideRoundup() method in VerityTreeBuilder