private DexGroup(File... dexFiles) throws IOException { if (dexFiles == null || dexFiles.length == 0) { throw new IllegalArgumentException("dexFiles is null or empty."); } this.dexes = new Dex[dexFiles.length]; for (int i = 0; i < dexFiles.length; ++i) { this.dexes[i] = new Dex(dexFiles[i]); } }
private DexGroup(List<File> dexFileList) throws IOException { if (dexFileList == null || dexFileList.isEmpty()) { throw new IllegalArgumentException("dexFileList is null or empty."); } this.dexes = new Dex[dexFileList.size()]; for (int i = 0; i < this.dexes.length; ++i) { this.dexes[i] = new Dex(dexFileList.get(i)); } }
public DexPatchApplier(File oldDexIn, File patchFileIn) throws IOException { this(new Dex(oldDexIn), new DexPatchFile(patchFileIn)); }
public DexPatchApplier(InputStream oldDexIn, InputStream patchFileIn) throws IOException { this(new Dex(oldDexIn), new DexPatchFile(patchFileIn)); }
public DexPatchApplier( Dex oldDexIn, DexPatchFile patchFileIn ) { this.oldDex = oldDexIn; this.patchFile = patchFileIn; this.patchedDex = new Dex(patchFileIn.getPatchedDexSize()); this.oldToPatchedIndexMap = new SparseIndexMap(); }
private DexGroup(File... dexFiles) throws IOException { if (dexFiles == null || dexFiles.length == 0) { throw new IllegalArgumentException("dexFiles is null or empty."); } this.dexes = new Dex[dexFiles.length]; for (int i = 0; i < dexFiles.length; ++i) { this.dexes[i] = new Dex(dexFiles[i]); } }
private DexGroup(List<File> dexFileList) throws IOException { if (dexFileList == null || dexFileList.isEmpty()) { throw new IllegalArgumentException("dexFileList is null or empty."); } this.dexes = new Dex[dexFileList.size()]; for (int i = 0; i < this.dexes.length; ++i) { this.dexes[i] = new Dex(dexFileList.get(i)); } }
public DexPatchApplier(InputStream oldDexIn, InputStream patchFileIn) throws IOException { this(new Dex(oldDexIn), new DexPatchFile(patchFileIn)); }
public DexPatchApplier(File oldDexIn, File patchFileIn) throws IOException { this(new Dex(oldDexIn), new DexPatchFile(patchFileIn)); }
public DexPatchApplier( Dex oldDexIn, DexPatchFile patchFileIn ) { this.oldDex = oldDexIn; this.patchFile = patchFileIn; this.patchedDex = new Dex(patchFileIn.getPatchedDexSize()); this.oldToPatchedIndexMap = new SparseIndexMap(); }