Home
last modified time | relevance | path

Searched refs:forApi (Results 1 – 17 of 17) sorted by relevance

/external/smali/dexlib2/src/test/java/org/jf/dexlib2/writer/
DDexWriterTest.java75 … DexPool.writeTo(dataStore, new ImmutableDexFile(Opcodes.forApi(19), ImmutableSet.of(classDef))); in testAnnotationElementOrder()
80 DexBackedDexFile dexFile = new DexBackedDexFile(Opcodes.forApi(15), dataStore.getData()); in testAnnotationElementOrder()
115 … DexPool.writeTo(dataStore, new ImmutableDexFile(Opcodes.forApi(19), ImmutableSet.of(classDef))); in testEncodedAnnotationElementOrder()
120 DexBackedDexFile dexFile = new DexBackedDexFile(Opcodes.forApi(15), dataStore.getData()); in testEncodedAnnotationElementOrder()
DJumboStringConversionTest.java65 DexBuilder dexBuilder = DexBuilder.makeDexBuilder(Opcodes.forApi(15)); in testJumboStringConversion()
95 DexBackedDexFile dexFile = new DexBackedDexFile(Opcodes.forApi(15), dexStore.getData()); in testJumboStringConversion()
125 DexBuilder dexBuilder = DexBuilder.makeDexBuilder(Opcodes.forApi(15)); in testJumboStringConversion_NonMethodBuilder()
192 DexBackedDexFile dexFile = new DexBackedDexFile(Opcodes.forApi(15), dexStore.getData()); in testJumboStringConversion_NonMethodBuilder()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/
DImmutableDexFile.java51 this.opcodes = Opcodes.forApi(19); in ImmutableDexFile()
57 this.opcodes = Opcodes.forApi(19); in ImmutableDexFile()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/
DDexFileFactory.java61 return loadDexFile(new File(path), "classes.dex", Opcodes.forApi(api, experimental)); in loadDexFile()
72 return loadDexFile(dexFile, null, Opcodes.forApi(api, experimental)); in loadDexFile()
78 return loadDexFile(dexFile, dexEntry, Opcodes.forApi(api, experimental)); in loadDexFile()
DOpcodes.java54 public static Opcodes forApi(int api) { in forApi() method in Opcodes
59 public static Opcodes forApi(int api, boolean experimental) { in forApi() method in Opcodes
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
DCustomMethodInlineTableTest.java70 DexFile dexFile = new ImmutableDexFile(Opcodes.forApi(19), ImmutableList.of(classDef)); in testCustomMethodInlineTable_Virtual()
97 DexFile dexFile = new ImmutableDexFile(Opcodes.forApi(19), ImmutableList.of(classDef)); in testCustomMethodInlineTable_Static()
124 DexFile dexFile = new ImmutableDexFile(Opcodes.forApi(19), ImmutableList.of(classDef)); in testCustomMethodInlineTable_Direct()
DCommonSuperclassTest.java57 classPath = new ClassPath(new DexClassProvider(new ImmutableDexFile(Opcodes.forApi(19), in CommonSuperclassTest()
/external/smali/smali/src/main/java/org/jf/smali/
DSmaliTestUtils.java60 DexBuilder dexBuilder = DexBuilder.makeDexBuilder(Opcodes.forApi(apiLevel, experimental)); in compileSmali()
97 …DexBackedDexFile dexFile = new DexBackedDexFile(Opcodes.forApi(apiLevel, experimental), dataStore.… in compileSmali()
Dmain.java119 Opcodes.forApi(options.apiLevel, options.experimental)); in run()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/
DSuperclassChainTest.java60 …classPath = new ClassPath(new DexClassProvider(new ImmutableDexFile(Opcodes.forApi(19), classes))); in testGetSuperclassChain()
91 …classPath = new ClassPath(new DexClassProvider(new ImmutableDexFile(Opcodes.forApi(19), classes))); in testGetSuperclassChain_Unresolved()
/external/smali/baksmali/src/test/java/org/jf/baksmali/
DDexTest.java72 return new DexBackedDexFile(Opcodes.forApi(options.apiLevel), inputBytes); in getInputDexFile()
/external/smali/baksmali/src/main/java/org/jf/baksmali/
Ddump.java55 RawDexFile rawDexFile = new RawDexFile(Opcodes.forApi(apiLevel), dexFile); in dump()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/pool/
DDexPool.java62 return makeDexPool(Opcodes.forApi(20)); in makeDexPool()
68 return makeDexPool(Opcodes.forApi(api)); in makeDexPool()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/
DDexBuilder.java65 return new DexBuilder(Opcodes.forApi(20), context); in makeDexBuilder()
72 return new DexBuilder(Opcodes.forApi(api), context); in makeDexBuilder()
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/
DClassPath.java117 return new DexClassProvider(new ImmutableDexFile(Opcodes.forApi(19), ImmutableSet.of( in getBasicClasses()
/external/smali/smali/src/main/antlr/
DsmaliParser.g260 private Opcodes opcodes = Opcodes.forApi(apiLevel);
DsmaliTreeWalker.g80 private Opcodes opcodes = Opcodes.forApi(apiLevel);