OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:dexVersion
(Results
1 - 2
of
2
) sorted by null
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/util/
DexUtil.java
84
int
dexVersion
= HeaderItem.getVersion(buf, offset);
85
if (
dexVersion
== -1) {
93
if (!HeaderItem.isSupportedDexVersion(
dexVersion
)) {
94
throw new UnsupportedFile(String.format("Dex version %03d is not supported",
dexVersion
));
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/raw/
HeaderItem.java
244
public static byte[] getMagicForDexVersion(int
dexVersion
) {
247
if (
dexVersion
< 0 ||
dexVersion
> 999) {
248
throw new IllegalArgumentException("
dexVersion
must be within [0, 999]");
252
int digit =
dexVersion
% 10;
254
dexVersion
/= 10;
Completed in 468 milliseconds