Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtilsLite.java137 int totalSize = (int) (apkSigBlockSizeInFooter + 8); in findApkSigningBlock() local
138 long apkSigBlockOffset = centralDirStartOffset - totalSize; in findApkSigningBlock()
151 return new ApkSigningBlock(apkSigBlockOffset, apk.slice(apkSigBlockOffset, totalSize)); in findApkSigningBlock()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileTest.java320 int totalSize = (int) zipFile.length();
334 assertTrue(newTotalSize + " == " + totalSize, newTotalSize == totalSize);
360 int totalSize = (int) zipFile.length();
375 assertTrue(newTotalSize + " < " + totalSize, newTotalSize < totalSize);
402 int totalSize = (int) zipFile.length();
426 assertTrue(newTotalSize + " > " + totalSize, newTotalSize > totalSize);
453 int totalSize = (int) zipFile.length();
477 assertTrue(newTotalSize + " > " + totalSize, newTotalSize > totalSize);
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DExtraField.java357 public AlignmentSegment(int alignment, int totalSize) { in AlignmentSegment() argument
359 Preconditions.checkArgument(totalSize >= MINIMUM_SIZE, "totalSize < MINIMUM_SIZE"); in AlignmentSegment()
366 padding = totalSize - MINIMUM_SIZE; in AlignmentSegment()
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
DSuperFloppyFormatter.java366 final int totalSize = bps * nbTotalSectors; in rootDirectorySize() local
367 if (totalSize >= MAX_DIRECTORY * 5 * 32) { in rootDirectorySize()
370 return totalSize / (5 * 32); in rootDirectorySize()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/extras/
DStreamAdapter.kt27 val totalSize: Long = 0, constant in trebuchet.extras.InputStreamAdapter
44 progressCallback?.let { it.invoke(totalRead, totalSize) } in next()