Files
rr3-apk/decompiled/sources/com/applovin/impl/a5.java
Daniel Elliott f9d20bb3fc 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>
2026-02-18 14:52:23 -08:00

79 lines
2.0 KiB
Java

package com.applovin.impl;
import android.media.MediaCodec;
/* loaded from: classes.dex */
public final class a5 {
public byte[] a;
public byte[] b;
public int c;
public int[] d;
public int[] e;
public int f;
public int g;
public int h;
private final MediaCodec.CryptoInfo i;
private final b j;
public MediaCodec.CryptoInfo a() {
return this.i;
}
/* JADX WARN: Multi-variable type inference failed */
public a5() {
MediaCodec.CryptoInfo cryptoInfo = new MediaCodec.CryptoInfo();
this.i = cryptoInfo;
this.j = xp.a >= 24 ? new b(cryptoInfo) : null;
}
public static final class b {
private final MediaCodec.CryptoInfo a;
private final MediaCodec.CryptoInfo.Pattern b;
private b(MediaCodec.CryptoInfo cryptoInfo) {
this.a = cryptoInfo;
this.b = new MediaCodec.CryptoInfo.Pattern(0, 0);
}
/* JADX INFO: Access modifiers changed from: private */
public void a(int i, int i2) {
this.b.set(i, i2);
this.a.setPattern(this.b);
}
}
public void a(int i) {
if (i == 0) {
return;
}
if (this.d == null) {
int[] iArr = new int[1];
this.d = iArr;
this.i.numBytesOfClearData = iArr;
}
int[] iArr2 = this.d;
iArr2[0] = iArr2[0] + i;
}
public void a(int i, int[] iArr, int[] iArr2, byte[] bArr, byte[] bArr2, int i2, int i3, int i4) {
this.f = i;
this.d = iArr;
this.e = iArr2;
this.b = bArr;
this.a = bArr2;
this.c = i2;
this.g = i3;
this.h = i4;
MediaCodec.CryptoInfo cryptoInfo = this.i;
cryptoInfo.numSubSamples = i;
cryptoInfo.numBytesOfClearData = iArr;
cryptoInfo.numBytesOfEncryptedData = iArr2;
cryptoInfo.key = bArr;
cryptoInfo.iv = bArr2;
cryptoInfo.mode = i2;
if (xp.a >= 24) {
((b) b1.a(this.j)).a(i3, i4);
}
}
}