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,141 @@
package com.fyber.inneractive.sdk.player.exoplayer2.trackselection;
import android.os.SystemClock;
import com.fyber.inneractive.sdk.player.exoplayer2.j;
import com.fyber.inneractive.sdk.player.exoplayer2.source.t;
import com.mbridge.msdk.playercommon.exoplayer2.source.chunk.ChunkedTrackBlacklistUtil;
import java.util.Arrays;
import java.util.Comparator;
/* loaded from: classes2.dex */
public abstract class a implements e {
public final t a;
public final int b;
public final int[] c;
public final j[] d;
public final long[] e;
public int f;
/* renamed from: com.fyber.inneractive.sdk.player.exoplayer2.trackselection.a$a, reason: collision with other inner class name */
public static final class C0098a implements Comparator<j> {
public C0098a() {
}
public /* synthetic */ C0098a(int i) {
this();
}
@Override // java.util.Comparator
public final int compare(j jVar, j jVar2) {
return jVar2.b - jVar.b;
}
}
public a(t tVar, int... iArr) {
int i = 0;
com.fyber.inneractive.sdk.player.exoplayer2.util.a.b(iArr.length > 0);
this.a = (t) com.fyber.inneractive.sdk.player.exoplayer2.util.a.a(tVar);
int length = iArr.length;
this.b = length;
this.d = new j[length];
for (int i2 = 0; i2 < iArr.length; i2++) {
this.d[i2] = tVar.a(iArr[i2]);
}
Arrays.sort(this.d, new C0098a(i));
this.c = new int[this.b];
while (true) {
int i3 = this.b;
if (i >= i3) {
this.e = new long[i3];
return;
} else {
this.c[i] = tVar.a(this.d[i]);
i++;
}
}
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final j a(int i) {
return this.d[i];
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final int b(int i) {
return this.c[i];
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final t c() {
return this.a;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
a aVar = (a) obj;
return this.a == aVar.a && Arrays.equals(this.c, aVar.c);
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final int length() {
return this.c.length;
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final int b() {
return this.c[f()];
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final boolean c(int i) {
long elapsedRealtime = SystemClock.elapsedRealtime();
boolean z = this.e[i] > elapsedRealtime;
int i2 = 0;
while (i2 < this.b && !z) {
z = i2 != i && this.e[i2] <= elapsedRealtime;
i2++;
}
if (!z) {
return false;
}
long[] jArr = this.e;
jArr[i] = Math.max(jArr[i], elapsedRealtime + ChunkedTrackBlacklistUtil.DEFAULT_TRACK_BLACKLIST_MS);
return true;
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final int d(int i) {
for (int i2 = 0; i2 < this.b; i2++) {
if (this.c[i2] == i) {
return i2;
}
}
return -1;
}
public final int hashCode() {
if (this.f == 0) {
this.f = Arrays.hashCode(this.c) + (System.identityHashCode(this.a) * 31);
}
return this.f;
}
public final int a(j jVar) {
for (int i = 0; i < this.b; i++) {
if (this.d[i] == jVar) {
return i;
}
}
return -1;
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final j d() {
return this.d[f()];
}
}

View File

@@ -0,0 +1,223 @@
package com.fyber.inneractive.sdk.player.exoplayer2.trackselection;
import android.text.TextUtils;
import java.util.concurrent.atomic.AtomicReference;
/* loaded from: classes2.dex */
public final class b extends d {
public static final int[] d = new int[0];
public final AtomicReference<C0099b> c = new AtomicReference<>(new C0099b());
/* renamed from: com.fyber.inneractive.sdk.player.exoplayer2.trackselection.b$b, reason: collision with other inner class name */
public static final class C0099b {
public final String a;
public final String b;
public final boolean c;
public final boolean d;
public final int e;
public final int f;
public final int g;
public final boolean h;
public final boolean i;
public final int j;
public final int k;
public final boolean l;
public C0099b() {
this(0);
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || C0099b.class != obj.getClass()) {
return false;
}
C0099b c0099b = (C0099b) obj;
return this.c == c0099b.c && this.d == c0099b.d && this.e == c0099b.e && this.f == c0099b.f && this.h == c0099b.h && this.i == c0099b.i && this.l == c0099b.l && this.j == c0099b.j && this.k == c0099b.k && this.g == c0099b.g && TextUtils.equals(this.a, c0099b.a) && TextUtils.equals(this.b, c0099b.b);
}
public final int hashCode() {
return ((((((((((((((((((((this.b.hashCode() + (this.a.hashCode() * 31)) * 31) + (this.c ? 1 : 0)) * 31) + (this.d ? 1 : 0)) * 31) + this.e) * 31) + this.f) * 31) + this.g) * 31) + (this.h ? 1 : 0)) * 31) + (this.i ? 1 : 0)) * 31) + (this.l ? 1 : 0)) * 31) + this.j) * 31) + this.k;
}
public C0099b(int i) {
this.a = null;
this.b = null;
this.c = false;
this.d = true;
this.e = Integer.MAX_VALUE;
this.f = Integer.MAX_VALUE;
this.g = Integer.MAX_VALUE;
this.h = true;
this.i = true;
this.j = Integer.MAX_VALUE;
this.k = Integer.MAX_VALUE;
this.l = true;
}
}
public b(int i) {
}
/* JADX WARN: Removed duplicated region for block: B:25:0x004b */
/* JADX WARN: Removed duplicated region for block: B:37:0x0055 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static java.util.ArrayList a(com.fyber.inneractive.sdk.player.exoplayer2.source.t r12, int r13, int r14, boolean r15) {
/*
java.util.ArrayList r0 = new java.util.ArrayList
int r1 = r12.a
r0.<init>(r1)
r1 = 0
r2 = r1
L9:
int r3 = r12.a
if (r2 >= r3) goto L17
java.lang.Integer r3 = java.lang.Integer.valueOf(r2)
r0.add(r3)
int r2 = r2 + 1
goto L9
L17:
r2 = 2147483647(0x7fffffff, float:NaN)
if (r13 == r2) goto Laa
if (r14 != r2) goto L20
goto Laa
L20:
r3 = r1
r4 = r2
L22:
int r5 = r12.a
r6 = 1
if (r3 >= r5) goto L7c
com.fyber.inneractive.sdk.player.exoplayer2.j[] r5 = r12.b
r5 = r5[r3]
int r7 = r5.j
if (r7 <= 0) goto L79
int r8 = r5.k
if (r8 <= 0) goto L79
if (r15 == 0) goto L43
if (r7 <= r8) goto L39
r9 = r6
goto L3a
L39:
r9 = r1
L3a:
if (r13 <= r14) goto L3d
goto L3e
L3d:
r6 = r1
L3e:
if (r9 == r6) goto L43
r6 = r13
r9 = r14
goto L45
L43:
r9 = r13
r6 = r14
L45:
int r10 = r7 * r6
int r11 = r8 * r9
if (r10 < r11) goto L55
android.graphics.Point r6 = new android.graphics.Point
int r7 = com.fyber.inneractive.sdk.player.exoplayer2.util.s.a(r11, r7)
r6.<init>(r9, r7)
goto L5f
L55:
android.graphics.Point r7 = new android.graphics.Point
int r8 = com.fyber.inneractive.sdk.player.exoplayer2.util.s.a(r10, r8)
r7.<init>(r8, r6)
r6 = r7
L5f:
int r7 = r5.j
int r5 = r5.k
int r8 = r7 * r5
int r9 = r6.x
float r9 = (float) r9
r10 = 1065017672(0x3f7ae148, float:0.98)
float r9 = r9 * r10
int r9 = (int) r9
if (r7 < r9) goto L79
int r6 = r6.y
float r6 = (float) r6
float r6 = r6 * r10
int r6 = (int) r6
if (r5 < r6) goto L79
if (r8 >= r4) goto L79
r4 = r8
L79:
int r3 = r3 + 1
goto L22
L7c:
if (r4 == r2) goto Laa
int r13 = r0.size()
int r13 = r13 - r6
L83:
if (r13 < 0) goto Laa
java.lang.Object r14 = r0.get(r13)
java.lang.Integer r14 = (java.lang.Integer) r14
int r14 = r14.intValue()
com.fyber.inneractive.sdk.player.exoplayer2.j[] r15 = r12.b
r14 = r15[r14]
int r15 = r14.j
r1 = -1
if (r15 == r1) goto L9f
int r14 = r14.k
if (r14 != r1) goto L9d
goto L9f
L9d:
int r15 = r15 * r14
goto La0
L9f:
r15 = r1
La0:
if (r15 == r1) goto La4
if (r15 <= r4) goto La7
La4:
r0.remove(r13)
La7:
int r13 = r13 + (-1)
goto L83
Laa:
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.fyber.inneractive.sdk.player.exoplayer2.trackselection.b.a(com.fyber.inneractive.sdk.player.exoplayer2.source.t, int, int, boolean):java.util.ArrayList");
}
public static boolean a(int i, boolean z) {
int i2 = i & 3;
return i2 == 3 || (z && i2 == 2);
}
public static final class a {
public final int a;
public final int b;
public final String c;
public a(int i, int i2, String str) {
this.a = i;
this.b = i2;
this.c = str;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || a.class != obj.getClass()) {
return false;
}
a aVar = (a) obj;
return this.a == aVar.a && this.b == aVar.b && TextUtils.equals(this.c, aVar.c);
}
public final int hashCode() {
int i = ((this.a * 31) + this.b) * 31;
String str = this.c;
return i + (str != null ? str.hashCode() : 0);
}
}
}

View File

@@ -0,0 +1,34 @@
package com.fyber.inneractive.sdk.player.exoplayer2.trackselection;
import com.fyber.inneractive.sdk.player.exoplayer2.source.t;
/* loaded from: classes2.dex */
public final class c extends a {
public final int g;
public final Object h;
public c(t tVar, int i, int i2) {
super(tVar, i);
this.g = 0;
this.h = null;
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final void a() {
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final int e() {
return this.g;
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final int f() {
return 0;
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.e
public final Object g() {
return this.h;
}
}

View File

@@ -0,0 +1,98 @@
package com.fyber.inneractive.sdk.player.exoplayer2.trackselection;
import android.util.SparseArray;
import android.util.SparseBooleanArray;
import com.fyber.inneractive.sdk.player.exoplayer2.source.u;
import java.util.Map;
/* loaded from: classes2.dex */
public abstract class d extends g {
public final SparseArray<Map<u, b>> a = new SparseArray<>();
public final SparseBooleanArray b = new SparseBooleanArray();
public static final class a {
public a(u[] uVarArr) {
}
}
public static final class b {
}
/* JADX WARN: Code restructure failed: missing block: B:111:0x01da, code lost:
if (r5 == (-1)) goto L114;
*/
/* JADX WARN: Code restructure failed: missing block: B:115:0x0201, code lost:
r1 = r12.b;
r2 = r12.j;
*/
/* JADX WARN: Code restructure failed: missing block: B:116:0x0206, code lost:
if (r2 == (-1)) goto L132;
*/
/* JADX WARN: Code restructure failed: missing block: B:117:0x0208, code lost:
r5 = r12.k;
*/
/* JADX WARN: Code restructure failed: missing block: B:118:0x020a, code lost:
if (r5 != (-1)) goto L131;
*/
/* JADX WARN: Code restructure failed: missing block: B:119:0x020d, code lost:
r7 = r2 * r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:120:0x0211, code lost:
r21 = r0;
r10 = r1;
r5 = r7;
r24 = r30;
r2 = r35;
*/
/* JADX WARN: Code restructure failed: missing block: B:122:0x0210, code lost:
r7 = -1;
*/
/* JADX WARN: Code restructure failed: missing block: B:124:0x01e9, code lost:
r2 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:131:0x01e7, code lost:
if (r10 == (-1)) goto L114;
*/
/* JADX WARN: Code restructure failed: missing block: B:136:0x01ff, code lost:
if (r9 != false) goto L126;
*/
/* JADX WARN: Removed duplicated region for block: B:100:0x01b5 */
/* JADX WARN: Removed duplicated region for block: B:113:0x01f3 A[ADDED_TO_REGION] */
/* JADX WARN: Removed duplicated region for block: B:135:0x01fb */
/* JADX WARN: Removed duplicated region for block: B:137:0x01b2 */
/* JADX WARN: Removed duplicated region for block: B:138:0x01a0 */
/* JADX WARN: Removed duplicated region for block: B:233:0x03b1 */
/* JADX WARN: Removed duplicated region for block: B:235:0x03b5 */
/* JADX WARN: Removed duplicated region for block: B:297:0x046d */
/* JADX WARN: Removed duplicated region for block: B:299:0x0471 */
/* JADX WARN: Removed duplicated region for block: B:93:0x019e */
/* JADX WARN: Removed duplicated region for block: B:96:0x01ac */
/* JADX WARN: Removed duplicated region for block: B:98:0x01b0 */
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.g
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final com.fyber.inneractive.sdk.player.exoplayer2.trackselection.h a(com.fyber.inneractive.sdk.player.exoplayer2.a[] r37, com.fyber.inneractive.sdk.player.exoplayer2.source.u r38) throws com.fyber.inneractive.sdk.player.exoplayer2.d {
/*
Method dump skipped, instructions count: 1325
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.fyber.inneractive.sdk.player.exoplayer2.trackselection.d.a(com.fyber.inneractive.sdk.player.exoplayer2.a[], com.fyber.inneractive.sdk.player.exoplayer2.source.u):com.fyber.inneractive.sdk.player.exoplayer2.trackselection.h");
}
@Override // com.fyber.inneractive.sdk.player.exoplayer2.trackselection.g
public final void a(Object obj) {
}
}

View File

@@ -0,0 +1,36 @@
package com.fyber.inneractive.sdk.player.exoplayer2.trackselection;
import com.fyber.inneractive.sdk.player.exoplayer2.j;
import com.fyber.inneractive.sdk.player.exoplayer2.source.t;
/* loaded from: classes2.dex */
public interface e {
public interface a {
e a();
}
j a(int i);
void a();
int b();
int b(int i);
t c();
boolean c(int i);
int d(int i);
j d();
int e();
int f();
Object g();
int length();
}

View File

@@ -0,0 +1,33 @@
package com.fyber.inneractive.sdk.player.exoplayer2.trackselection;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.util.Arrays;
/* loaded from: classes2.dex */
public final class f {
public final int a;
public final e[] b;
public int c;
public f(e... eVarArr) {
this.b = eVarArr;
this.a = eVarArr.length;
}
public final boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (obj == null || f.class != obj.getClass()) {
return false;
}
return Arrays.equals(this.b, ((f) obj).b);
}
public final int hashCode() {
if (this.c == 0) {
this.c = Arrays.hashCode(this.b) + IronSourceError.ERROR_NON_EXISTENT_INSTANCE;
}
return this.c;
}
}

View File

@@ -0,0 +1,10 @@
package com.fyber.inneractive.sdk.player.exoplayer2.trackselection;
import com.fyber.inneractive.sdk.player.exoplayer2.source.u;
/* loaded from: classes2.dex */
public abstract class g {
public abstract h a(com.fyber.inneractive.sdk.player.exoplayer2.a[] aVarArr, u uVar) throws com.fyber.inneractive.sdk.player.exoplayer2.d;
public abstract void a(Object obj);
}

View File

@@ -0,0 +1,20 @@
package com.fyber.inneractive.sdk.player.exoplayer2.trackselection;
import com.fyber.inneractive.sdk.player.exoplayer2.p;
import com.fyber.inneractive.sdk.player.exoplayer2.source.u;
import com.fyber.inneractive.sdk.player.exoplayer2.trackselection.d;
/* loaded from: classes2.dex */
public final class h {
public final u a;
public final f b;
public final Object c;
public final p[] d;
public h(u uVar, f fVar, d.a aVar, p[] pVarArr) {
this.a = uVar;
this.b = fVar;
this.c = aVar;
this.d = pVarArr;
}
}