Home
last modified time | relevance | path

Searched refs:artVersion (Results 1 – 3 of 3) sorted by relevance

/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DOpcodes.java52 public final int artVersion; field in Opcodes
63 public static Opcodes forArtVersion(int artVersion) { in forArtVersion() argument
64 return new Opcodes(NO_VERSION, artVersion); in forArtVersion()
76 private Opcodes(int api, int artVersion) { in Opcodes() argument
81 this.artVersion = mapApiToArtVersion(api); in Opcodes()
82 } else if (artVersion >= 0 && artVersion < 39) { in Opcodes()
83 this.api = mapArtVersionToApi(artVersion); in Opcodes()
84 this.artVersion = artVersion; in Opcodes()
87 this.artVersion = artVersion; in Opcodes()
95 version = this.artVersion; in Opcodes()
[all …]
DVersionMap.java37 public static int mapArtVersionToApi(int artVersion) { in mapArtVersionToApi() argument
41 if (artVersion >= 87) { in mapArtVersionToApi()
44 if (artVersion >= 79) { in mapArtVersionToApi()
47 if (artVersion >= 64) { in mapArtVersionToApi()
50 if (artVersion >= 45) { in mapArtVersionToApi()
53 if (artVersion >= 39) { in mapArtVersionToApi()
DOpcode.java399 private static List<VersionConstraint> firstArtVersion(int opcodeValue, int artVersion) { in firstArtVersion() argument
400 …ewArrayList(new VersionConstraint(Range.openClosed(0, 0), Range.atLeast(artVersion), opcodeValue)); in firstArtVersion()
403 private static List<VersionConstraint> lastArtVersion(int opcodeValue, int artVersion) { in lastArtVersion() argument
404 …newArrayList(new VersionConstraint(Range.openClosed(0, 0), Range.atMost(artVersion), opcodeValue)); in lastArtVersion()