package o; import android.os.Handler; import android.os.Looper; import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Set; import java.util.concurrent.PriorityBlockingQueue; import java.util.concurrent.atomic.AtomicInteger; /* renamed from: o.VzR, reason: case insensitive filesystem */ /* loaded from: classes.dex */ public class C1117VzR { public final qNX a; public final InterfaceC17333vqS b; public DqI c; final Set> d; public final PriorityBlockingQueue> e; private final List f; public final PriorityBlockingQueue> g; public final C0676MAs[] h; final List i; public final ZFL j; private final AtomicInteger m; @Deprecated /* renamed from: o.VzR$HBt */ /* loaded from: classes.dex */ public interface HBt { } /* renamed from: o.VzR$IeS */ /* loaded from: classes.dex */ public interface IeS { } private C1117VzR(InterfaceC17333vqS interfaceC17333vqS, ZFL zfl, qNX qnx) { this.m = new AtomicInteger(); this.d = new HashSet(); this.e = new PriorityBlockingQueue<>(); this.g = new PriorityBlockingQueue<>(); this.i = new ArrayList(); this.f = new ArrayList(); this.b = interfaceC17333vqS; this.j = zfl; this.h = new C0676MAs[4]; this.a = qnx; } private C1117VzR(InterfaceC17333vqS interfaceC17333vqS, ZFL zfl, byte b) { this(interfaceC17333vqS, zfl, new C13978fkX(new Handler(Looper.getMainLooper()))); } public C1117VzR(InterfaceC17333vqS interfaceC17333vqS, ZFL zfl) { this(interfaceC17333vqS, zfl, (byte) 0); } public final HJP d(HJP hjp) { hjp.setRequestQueue(this); synchronized (this.d) { this.d.add(hjp); } hjp.setSequence(this.m.incrementAndGet()); hjp.addMarker("add-to-queue"); d(); if (hjp.shouldCache()) { this.e.add(hjp); } else { this.g.add(hjp); } return hjp; } /* JADX INFO: Access modifiers changed from: package-private */ public final void d() { synchronized (this.f) { for (IeS ieS : this.f) { } } } }