Home
last modified time | relevance | path

Searched refs:dexVersion (Results 1 – 10 of 10) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DDexUtil.java86 int dexVersion = HeaderItem.getVersion(buf, offset); in verifyDexHeader() local
87 if (dexVersion == -1) { in verifyDexHeader()
95 if (!HeaderItem.isSupportedDexVersion(dexVersion)) { in verifyDexHeader()
96 … throw new UnsupportedFile(String.format("Dex version %03d is not supported", dexVersion)); in verifyDexHeader()
108 return dexVersion; in verifyDexHeader()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/util/
DDexUtil.java86 int dexVersion = HeaderItem.getVersion(buf, offset); in verifyDexHeader() local
87 if (dexVersion == -1) { in verifyDexHeader()
95 if (!HeaderItem.isSupportedDexVersion(dexVersion)) { in verifyDexHeader()
96 … throw new UnsupportedFile(String.format("Dex version %03d is not supported", dexVersion)); in verifyDexHeader()
108 return dexVersion; in verifyDexHeader()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
DHeaderItem.java235 public static byte[] getMagicForDexVersion(int dexVersion) {
238 if (dexVersion < 0 || dexVersion > 999) {
243 int digit = dexVersion % 10;
245 dexVersion /= 10;
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DVersionMap.java37 public static int mapDexVersionToApi(int dexVersion) { in mapDexVersionToApi() argument
38 switch (dexVersion) { in mapDexVersionToApi()
DOpcodes.java68 public static Opcodes forDexVersion(int dexVersion) { in forDexVersion() argument
69 int api = VersionMap.mapDexVersionToApi(dexVersion); in forDexVersion()
71 throw new RuntimeException("Unsupported dex version " + dexVersion); in forDexVersion()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/raw/
DHeaderItem.java243 public static byte[] getMagicForDexVersion(int dexVersion) {
246 if (dexVersion < 0 || dexVersion > 999) {
251 int digit = dexVersion % 10;
253 dexVersion /= 10;
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/
DVersionMap.java36 public static int mapDexVersionToApi(int dexVersion) { in mapDexVersionToApi() argument
37 switch (dexVersion) { in mapDexVersionToApi()
DOpcodes.java67 public static Opcodes forDexVersion(int dexVersion) { in forDexVersion() argument
68 int api = VersionMap.mapDexVersionToApi(dexVersion); in forDexVersion()
70 throw new RuntimeException("Unsupported dex version " + dexVersion); in forDexVersion()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/
DDexBackedDexFile.java77 int dexVersion; in DexBackedDexFile() local
79 dexVersion = DexUtil.verifyDexHeader(buf, offset); in DexBackedDexFile()
81 dexVersion = HeaderItem.getVersion(buf, offset); in DexBackedDexFile()
85 this.opcodes = Opcodes.forDexVersion(dexVersion); in DexBackedDexFile()
/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/dexbacked/
DDexBackedDexFile.java96 int dexVersion = getVersion(buf, offset, verifyMagic); in DexBackedDexFile() local
99 this.opcodes = getDefaultOpcodes(dexVersion); in DexBackedDexFile()
132 int dexVersion = getVersion(headerBuf, offset, verifyMagic); in DexBackedDexFile() local
135 this.opcodes = getDefaultOpcodes(dexVersion); in DexBackedDexFile()