- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
67 lines
1.8 KiB
Java
67 lines
1.8 KiB
Java
package com.applovin.impl;
|
|
|
|
import com.applovin.impl.qo;
|
|
import com.mbridge.msdk.playercommon.exoplayer2.C;
|
|
|
|
/* loaded from: classes.dex */
|
|
public final class mo {
|
|
public final boolean a;
|
|
public final String b;
|
|
public final qo.a c;
|
|
public final int d;
|
|
public final byte[] e;
|
|
|
|
public mo(boolean z, String str, int i, byte[] bArr, int i2, int i3, byte[] bArr2) {
|
|
b1.a((bArr2 == null) ^ (i == 0));
|
|
this.a = z;
|
|
this.b = str;
|
|
this.d = i;
|
|
this.e = bArr2;
|
|
this.c = new qo.a(a(str), bArr, i2, i3);
|
|
}
|
|
|
|
/* JADX WARN: Failed to restore switch over string. Please report as a decompilation issue */
|
|
private static int a(String str) {
|
|
if (str == null) {
|
|
return 1;
|
|
}
|
|
char c = 65535;
|
|
switch (str.hashCode()) {
|
|
case 3046605:
|
|
if (str.equals(C.CENC_TYPE_cbc1)) {
|
|
c = 0;
|
|
break;
|
|
}
|
|
break;
|
|
case 3046671:
|
|
if (str.equals(C.CENC_TYPE_cbcs)) {
|
|
c = 1;
|
|
break;
|
|
}
|
|
break;
|
|
case 3049879:
|
|
if (str.equals(C.CENC_TYPE_cenc)) {
|
|
c = 2;
|
|
break;
|
|
}
|
|
break;
|
|
case 3049895:
|
|
if (str.equals(C.CENC_TYPE_cens)) {
|
|
c = 3;
|
|
break;
|
|
}
|
|
break;
|
|
}
|
|
switch (c) {
|
|
case 0:
|
|
case 1:
|
|
return 2;
|
|
default:
|
|
pc.d("TrackEncryptionBox", "Unsupported protection scheme type '" + str + "'. Assuming AES-CTR crypto mode.");
|
|
case 2:
|
|
case 3:
|
|
return 1;
|
|
}
|
|
}
|
|
}
|