Home
last modified time | relevance | path

Searched refs:dexFile (Results 1 – 10 of 10) sorted by relevance

/cts/tools/dex-tools/test/dex/reader/
DDexFileReaderTests.java55 DexFile dexFile = javaToDexUtil.getFrom(A); in testA() local
56 assertEquals(1, dexFile.getDefinedClasses().size()); in testA()
58 DexClass class1 = getClass(dexFile, "La/b/c/A;"); in testA()
59 System.out.println(dexFile); in testA()
83 DexFile dexFile = javaToDexUtil.getFrom(T0); in testT0() local
84 assertEquals(1, dexFile.getDefinedClasses().size()); in testT0()
85 DexClass clazz = dexFile.getDefinedClasses().get(0); in testT0()
135 DexFile dexFile = javaToDexUtil.getFrom(toSet(T1, T0), toStringSet(T1)); in testT1() local
136 assertEquals(1, dexFile.getDefinedClasses().size()); in testT1()
137 DexClass clazz = dexFile.getDefinedClasses().get(0); in testT1()
[all …]
DLargeDexTests.java45 DexFile dexFile = javaToDexUtil.getFrom(source); in testManyFields() local
46 assertEquals(1, dexFile.getDefinedClasses().size()); in testManyFields()
47 DexClass clazz = dexFile.getDefinedClasses().get(0); in testManyFields()
/cts/tools/signature-tools/test/signature/converter/dex/
DDexUtilTest.java73 DexFile dexFile = dexUtil.getFrom(new JavaSource("A", "public class A{}")); in hasGenericSignatureTest() local
74 DexClass dexClass = getClass(dexFile, "LA;"); in hasGenericSignatureTest()
77 dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}")); in hasGenericSignatureTest()
78 dexClass = getClass(dexFile, "LB;"); in hasGenericSignatureTest()
84 DexFile dexFile = dexUtil.getFrom(new JavaSource("A", "public class A{}")); in getGenericSignatureTest() local
85 DexClass dexClass = getClass(dexFile, "LA;"); in getGenericSignatureTest()
88 dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}")); in getGenericSignatureTest()
89 dexClass = getClass(dexFile, "LB;"); in getGenericSignatureTest()
DDexTestConverter.java42 DexFile dexFile = toDexUtil.getAllFrom(sources); in convert() local
43 return converter.convertApi("Dex Tests", Collections.singleton(dexFile), visibility); in convert()
DGenericSignatureParserTest.java53 DexFile dexFile = dexUtil.getFrom(new JavaSource("B", "public class B<T>{}")); in getGenericSignatureTest() local
54 DexClass dexClass = getClass(dexFile, "LB;"); in getGenericSignatureTest()
/cts/tools/dex-tools/test/dex/reader/util/
DJavaSourceToDexUtil.java75 DexFile dexFile = new DexFile(); in convertToDexCode() local
79 dexFile.add(classDefItem); in convertToDexCode()
82 return dexFile.toDex(null, false); in convertToDexCode()
/cts/tools/vm-tests-tf/src/util/build/
DBuildDalvikSuite.java508 BuildStep.BuildFile dexFile = new BuildStep.BuildFile(
511 DFHBuildStep buildStep = new DFHBuildStep(inputFile, dexFile);
515 JarBuildStep jarBuildStep = new JarBuildStep(dexFile,
527 BuildStep.BuildFile dexFile = new BuildStep.BuildFile(
530 DasmBuildStep buildStep = new DasmBuildStep(inputFile, dexFile);
535 JarBuildStep jarBuildStep = new JarBuildStep(dexFile,
/cts/tools/signature-tools/src/signature/converter/dex/
DDexUtil.java587 for (String dexFile : fileNames) { in getDexFiles()
589 DexBuffer dexBuffer = new DexBuffer(dexFile); in getDexFiles()
DDexToSigConverter.java153 for (DexFile dexFile : parsedFiles) { in convertPackages()
154 List<DexClass> definedClasses = dexFile.getDefinedClasses(); in convertPackages()
/cts/tools/dasm/src/dasm/
DDAsm.java89 DexFile dexFile; field in DAsm
332 dexFile.add(classDef); in endHeader()
1582 dexFile.writeTo(outp, human_readable, true); in write()
1610 dexFile = new DexFile(dexOptions); in readD()