Searched refs:ApkUtils (Results 1 – 8 of 8) sorted by relevance
/tools/apksig/src/test/java/com/android/apksig/apk/ |
D | ApkUtilsTest.java | 42 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/ |
D | ApkSigner.java | 21 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()
|
D | ApkVerifier.java | 20 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/ |
D | ApkUtils.java | 37 public abstract class ApkUtils { class 44 private ApkUtils() {} in ApkUtils() method in ApkUtils
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 23 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/ |
D | V2SchemeVerifier.java | 21 import com.android.apksig.apk.ApkUtils; 91 ApkUtils.ZipSections zipSections, in verify()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v3/ |
D | V3SchemeVerifier.java | 25 import com.android.apksig.apk.ApkUtils; 98 ApkUtils.ZipSections zipSections, in verify()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/ |
D | V1SchemeVerifier.java | 22 import com.android.apksig.apk.ApkUtils; 106 ApkUtils.ZipSections apkSections, in verify() 1741 ApkUtils.ZipSections apkSections) in parseZipCentralDirectory()
|