Home
last modified time | relevance | path

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

/cts/hostsidetests/compilation/src/android/compilation/cts/
DUtils.java172 public static void dumpContainsDexFile(String dump, String dexFile) { in dumpContainsDexFile() argument
173 assertThat(dump).containsMatch(dexFileToPattern(dexFile)); in dumpContainsDexFile()
176 public static void dumpDoesNotContainDexFile(String dump, String dexFile) { in dumpDoesNotContainDexFile() argument
177 assertThat(dump).doesNotContainMatch(dexFileToPattern(dexFile)); in dumpDoesNotContainDexFile()
188 private static Pattern dexFileToPattern(String dexFile) { in dexFileToPattern() argument
189 return Pattern.compile(String.format("[\\s/](%s)\\s?", Pattern.quote(dexFile))); in dexFileToPattern()
/cts/tools/vm-tests-tf/build/src/util/build/
DBuildDalvikSuite.java253 File dexFile = null; in generateBuildStepForDependant() local
259 dexFile = new File(OUTPUT_FOLDER, fileName + ".dex"); in generateBuildStepForDependant()
261 Collections.singletonList(smaliFile.getAbsolutePath()), dexFile); in generateBuildStepForDependant()
267 dexFile = new File(OUTPUT_FOLDER, fileName + ".dex"); in generateBuildStepForDependant()
268 buildStep = new SmaliBuildStep(inputFiles, dexFile); in generateBuildStepForDependant()
274 JarBuildStep jarBuildStep = new JarBuildStep(new BuildStep.BuildFile(dexFile), in generateBuildStepForDependant()
/cts/hostsidetests/classloaders/useslibrary/app/src/com/android/cts/useslibrary/
DUsesLibraryTest.java122 private boolean isDexFileBackedByOatFile(DexFile dexFile) throws Exception { in isDexFileBackedByOatFile() argument
125 return (boolean) isBackedByOatFileMethod.invoke(dexFile); in isDexFileBackedByOatFile()
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DDexParser.java113 DexBackedDexFile dexFile = null; in parse() local
118 dexFile = DexFileFactory.loadDexFile(getFile().getAbsoluteFile(), Opcodes.getDefault()); in parse()
121 for (DexBackedClassDef classDef : dexFile.getClasses()) { in parse()
171 dexFile.getReferences(ReferenceType.FIELD) in parse()
177 dexFile.getReferences(ReferenceType.METHOD) in parse()
DTestSuiteParser.java207 DexFile dexFile = null; in parseApkTestCase() local
213 dexFile = DexFileFactory.loadDexFile(apkPath, Opcodes.getDefault()); in parseApkTestCase()
216 for (ClassDef classDef : dexFile.getClasses()) { in parseApkTestCase()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DCtsApiCoverage.java460 DexFile dexFile = null;
462 dexFile = DexFileFactory.loadDexFile(testSource, Opcodes.forApi(api));
469 for (ClassDef classDef : dexFile.getClasses()) {
DTestCaseReport.java207 DexFile dexFile = null; in parseApkTestCase() local
210 dexFile = DexFileFactory.loadDexFile(apkPath, Opcodes.forApi(api)); in parseApkTestCase()
218 for (ClassDef classDef : dexFile.getClasses()) { in parseApkTestCase()