Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
package com.mbridge.msdk.foundation.download.resource.stream;
import java.io.IOException;
/* loaded from: classes4.dex */
public interface DownloadFileOutputStream {
void close() throws IOException;
void flushAndSync() throws IOException;
void seek(long j) throws IOException, IllegalAccessException;
void setLength(long j) throws IOException, IllegalAccessException;
void write(byte[] bArr, int i, int i2) throws IOException;
}

View File

@@ -0,0 +1,53 @@
package com.mbridge.msdk.foundation.download.resource.stream;
import java.io.BufferedOutputStream;
import java.io.File;
import java.io.FileDescriptor;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.RandomAccessFile;
/* loaded from: classes4.dex */
public class FileDownloadRandomAccessDownloadFile implements DownloadFileOutputStream {
private final BufferedOutputStream bufferedOutputStream;
private final FileDescriptor fileDescriptor;
private final RandomAccessFile randomAccess;
public FileDownloadRandomAccessDownloadFile(File file) throws IOException {
RandomAccessFile randomAccessFile = new RandomAccessFile(file, "rw");
this.randomAccess = randomAccessFile;
this.fileDescriptor = randomAccessFile.getFD();
this.bufferedOutputStream = new BufferedOutputStream(new FileOutputStream(randomAccessFile.getFD()));
}
public static DownloadFileOutputStream create(File file) throws IOException {
return new FileDownloadRandomAccessDownloadFile(file);
}
@Override // com.mbridge.msdk.foundation.download.resource.stream.DownloadFileOutputStream
public void close() throws IOException {
this.bufferedOutputStream.close();
this.randomAccess.close();
}
@Override // com.mbridge.msdk.foundation.download.resource.stream.DownloadFileOutputStream
public void flushAndSync() throws IOException {
this.bufferedOutputStream.flush();
this.fileDescriptor.sync();
}
@Override // com.mbridge.msdk.foundation.download.resource.stream.DownloadFileOutputStream
public void seek(long j) throws IOException {
this.randomAccess.seek(j);
}
@Override // com.mbridge.msdk.foundation.download.resource.stream.DownloadFileOutputStream
public void setLength(long j) throws IOException {
this.randomAccess.setLength(j);
}
@Override // com.mbridge.msdk.foundation.download.resource.stream.DownloadFileOutputStream
public void write(byte[] bArr, int i, int i2) throws IOException {
this.bufferedOutputStream.write(bArr, i, i2);
}
}