Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzru.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

71 lines
1.8 KiB
Java

package com.google.android.gms.internal.ads;
import androidx.annotation.IntRange;
import com.google.android.gms.drive.DriveFile;
import java.nio.ByteBuffer;
/* loaded from: classes3.dex */
final class zzru extends zzhh {
private long zzg;
private int zzh;
private int zzi;
public zzru() {
super(2, 0);
this.zzi = 32;
}
@Override // com.google.android.gms.internal.ads.zzhh, com.google.android.gms.internal.ads.zzhb
public final void zzb() {
super.zzb();
this.zzh = 0;
}
public final int zzm() {
return this.zzh;
}
public final long zzn() {
return this.zzg;
}
public final void zzo(@IntRange(from = 1) int i) {
this.zzi = i;
}
public final boolean zzp(zzhh zzhhVar) {
ByteBuffer byteBuffer;
zzcw.zzd(!zzhhVar.zzd(1073741824));
zzcw.zzd(!zzhhVar.zzd(DriveFile.MODE_READ_ONLY));
zzcw.zzd(!zzhhVar.zzd(4));
if (zzq()) {
if (this.zzh >= this.zzi) {
return false;
}
ByteBuffer byteBuffer2 = zzhhVar.zzc;
if (byteBuffer2 != null && (byteBuffer = this.zzc) != null && byteBuffer.position() + byteBuffer2.remaining() > 3072000) {
return false;
}
}
int i = this.zzh;
this.zzh = i + 1;
if (i == 0) {
this.zze = zzhhVar.zze;
if (zzhhVar.zzd(1)) {
zzc(1);
}
}
ByteBuffer byteBuffer3 = zzhhVar.zzc;
if (byteBuffer3 != null) {
zzj(byteBuffer3.remaining());
this.zzc.put(byteBuffer3);
}
this.zzg = zzhhVar.zze;
return true;
}
public final boolean zzq() {
return this.zzh > 0;
}
}