Home
last modified time | relevance | path

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

/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java76 public static final int ANDROID_COMMON_PAGE_ALIGNMENT_BYTES = 4096; field in ApkSigningBlockUtils
195 if ((beforeApkSigningBlock.size() % ANDROID_COMMON_PAGE_ALIGNMENT_BYTES != 0)) { in verifyIntegrity()
203 if (signingBlockSize % ANDROID_COMMON_PAGE_ALIGNMENT_BYTES != 0) { in verifyIntegrity()
958 (beforeCentralDir.size() % ANDROID_COMMON_PAGE_ALIGNMENT_BYTES != 0)) { in generateApkSigningBlockPadding()
960 ANDROID_COMMON_PAGE_ALIGNMENT_BYTES - in generateApkSigningBlockPadding()
961 beforeCentralDir.size() % ANDROID_COMMON_PAGE_ALIGNMENT_BYTES); in generateApkSigningBlockPadding()
1009 if (resultSize % ANDROID_COMMON_PAGE_ALIGNMENT_BYTES != 0) { in generateApkSigningBlock()
1010 int padding = ANDROID_COMMON_PAGE_ALIGNMENT_BYTES - in generateApkSigningBlock()
1011 (resultSize % ANDROID_COMMON_PAGE_ALIGNMENT_BYTES); in generateApkSigningBlock()
1013 padding += ANDROID_COMMON_PAGE_ALIGNMENT_BYTES; in generateApkSigningBlock()
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java82 private static final short ANDROID_COMMON_PAGE_ALIGNMENT_BYTES = 4096; field in ApkSigner
678 return (entry.getName().endsWith(".so")) ? ANDROID_COMMON_PAGE_ALIGNMENT_BYTES : 4; in getInputJarEntryDataAlignmentMultiple()