Home
last modified time | relevance | path

Searched refs:getMinSdkVersionForCodename (Results 1 – 2 of 2) 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()
/tools/apksig/src/main/java/com/android/apksig/apk/
DApkUtils.java363 getMinSdkVersionForCodename( in getMinSdkVersionFromBinaryAndroidManifest()
442 static int getMinSdkVersionForCodename(String codename) throws CodenameMinSdkVersionException { in getMinSdkVersionForCodename() method in ApkUtils