- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
144 lines
2.9 KiB
Java
144 lines
2.9 KiB
Java
package com.ironsource;
|
|
|
|
import com.ironsource.mediationsdk.model.Placement;
|
|
import java.util.ArrayList;
|
|
import java.util.Iterator;
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class pp {
|
|
private static final int p = 0;
|
|
private ArrayList<Placement> a;
|
|
private a4 b;
|
|
private int c;
|
|
private boolean d;
|
|
private int e;
|
|
private int f;
|
|
private int g;
|
|
private boolean h;
|
|
private long i;
|
|
private boolean j;
|
|
private boolean k;
|
|
private boolean l;
|
|
private Placement m;
|
|
private h5 n;
|
|
private boolean o;
|
|
|
|
public pp() {
|
|
this.a = new ArrayList<>();
|
|
this.b = new a4();
|
|
}
|
|
|
|
public pp(int i, boolean z, int i2, int i3, a4 a4Var, h5 h5Var, int i4, boolean z2, boolean z3, long j, boolean z4, boolean z5, boolean z6) {
|
|
this.a = new ArrayList<>();
|
|
this.c = i;
|
|
this.d = z;
|
|
this.e = i2;
|
|
this.b = a4Var;
|
|
this.f = i3;
|
|
this.n = h5Var;
|
|
this.g = i4;
|
|
this.o = z2;
|
|
this.h = z3;
|
|
this.i = j;
|
|
this.j = z4;
|
|
this.k = z5;
|
|
this.l = z6;
|
|
}
|
|
|
|
public Placement a() {
|
|
Iterator<Placement> it = this.a.iterator();
|
|
while (it.hasNext()) {
|
|
Placement next = it.next();
|
|
if (next.isDefault()) {
|
|
return next;
|
|
}
|
|
}
|
|
return this.m;
|
|
}
|
|
|
|
public Placement a(String str) {
|
|
Iterator<Placement> it = this.a.iterator();
|
|
while (it.hasNext()) {
|
|
Placement next = it.next();
|
|
if (next.getPlacementName().equals(str)) {
|
|
return next;
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public void a(Placement placement) {
|
|
if (placement != null) {
|
|
this.a.add(placement);
|
|
if (this.m == null || placement.isPlacementId(0)) {
|
|
this.m = placement;
|
|
}
|
|
}
|
|
}
|
|
|
|
public int b() {
|
|
return this.g;
|
|
}
|
|
|
|
public int c() {
|
|
return this.f;
|
|
}
|
|
|
|
public boolean d() {
|
|
return this.o;
|
|
}
|
|
|
|
public ArrayList<Placement> e() {
|
|
return this.a;
|
|
}
|
|
|
|
public boolean f() {
|
|
return this.j;
|
|
}
|
|
|
|
public int g() {
|
|
return this.c;
|
|
}
|
|
|
|
public int h() {
|
|
return this.e;
|
|
}
|
|
|
|
public long i() {
|
|
return TimeUnit.SECONDS.toMillis(this.e);
|
|
}
|
|
|
|
public boolean j() {
|
|
return this.d;
|
|
}
|
|
|
|
public h5 k() {
|
|
return this.n;
|
|
}
|
|
|
|
public boolean l() {
|
|
return this.h;
|
|
}
|
|
|
|
public long m() {
|
|
return this.i;
|
|
}
|
|
|
|
public a4 n() {
|
|
return this.b;
|
|
}
|
|
|
|
public boolean o() {
|
|
return this.l;
|
|
}
|
|
|
|
public boolean p() {
|
|
return this.k;
|
|
}
|
|
|
|
public String toString() {
|
|
return "RewardedVideoConfigurations{parallelLoad=" + this.c + ", bidderExclusive=" + this.d + '}';
|
|
}
|
|
}
|