- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
110 lines
3.0 KiB
Java
110 lines
3.0 KiB
Java
package com.applovin.impl;
|
|
|
|
import android.os.Bundle;
|
|
import com.applovin.impl.o2;
|
|
import com.ironsource.mediationsdk.logger.IronSourceError;
|
|
import com.mbridge.msdk.playercommon.exoplayer2.C;
|
|
import java.util.Arrays;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class oo implements o2 {
|
|
public static final o2.a d = new o2.a() { // from class: com.applovin.impl.oo$$ExternalSyntheticLambda0
|
|
@Override // com.applovin.impl.o2.a
|
|
public final o2 a(Bundle bundle) {
|
|
oo a;
|
|
a = oo.a(bundle);
|
|
return a;
|
|
}
|
|
};
|
|
public final int a;
|
|
private final f9[] b;
|
|
private int c;
|
|
|
|
private static int c(int i) {
|
|
return i | 16384;
|
|
}
|
|
|
|
public oo(f9... f9VarArr) {
|
|
b1.a(f9VarArr.length > 0);
|
|
this.b = f9VarArr;
|
|
this.a = f9VarArr.length;
|
|
a();
|
|
}
|
|
|
|
public f9 a(int i) {
|
|
return this.b[i];
|
|
}
|
|
|
|
public int hashCode() {
|
|
if (this.c == 0) {
|
|
this.c = Arrays.hashCode(this.b) + IronSourceError.ERROR_NON_EXISTENT_INSTANCE;
|
|
}
|
|
return this.c;
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (obj == null || oo.class != obj.getClass()) {
|
|
return false;
|
|
}
|
|
oo ooVar = (oo) obj;
|
|
return this.a == ooVar.a && Arrays.equals(this.b, ooVar.b);
|
|
}
|
|
|
|
private static String b(int i) {
|
|
return Integer.toString(i, 36);
|
|
}
|
|
|
|
public int a(f9 f9Var) {
|
|
int i = 0;
|
|
while (true) {
|
|
f9[] f9VarArr = this.b;
|
|
if (i >= f9VarArr.length) {
|
|
return -1;
|
|
}
|
|
if (f9Var == f9VarArr[i]) {
|
|
return i;
|
|
}
|
|
i++;
|
|
}
|
|
}
|
|
|
|
private static String a(String str) {
|
|
return (str == null || str.equals(C.LANGUAGE_UNDETERMINED)) ? "" : str;
|
|
}
|
|
|
|
private void a() {
|
|
String a = a(this.b[0].c);
|
|
int c = c(this.b[0].f);
|
|
int i = 1;
|
|
while (true) {
|
|
f9[] f9VarArr = this.b;
|
|
if (i >= f9VarArr.length) {
|
|
return;
|
|
}
|
|
if (!a.equals(a(f9VarArr[i].c))) {
|
|
f9[] f9VarArr2 = this.b;
|
|
a("languages", f9VarArr2[0].c, f9VarArr2[i].c, i);
|
|
return;
|
|
} else {
|
|
if (c != c(this.b[i].f)) {
|
|
a("role flags", Integer.toBinaryString(this.b[0].f), Integer.toBinaryString(this.b[i].f), i);
|
|
return;
|
|
}
|
|
i++;
|
|
}
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static /* synthetic */ oo a(Bundle bundle) {
|
|
return new oo((f9[]) p2.a(f9.I, bundle.getParcelableArrayList(b(0)), eb.h()).toArray(new f9[0]));
|
|
}
|
|
|
|
private static void a(String str, String str2, String str3, int i) {
|
|
pc.a("TrackGroup", "", new IllegalStateException("Different " + str + " combined in one TrackGroup: '" + str2 + "' (track 0) and '" + str3 + "' (track " + i + ")"));
|
|
}
|
|
}
|