Home
last modified time | relevance | path

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

/external/google-smali/dexlib2/src/main/java/com/android/tools/smali/dexlib2/
DVersionMap.java64 public static int mapArtVersionToApi(int artVersion) { in mapArtVersionToApi() argument
65 if (artVersion >= 170) { in mapArtVersionToApi()
68 if (artVersion >= 138) { in mapArtVersionToApi()
71 if (artVersion >= 131) { in mapArtVersionToApi()
74 if (artVersion >= 124) { in mapArtVersionToApi()
77 if (artVersion >= 79) { in mapArtVersionToApi()
80 if (artVersion >= 64) { in mapArtVersionToApi()
83 if (artVersion >= 45) { in mapArtVersionToApi()
86 if (artVersion >= 39) { in mapArtVersionToApi()
DOpcodes.java51 public final int artVersion; field in Opcodes
62 public static Opcodes forArtVersion(int artVersion) { in forArtVersion() argument
63 return new Opcodes(NO_VERSION, artVersion); in forArtVersion()
84 private Opcodes(int api, int artVersion) { in Opcodes() argument
87 this.artVersion = mapApiToArtVersion(api); in Opcodes()
88 } else if (artVersion >= 0 && artVersion < 39) { in Opcodes()
89 this.api = mapArtVersionToApi(artVersion); in Opcodes()
90 this.artVersion = artVersion; in Opcodes()
93 this.artVersion = artVersion; in Opcodes()
101 version = this.artVersion; in Opcodes()
[all …]
DOpcode.java408 private static List<VersionConstraint> firstArtVersion(int opcodeValue, int artVersion) { in firstArtVersion() argument
409 …ewArrayList(new VersionConstraint(Range.openClosed(0, 0), Range.atLeast(artVersion), opcodeValue)); in firstArtVersion()
412 private static List<VersionConstraint> lastArtVersion(int opcodeValue, int artVersion) { in lastArtVersion() argument
413 …newArrayList(new VersionConstraint(Range.openClosed(0, 0), Range.atMost(artVersion), opcodeValue)); in lastArtVersion()
/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()