Lines Matching defs:files

49  * class methods. Secondary dex files named classes2.dex, classes3.dex... found
55 * nothing on newer versions of the platform which provide built-in support for secondary dex files.
82 * Patches the application context class loader by appending extra dex files
159 List<File> files = MultiDexExtractor.load(context, applicationInfo, dexDir, false);
160 if (checkValidZipFiles(files)) {
161 installSecondaryDexes(loader, dexDir, files);
163 Log.w(TAG, "Files were not valid zip files. Forcing a reload.");
165 files = MultiDexExtractor.load(context, applicationInfo, dexDir, true);
167 if (checkValidZipFiles(files)) {
168 installSecondaryDexes(loader, dexDir, files);
171 throw new RuntimeException("Zip files were not valid.");
237 private static void installSecondaryDexes(ClassLoader loader, File dexDir, List<File> files)
240 if (!files.isEmpty()) {
242 V19.install(loader, files, dexDir);
244 V14.install(loader, files, dexDir);
246 V4.install(loader, files);
252 * Returns whether all files in the list are valid zip files. If {@code files} is empty, then
255 private static boolean checkValidZipFiles(List<File> files) {
256 for (File file : files) {
344 File[] files = dexDir.listFiles();
345 if (files == null) {
349 for (File oldFile : files) {
418 Object dexPathList, ArrayList<File> files, File optimizedDirectory,
426 return (Object[]) makeDexElements.invoke(dexPathList, files, optimizedDirectory,
456 Object dexPathList, ArrayList<File> files, File optimizedDirectory)
462 return (Object[]) makeDexElements.invoke(dexPathList, files, optimizedDirectory);