Searched refs:ApkUtils (Results 1 – 11 of 11) 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; 213 ApkUtils.ZipSections inputZipSections; in sign() 215 inputZipSections = ApkUtils.findZipSections(inputApk); in sign() 222 ApkUtils.ApkSigningBlock apkSigningBlockInfo = in sign() 223 ApkUtils.findApkSigningBlock(inputApk, inputZipSections); in sign() 745 ApkUtils.ZipSections apkSections) throws IOException, ApkFormatException { in getZipCentralDirectory() 758 ApkUtils.ZipSections apkSections) throws ApkFormatException { in parseZipCentralDirectory() 857 return ApkUtils.getMinSdkVersionFromBinaryAndroidManifest(androidManifest); in getMinSdkVersionFromApk()
|
D | ApkVerifier.java | 20 import com.android.apksig.apk.ApkUtils; 161 ApkUtils.ZipSections zipSections; in verify() 163 zipSections = ApkUtils.findZipSections(apk); in verify() 180 ApkUtils.getMinSdkVersionFromBinaryAndroidManifest(androidManifest.slice()); in verify() 429 DataSource apk, ApkUtils.ZipSections zipSections) in getAndroidManifestFromApk()
|
D | DefaultApkSignerEngine.java | 20 import com.android.apksig.apk.ApkUtils; 410 || !ApkUtils.ANDROID_MANIFEST_ZIP_ENTRY_NAME.equals(entryName); in isDebuggable() 538 && (ApkUtils.ANDROID_MANIFEST_ZIP_ENTRY_NAME.equals(entryName))) { in outputJarEntry() 950 + ApkUtils.ANDROID_MANIFEST_ZIP_ENTRY_NAME in isOutputApkDebuggable() 960 ApkUtils.getDebuggableFromBinaryAndroidManifest( in isOutputApkDebuggable()
|
D | SigningCertificateLineage.java | 22 import com.android.apksig.apk.ApkUtils; 190 ApkUtils.ZipSections zipSections = ApkUtils.findZipSections(apk); in readFromApkDataSource()
|
/tools/apksig/src/main/java/com/android/apksig/internal/apk/ |
D | ApkSigningBlockUtils.java | 23 import com.android.apksig.apk.ApkUtils; 914 DataSource apk, ApkUtils.ZipSections zipSections, int blockId, Result result) in findSignature() 920 ApkUtils.ApkSigningBlock apkSigningBlockInfo = in findSignature() 921 ApkUtils.findApkSigningBlock(apk, zipSections); in findSignature()
|
/tools/apksig/src/test/java/com/android/apksig/ |
D | ApkSignerTest.java | 24 import com.android.apksig.apk.ApkUtils; 863 ApkUtils.ZipSections zipSections = ApkUtils.findZipSections(apk); in getRSAPublicKeyFromSigningBlock()
|
/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/v2/ |
D | V2SchemeVerifier.java | 21 import com.android.apksig.apk.ApkUtils; 93 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; 99 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; 108 ApkUtils.ZipSections apkSections, in verify() 1762 ApkUtils.ZipSections apkSections) in parseZipCentralDirectory()
|