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,5 @@
package com.google.android.exoplayer2.offline;
/* loaded from: classes2.dex */
public abstract class DownloadManager {
}

View File

@@ -0,0 +1,93 @@
package com.google.android.exoplayer2.offline;
import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;
import com.facebook.internal.security.CertificateUtil;
import com.google.android.exoplayer2.util.Util;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/* loaded from: classes2.dex */
public final class DownloadRequest implements Parcelable {
public static final Parcelable.Creator<DownloadRequest> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.offline.DownloadRequest.1
@Override // android.os.Parcelable.Creator
public DownloadRequest createFromParcel(Parcel parcel) {
return new DownloadRequest(parcel);
}
@Override // android.os.Parcelable.Creator
public DownloadRequest[] newArray(int i) {
return new DownloadRequest[i];
}
};
public final String customCacheKey;
public final byte[] data;
public final String id;
public final byte[] keySetId;
public final String mimeType;
public final List streamKeys;
public final Uri uri;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public DownloadRequest(Parcel parcel) {
this.id = (String) Util.castNonNull(parcel.readString());
this.uri = Uri.parse((String) Util.castNonNull(parcel.readString()));
this.mimeType = parcel.readString();
int readInt = parcel.readInt();
ArrayList arrayList = new ArrayList(readInt);
for (int i = 0; i < readInt; i++) {
arrayList.add((StreamKey) parcel.readParcelable(StreamKey.class.getClassLoader()));
}
this.streamKeys = Collections.unmodifiableList(arrayList);
this.keySetId = parcel.createByteArray();
this.customCacheKey = parcel.readString();
this.data = (byte[]) Util.castNonNull(parcel.createByteArray());
}
public String toString() {
String str = this.mimeType;
String str2 = this.id;
StringBuilder sb = new StringBuilder(String.valueOf(str).length() + 1 + String.valueOf(str2).length());
sb.append(str);
sb.append(CertificateUtil.DELIMITER);
sb.append(str2);
return sb.toString();
}
public boolean equals(Object obj) {
if (!(obj instanceof DownloadRequest)) {
return false;
}
DownloadRequest downloadRequest = (DownloadRequest) obj;
return this.id.equals(downloadRequest.id) && this.uri.equals(downloadRequest.uri) && Util.areEqual(this.mimeType, downloadRequest.mimeType) && this.streamKeys.equals(downloadRequest.streamKeys) && Arrays.equals(this.keySetId, downloadRequest.keySetId) && Util.areEqual(this.customCacheKey, downloadRequest.customCacheKey) && Arrays.equals(this.data, downloadRequest.data);
}
public final int hashCode() {
int hashCode = ((this.id.hashCode() * 961) + this.uri.hashCode()) * 31;
String str = this.mimeType;
int hashCode2 = (((((hashCode + (str != null ? str.hashCode() : 0)) * 31) + this.streamKeys.hashCode()) * 31) + Arrays.hashCode(this.keySetId)) * 31;
String str2 = this.customCacheKey;
return ((hashCode2 + (str2 != null ? str2.hashCode() : 0)) * 31) + Arrays.hashCode(this.data);
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeString(this.id);
parcel.writeString(this.uri.toString());
parcel.writeString(this.mimeType);
parcel.writeInt(this.streamKeys.size());
for (int i2 = 0; i2 < this.streamKeys.size(); i2++) {
parcel.writeParcelable((Parcelable) this.streamKeys.get(i2), 0);
}
parcel.writeByteArray(this.keySetId);
parcel.writeString(this.customCacheKey);
parcel.writeByteArray(this.data);
}
}

View File

@@ -0,0 +1,81 @@
package com.google.android.exoplayer2.offline;
import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import com.google.android.exoplayer2.scheduler.Scheduler;
import com.google.android.exoplayer2.util.Assertions;
import com.google.android.exoplayer2.util.NotificationUtil;
import java.util.HashMap;
/* loaded from: classes2.dex */
public abstract class DownloadService extends Service {
public static final HashMap downloadManagerHelpers = new HashMap();
public final int channelDescriptionResourceId;
public final String channelId;
public final int channelNameResourceId;
public boolean isDestroyed;
public boolean isStopped;
public int lastStartId;
public boolean startedInForeground;
public boolean taskRemoved;
public abstract DownloadManager getDownloadManager();
public abstract Scheduler getScheduler();
@Override // android.app.Service
public void onTaskRemoved(Intent intent) {
this.taskRemoved = true;
}
@Override // android.app.Service
public void onCreate() {
String str = this.channelId;
if (str != null) {
NotificationUtil.createNotificationChannel(this, str, this.channelNameResourceId, this.channelDescriptionResourceId, 2);
}
getDownloadManager();
throw null;
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Code restructure failed: missing block: B:68:0x0096, code lost:
if (r2.equals("com.google.android.exoplayer.downloadService.action.RESUME_DOWNLOADS") == false) goto L18;
*/
@Override // android.app.Service
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public int onStartCommand(android.content.Intent r8, int r9, int r10) {
/*
Method dump skipped, instructions count: 346
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.exoplayer2.offline.DownloadService.onStartCommand(android.content.Intent, int, int):int");
}
@Override // android.app.Service
public void onDestroy() {
this.isDestroyed = true;
((DownloadManagerHelper) Assertions.checkNotNull((DownloadManagerHelper) downloadManagerHelpers.get(getClass()))).detachService(this);
}
@Override // android.app.Service
public final IBinder onBind(Intent intent) {
throw new UnsupportedOperationException();
}
public static final class DownloadManagerHelper {
public abstract void attachService(DownloadService downloadService);
public abstract void detachService(DownloadService downloadService);
public static /* synthetic */ DownloadManager access$100(DownloadManagerHelper downloadManagerHelper) {
downloadManagerHelper.getClass();
return null;
}
}
}

View File

@@ -0,0 +1,82 @@
package com.google.android.exoplayer2.offline;
import android.os.Parcel;
import android.os.Parcelable;
import csdk.gluads.Consts;
/* loaded from: classes2.dex */
public final class StreamKey implements Comparable<StreamKey>, Parcelable {
public static final Parcelable.Creator<StreamKey> CREATOR = new Parcelable.Creator() { // from class: com.google.android.exoplayer2.offline.StreamKey.1
@Override // android.os.Parcelable.Creator
public StreamKey createFromParcel(Parcel parcel) {
return new StreamKey(parcel);
}
@Override // android.os.Parcelable.Creator
public StreamKey[] newArray(int i) {
return new StreamKey[i];
}
};
public final int groupIndex;
public final int periodIndex;
public final int streamIndex;
public final int trackIndex;
@Override // android.os.Parcelable
public int describeContents() {
return 0;
}
public int hashCode() {
return (((this.periodIndex * 31) + this.groupIndex) * 31) + this.streamIndex;
}
public StreamKey(Parcel parcel) {
this.periodIndex = parcel.readInt();
this.groupIndex = parcel.readInt();
int readInt = parcel.readInt();
this.streamIndex = readInt;
this.trackIndex = readInt;
}
public String toString() {
int i = this.periodIndex;
int i2 = this.groupIndex;
int i3 = this.streamIndex;
StringBuilder sb = new StringBuilder(35);
sb.append(i);
sb.append(Consts.STRING_PERIOD);
sb.append(i2);
sb.append(Consts.STRING_PERIOD);
sb.append(i3);
return sb.toString();
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || StreamKey.class != obj.getClass()) {
return false;
}
StreamKey streamKey = (StreamKey) obj;
return this.periodIndex == streamKey.periodIndex && this.groupIndex == streamKey.groupIndex && this.streamIndex == streamKey.streamIndex;
}
@Override // java.lang.Comparable
public int compareTo(StreamKey streamKey) {
int i = this.periodIndex - streamKey.periodIndex;
if (i != 0) {
return i;
}
int i2 = this.groupIndex - streamKey.groupIndex;
return i2 == 0 ? this.streamIndex - streamKey.streamIndex : i2;
}
@Override // android.os.Parcelable
public void writeToParcel(Parcel parcel, int i) {
parcel.writeInt(this.periodIndex);
parcel.writeInt(this.groupIndex);
parcel.writeInt(this.streamIndex);
}
}