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()
85 private Opcodes(int api, int artVersion) { in Opcodes() argument
88 this.artVersion = mapApiToArtVersion(api); in Opcodes()
89 } else if (artVersion >= 0 && artVersion < 39) { in Opcodes()
90 this.api = mapArtVersionToApi(artVersion); in Opcodes()
91 this.artVersion = artVersion; in Opcodes()
94 this.artVersion = artVersion; in Opcodes()
102 version = this.artVersion; in Opcodes()
[all …]
DVersionMap.java65 public static int mapArtVersionToApi(int artVersion) { in mapArtVersionToApi() argument
67 if (artVersion >= 144) { in mapArtVersionToApi()
70 if (artVersion >= 131) { in mapArtVersionToApi()
73 if (artVersion >= 124) { in mapArtVersionToApi()
76 if (artVersion >= 79) { in mapArtVersionToApi()
79 if (artVersion >= 64) { in mapArtVersionToApi()
82 if (artVersion >= 45) { in mapArtVersionToApi()
85 if (artVersion >= 39) { in mapArtVersionToApi()
DOpcode.java409 private static List<VersionConstraint> firstArtVersion(int opcodeValue, int artVersion) { in firstArtVersion() argument
410 …ewArrayList(new VersionConstraint(Range.openClosed(0, 0), Range.atLeast(artVersion), opcodeValue)); in firstArtVersion()
413 private static List<VersionConstraint> lastArtVersion(int opcodeValue, int artVersion) { in lastArtVersion() argument
414 …newArrayList(new VersionConstraint(Range.openClosed(0, 0), Range.atMost(artVersion), opcodeValue)); in lastArtVersion()