Home
last modified time | relevance | path

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

/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zip/
DAlignmentRules.java35 public static AlignmentRule constant(int alignment) { in constant()
49 public static AlignmentRule constantForSuffix(@Nonnull String suffix, int alignment) { in constantForSuffix()
53 return (String path) -> path.endsWith(suffix) ? alignment : AlignmentRule.NO_ALIGNMENT; in constantForSuffix()
65 public static AlignmentRule compose(@Nonnull AlignmentRule... rules) { in compose()
67 for (AlignmentRule r : rules) { in compose()
69 if (align != AlignmentRule.NO_ALIGNMENT) { in compose()
74 return AlignmentRule.NO_ALIGNMENT; in compose()
DZFileOptions.java51 private AlignmentRule alignmentRule;
138 public AlignmentRule getAlignmentRule() { in getAlignmentRule()
147 public ZFileOptions setAlignmentRule(@Nonnull AlignmentRule alignmentRule) { in setAlignmentRule()
DAlignmentRule.java24 public interface AlignmentRule { interface
DZFile.java337 private final AlignmentRule alignmentRule;
1947 return AlignmentRule.NO_ALIGNMENT; in chooseAlignment()
/tools/apkzlib/src/main/java/com/android/tools/build/apkzlib/zfile/
DZFiles.java21 import com.android.tools.build.apkzlib.zip.AlignmentRule;
42 private static final AlignmentRule APK_DEFAULT_RULE = AlignmentRules.constant(4);
DApkZFileCreator.java19 import com.android.tools.build.apkzlib.zip.AlignmentRule;
48 private static final AlignmentRule SO_RULE =
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/sign/
DFullApkSignTest.java24 import com.android.tools.build.apkzlib.zip.AlignmentRule;
60 options.setAlignmentRule(AlignmentRules.constant(AlignmentRule.NO_ALIGNMENT)); in testSignature()
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DAlignmentTest.java41 private static final AlignmentRule SUFFIX_ALIGNMENT_RULES =
DZFileTest.java762 options.setAlignmentRule(AlignmentRules.constant(AlignmentRule.NO_ALIGNMENT)); in extraDirectoryOffsetNonEmptyFile()