Home
last modified time | relevance | path

Searched refs:dexFile (Results 1 – 7 of 7) 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/hostsidetests/appsecurity/test-apps/UsesLibraryApp/src/com/android/cts/useslibrary/
DUsesLibraryTest.java42 DexFile dexFile = getDexFileFromDexElement(dexElement); in testUsesLibrary() local
43 assertTrue(isDexFileBackedByOatFile(dexFile)); in testUsesLibrary()
54 DexFile dexFile = getDexFileFromDexElement(dexElements[1]); in testMissingLibrary() local
55 String testApkPath = dexFile.getName(); in testMissingLibrary()
103 private boolean isDexFileBackedByOatFile(DexFile dexFile) throws Exception { in isDexFileBackedByOatFile() argument
106 return (boolean) isBackedByOatFileMethod.invoke(dexFile); in isDexFileBackedByOatFile()
/cts/tests/core/runner/src/com/android/cts/core/runner/
DTestClassFinder.java59 DexFile dexFile = null; in getClasses() local
61 dexFile = new DexFile(apkPath); in getClasses()
62 Enumeration<String> apkClassNames = dexFile.entries(); in getClasses()
70 if (dexFile != null) { in getClasses()
72 dexFile.close(); in getClasses()
/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.java511 BuildStep.BuildFile dexFile = new BuildStep.BuildFile(
514 DFHBuildStep buildStep = new DFHBuildStep(inputFile, dexFile);
518 JarBuildStep jarBuildStep = new JarBuildStep(dexFile,
530 BuildStep.BuildFile dexFile = new BuildStep.BuildFile(
533 DasmBuildStep buildStep = new DasmBuildStep(inputFile, dexFile);
538 JarBuildStep jarBuildStep = new JarBuildStep(dexFile,
/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()