Home
last modified time | relevance | path

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

/tools/apksig/src/test/java/com/android/apksig/apk/
DApkUtilsTest.java42 assertEquals(1, ApkUtils.getMinSdkVersionForCodename("AAAA")); in testGetMinSdkVersionForValidCodename()
43 assertEquals(2, ApkUtils.getMinSdkVersionForCodename("CUPCAKE")); in testGetMinSdkVersionForValidCodename()
44 assertEquals(7, ApkUtils.getMinSdkVersionForCodename("FROYO")); in testGetMinSdkVersionForValidCodename()
45 assertEquals(23, ApkUtils.getMinSdkVersionForCodename("N")); in testGetMinSdkVersionForValidCodename()
46 assertEquals(23, ApkUtils.getMinSdkVersionForCodename("NMR1")); in testGetMinSdkVersionForValidCodename()
47 assertEquals(25, ApkUtils.getMinSdkVersionForCodename("OMG")); in testGetMinSdkVersionForValidCodename()
49 assertEquals(27, ApkUtils.getMinSdkVersionForCodename("QQQ")); in testGetMinSdkVersionForValidCodename()
54 ApkUtils.getMinSdkVersionForCodename(""); in testGetMinSdkVersionForEmptyCodename()
59 ApkUtils.getMinSdkVersionForCodename("1ABC"); in testGetMinSdkVersionForUnexpectedCodename()
65 assertEquals(23, ApkUtils.getMinSdkVersionFromBinaryAndroidManifest(manifest)); in testGetMinSdkVersionFromBinaryAndroidManifest()
[all …]
/tools/apksig/src/main/java/com/android/apksig/
DApkSigner.java21 import com.android.apksig.apk.ApkUtils;
210 ApkUtils.ZipSections inputZipSections; in sign()
212 inputZipSections = ApkUtils.findZipSections(inputApk); in sign()
219 ApkUtils.ApkSigningBlock apkSigningBlockInfo = in sign()
220 ApkUtils.findApkSigningBlock(inputApk, inputZipSections); in sign()
665 ApkUtils.ZipSections apkSections) throws IOException, ApkFormatException { in getZipCentralDirectory()
678 ApkUtils.ZipSections apkSections) throws ApkFormatException { in parseZipCentralDirectory()
748 return ApkUtils.getMinSdkVersionFromBinaryAndroidManifest(androidManifest); in getMinSdkVersionFromApk()
DApkVerifier.java20 import com.android.apksig.apk.ApkUtils;
159 ApkUtils.ZipSections zipSections; in verify()
161 zipSections = ApkUtils.findZipSections(apk); in verify()
178 ApkUtils.getMinSdkVersionFromBinaryAndroidManifest(androidManifest.slice()); in verify()
405 DataSource apk, ApkUtils.ZipSections zipSections) in getAndroidManifestFromApk()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java37 public abstract class ApkUtils { class
44 private ApkUtils() {} in ApkUtils() method in ApkUtils
/tools/apksig/src/main/java/com/android/apksig/internal/apk/
DApkSigningBlockUtils.java23 import com.android.apksig.apk.ApkUtils;
628 DataSource apk, ApkUtils.ZipSections zipSections, int blockId, Result result) in findSignature()
634 ApkUtils.ApkSigningBlock apkSigningBlockInfo = in findSignature()
635 ApkUtils.findApkSigningBlock(apk, zipSections); in findSignature()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v2/
DV2SchemeVerifier.java21 import com.android.apksig.apk.ApkUtils;
91 ApkUtils.ZipSections zipSections, in verify()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/
DV3SchemeVerifier.java25 import com.android.apksig.apk.ApkUtils;
98 ApkUtils.ZipSections zipSections, in verify()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java22 import com.android.apksig.apk.ApkUtils;
106 ApkUtils.ZipSections apkSections, in verify()
1741 ApkUtils.ZipSections apkSections) in parseZipCentralDirectory()