- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
1208 lines
42 KiB
Java
1208 lines
42 KiB
Java
package com.ironsource;
|
|
|
|
import android.content.Context;
|
|
import android.content.IntentFilter;
|
|
import android.os.AsyncTask;
|
|
import android.text.TextUtils;
|
|
import com.ironsource.environment.ContextProvider;
|
|
import com.ironsource.environment.NetworkStateReceiver;
|
|
import com.ironsource.environment.thread.IronSourceThreadManager;
|
|
import com.ironsource.g2;
|
|
import com.ironsource.k7;
|
|
import com.ironsource.mediationsdk.IronSource;
|
|
import com.ironsource.mediationsdk.IronSourceSegment;
|
|
import com.ironsource.mediationsdk.LoadWhileShowSupportState;
|
|
import com.ironsource.mediationsdk.adunit.adapter.internal.AdapterBaseInterface;
|
|
import com.ironsource.mediationsdk.adunit.adapter.internal.AdapterSettingsInterface;
|
|
import com.ironsource.mediationsdk.adunit.adapter.internal.BaseAdAdapter;
|
|
import com.ironsource.mediationsdk.adunit.adapter.internal.listener.AdapterAdListener;
|
|
import com.ironsource.mediationsdk.adunit.adapter.utility.AdData;
|
|
import com.ironsource.mediationsdk.adunit.adapter.utility.AdInfo;
|
|
import com.ironsource.mediationsdk.h;
|
|
import com.ironsource.mediationsdk.impressionData.ImpressionData;
|
|
import com.ironsource.mediationsdk.impressionData.ImpressionDataListener;
|
|
import com.ironsource.mediationsdk.logger.IronLog;
|
|
import com.ironsource.mediationsdk.logger.IronSourceError;
|
|
import com.ironsource.mediationsdk.logger.IronSourceLogger;
|
|
import com.ironsource.mediationsdk.logger.IronSourceLoggerManager;
|
|
import com.ironsource.mediationsdk.model.NetworkSettings;
|
|
import com.ironsource.mediationsdk.model.Placement;
|
|
import com.ironsource.mediationsdk.utils.IronSourceConstants;
|
|
import com.ironsource.mediationsdk.utils.IronSourceUtils;
|
|
import com.ironsource.mg;
|
|
import com.ironsource.qe;
|
|
import com.ironsource.t7;
|
|
import com.ironsource.x1;
|
|
import java.util.ArrayList;
|
|
import java.util.Arrays;
|
|
import java.util.Date;
|
|
import java.util.HashMap;
|
|
import java.util.HashSet;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import java.util.Map;
|
|
import java.util.Timer;
|
|
import java.util.TimerTask;
|
|
import java.util.UUID;
|
|
import java.util.concurrent.ConcurrentHashMap;
|
|
import java.util.concurrent.CopyOnWriteArrayList;
|
|
import java.util.concurrent.TimeUnit;
|
|
import java.util.concurrent.atomic.AtomicBoolean;
|
|
import org.json.JSONException;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public abstract class h7<Smash extends k7<?>, Listener extends AdapterAdListener> implements j2, l4, w1, xk, vm, o, pu, r7, ko {
|
|
private AdInfo A;
|
|
private lj B;
|
|
final mg C;
|
|
final mg.a D;
|
|
protected final qe E;
|
|
private final qe.a F;
|
|
private boolean G;
|
|
private ts H;
|
|
private AtomicBoolean I;
|
|
private ti J;
|
|
protected ou<Smash> a;
|
|
protected ConcurrentHashMap<String, h.a> b;
|
|
protected com.ironsource.mediationsdk.e c;
|
|
protected com.ironsource.mediationsdk.h d;
|
|
protected int e;
|
|
protected String f;
|
|
protected JSONObject g;
|
|
protected f5 h;
|
|
protected Placement i;
|
|
protected boolean j;
|
|
private NetworkStateReceiver k;
|
|
protected hr l;
|
|
protected ta m;
|
|
protected ta n;
|
|
protected q0 o;
|
|
protected f p;
|
|
protected i2 q;
|
|
protected yb r;
|
|
protected x1 s;
|
|
protected e2 t;
|
|
protected r u;
|
|
protected IronSourceSegment v;
|
|
protected UUID w;
|
|
protected final Object x;
|
|
private long y;
|
|
private Boolean z;
|
|
|
|
public class a extends yp {
|
|
public a() {
|
|
}
|
|
|
|
@Override // com.ironsource.yp
|
|
public void a() {
|
|
h7.this.B();
|
|
}
|
|
}
|
|
|
|
public class b implements Runnable {
|
|
final /* synthetic */ NetworkSettings a;
|
|
|
|
public b(NetworkSettings networkSettings) {
|
|
this.a = networkSettings;
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
h7.this.c(this.a);
|
|
}
|
|
}
|
|
|
|
public class c extends TimerTask {
|
|
public c() {
|
|
}
|
|
|
|
@Override // java.util.TimerTask, java.lang.Runnable
|
|
public void run() {
|
|
h7.this.D();
|
|
}
|
|
}
|
|
|
|
public class d implements Runnable {
|
|
public d() {
|
|
}
|
|
|
|
@Override // java.lang.Runnable
|
|
public void run() {
|
|
h7.this.g = new JSONObject();
|
|
h7.this.s.i.a();
|
|
HashMap hashMap = new HashMap();
|
|
ArrayList arrayList = new ArrayList();
|
|
StringBuilder sb = new StringBuilder();
|
|
ArrayList arrayList2 = new ArrayList();
|
|
h7.this.b(hashMap, arrayList, sb, arrayList2);
|
|
if (h7.this.o.e()) {
|
|
h7.this.a(hashMap, arrayList, sb, arrayList2);
|
|
} else {
|
|
h7.this.a(hashMap, arrayList, sb.toString());
|
|
}
|
|
}
|
|
}
|
|
|
|
public class e implements t7.b {
|
|
final /* synthetic */ Map a;
|
|
final /* synthetic */ StringBuilder b;
|
|
final /* synthetic */ List c;
|
|
|
|
public e(Map map, StringBuilder sb, List list) {
|
|
this.a = map;
|
|
this.b = sb;
|
|
this.c = list;
|
|
}
|
|
|
|
@Override // com.ironsource.t7.b
|
|
public void a(List<u7> list, long j, List<String> list2) {
|
|
h7.this.s.h.a(j);
|
|
for (u7 u7Var : list) {
|
|
NetworkSettings a = h7.this.o.a(u7Var.c());
|
|
Map<String, Object> b = h7.this.b(a, com.ironsource.mediationsdk.c.b().b(a, h7.this.o.b(), h7.this.k()));
|
|
if (u7Var.a() != null) {
|
|
this.a.put(u7Var.c(), u7Var.a());
|
|
StringBuilder sb = this.b;
|
|
sb.append(u7Var.d());
|
|
sb.append(u7Var.c());
|
|
sb.append(",");
|
|
h7.this.s.h.a(b, u7Var.e());
|
|
} else {
|
|
h7.this.s.h.a(b, u7Var.e(), u7Var.b());
|
|
}
|
|
}
|
|
Iterator<String> it = list2.iterator();
|
|
while (it.hasNext()) {
|
|
NetworkSettings a2 = h7.this.o.a(it.next());
|
|
h7.this.s.h.b(h7.this.b(a2, com.ironsource.mediationsdk.c.b().b(a2, h7.this.o.b(), h7.this.k())), j);
|
|
}
|
|
h7.this.a((Map<String, Object>) this.a, (List<String>) this.c, this.b.toString());
|
|
}
|
|
|
|
@Override // com.ironsource.t7.b
|
|
public void onFailure(String str) {
|
|
h7.this.s.h.a(str);
|
|
h7.this.a((Map<String, Object>) this.a, (List<String>) this.c, this.b.toString());
|
|
}
|
|
}
|
|
|
|
public enum f {
|
|
NONE,
|
|
READY_TO_LOAD,
|
|
AUCTION,
|
|
LOADING,
|
|
READY_TO_SHOW,
|
|
SHOWING
|
|
}
|
|
|
|
public h7(me meVar, le leVar, q0 q0Var, lj ljVar, IronSourceSegment ironSourceSegment) {
|
|
this.f = "";
|
|
this.j = false;
|
|
this.x = new Object();
|
|
this.y = 0L;
|
|
this.I = new AtomicBoolean(false);
|
|
this.w = UUID.randomUUID();
|
|
this.C = meVar.k();
|
|
this.D = leVar.e();
|
|
this.E = meVar.x();
|
|
this.F = leVar.m();
|
|
IronLog ironLog = IronLog.INTERNAL;
|
|
ironLog.verbose("adUnit = " + q0Var.b() + ", loading mode = " + q0Var.i().a());
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(q0Var.b());
|
|
sb.append(" initiated object per waterfall mode");
|
|
IronSourceUtils.sendAutomationLog(sb.toString());
|
|
ta taVar = new ta();
|
|
this.J = a(q0Var);
|
|
this.v = ironSourceSegment;
|
|
this.o = q0Var;
|
|
this.s = new x1(q0Var.b(), x1.b.MEDIATION, this);
|
|
this.t = g();
|
|
this.q = h();
|
|
a(f.NONE);
|
|
this.B = ljVar;
|
|
this.a = new ou<>(this.o.d().f(), this.o.d().i(), this);
|
|
this.s.f.a(o(), this.o.i().a().toString());
|
|
this.b = new ConcurrentHashMap<>();
|
|
this.i = null;
|
|
G();
|
|
this.g = new JSONObject();
|
|
if (this.o.r()) {
|
|
this.c = new com.ironsource.mediationsdk.e(new com.ironsource.mediationsdk.f(this.o.d(), IronSourceUtils.getSessionId()));
|
|
}
|
|
this.d = new com.ironsource.mediationsdk.h(this.o.k(), this.o.d().c());
|
|
s();
|
|
r();
|
|
this.m = new ta();
|
|
a(f.READY_TO_LOAD);
|
|
this.r = new yb(q0Var.a(), this);
|
|
this.u = new r();
|
|
this.s.f.a(ta.a(taVar));
|
|
if (this.o.i().e()) {
|
|
ironLog.verbose("first automatic load");
|
|
A();
|
|
}
|
|
}
|
|
|
|
public h7(q0 q0Var, lj ljVar, IronSourceSegment ironSourceSegment) {
|
|
this(el.N(), el.I(), q0Var, ljVar, ironSourceSegment);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public void B() {
|
|
f fVar;
|
|
IronLog ironLog = IronLog.INTERNAL;
|
|
ironLog.verbose(i());
|
|
synchronized (this.x) {
|
|
try {
|
|
if (this.o.i().e() && this.l.a()) {
|
|
ironLog.verbose(b("all smashes are capped"));
|
|
a(t1.a(this.o.b()), "all smashes are capped", false);
|
|
return;
|
|
}
|
|
if (!t() && this.p == f.SHOWING) {
|
|
IronLog.API.error(b("load cannot be invoked while showing an ad"));
|
|
a(new IronSourceError(t1.d(this.o.b()), "load cannot be invoked while showing an ad"));
|
|
return;
|
|
}
|
|
if (this.o.i().a() != g2.a.AUTOMATIC_LOAD_WHILE_SHOW && this.o.i().a() != g2.a.MANUAL_WITH_LOAD_ON_SHOW && (((fVar = this.p) != f.READY_TO_LOAD && fVar != f.READY_TO_SHOW) || com.ironsource.mediationsdk.n.a().b(this.o.b()))) {
|
|
IronLog.API.error(b("load is already in progress"));
|
|
return;
|
|
}
|
|
this.g = new JSONObject();
|
|
F();
|
|
if (v()) {
|
|
this.s.g.a();
|
|
} else {
|
|
this.s.g.a(q());
|
|
}
|
|
this.n = new ta();
|
|
if (this.o.r()) {
|
|
if (!this.b.isEmpty()) {
|
|
this.d.a(this.b);
|
|
this.b.clear();
|
|
}
|
|
K();
|
|
} else {
|
|
a(f.LOADING);
|
|
}
|
|
if (this.o.r()) {
|
|
return;
|
|
}
|
|
ironLog.verbose(b("auction disabled"));
|
|
L();
|
|
C();
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
|
|
private void C() {
|
|
uu<Smash> E = E();
|
|
if (E.c()) {
|
|
a(IronSourceError.ERROR_CODE_NO_ADS_TO_SHOW, "Mediation No fill", false);
|
|
}
|
|
Iterator<Smash> it = E.a().iterator();
|
|
while (it.hasNext()) {
|
|
it.next().E();
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public void D() {
|
|
IronLog.INTERNAL.verbose(i());
|
|
AsyncTask.execute(new d());
|
|
}
|
|
|
|
private uu<Smash> E() {
|
|
IronLog.INTERNAL.verbose();
|
|
return new tu(this.o).d(this.a.b());
|
|
}
|
|
|
|
private void F() {
|
|
this.u.a(this.o.b(), false);
|
|
}
|
|
|
|
private void K() {
|
|
IronLog.INTERNAL.verbose(i());
|
|
synchronized (this.x) {
|
|
try {
|
|
f fVar = this.p;
|
|
f fVar2 = f.AUCTION;
|
|
if (fVar == fVar2) {
|
|
return;
|
|
}
|
|
a(fVar2);
|
|
this.I.set(false);
|
|
long k = this.o.d().k() - ta.a(this.m);
|
|
if (k > 0) {
|
|
new Timer().schedule(new c(), k);
|
|
} else {
|
|
D();
|
|
}
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
|
|
private void L() {
|
|
IronLog.INTERNAL.verbose(i());
|
|
a(j(), m());
|
|
}
|
|
|
|
private Smash a(f5 f5Var, String str) {
|
|
NetworkSettings a2 = this.o.a(f5Var.c());
|
|
if (a2 != null) {
|
|
com.ironsource.mediationsdk.c.b().b(a2, this.o.b(), k());
|
|
BaseAdAdapter<?, Listener> a3 = a(a2, this.o.b());
|
|
if (a3 != null) {
|
|
Smash a4 = a(a2, a3, this.C.a(this.o.b()), str, f5Var);
|
|
this.b.put(f5Var.c(), h.a.ISAuctionPerformanceDidntAttemptToLoad);
|
|
return a4;
|
|
}
|
|
IronLog.INTERNAL.error(b("addSmashToWaterfall - could not load ad adapter for " + a2.getProviderInstanceName()));
|
|
} else {
|
|
String str2 = "could not find matching provider settings for auction response item - item = " + f5Var.c() + " state = " + this.p;
|
|
IronLog.INTERNAL.error(b(str2));
|
|
this.s.k.g(str2);
|
|
}
|
|
return null;
|
|
}
|
|
|
|
private ti a(q0 q0Var) {
|
|
if (q0Var.m()) {
|
|
return IronSourceThreadManager.INSTANCE.getSharedManagersThread();
|
|
}
|
|
return null;
|
|
}
|
|
|
|
private String a(List<f5> list, String str) {
|
|
IronLog.INTERNAL.verbose(b("waterfall.size() = " + list.size()));
|
|
this.b.clear();
|
|
StringBuilder sb = new StringBuilder();
|
|
CopyOnWriteArrayList<Smash> copyOnWriteArrayList = new CopyOnWriteArrayList<>();
|
|
for (int i = 0; i < list.size(); i++) {
|
|
f5 f5Var = list.get(i);
|
|
Smash a2 = a(f5Var, str);
|
|
if (a2 != null) {
|
|
copyOnWriteArrayList.add(a2);
|
|
sb.append(a(f5Var, a2.l()));
|
|
}
|
|
if (i != list.size() - 1) {
|
|
sb.append(",");
|
|
}
|
|
}
|
|
this.a.a(this.o.i().a(), copyOnWriteArrayList, str);
|
|
IronLog.INTERNAL.verbose(b("updateWaterfall() - next waterfall is " + ((Object) sb)));
|
|
return sb.toString();
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public void a(Map<String, Object> map, List<String> list, String str) {
|
|
IronLog ironLog = IronLog.INTERNAL;
|
|
ironLog.verbose(b("auction waterfallString = " + str));
|
|
boolean z = false;
|
|
if (map.size() == 0 && list.size() == 0) {
|
|
ironLog.verbose(b("auction failed - no candidates"));
|
|
this.s.i.a(1005, "No candidates available for auctioning");
|
|
a(t1.e(this.o.b()), "no available ad to load", false);
|
|
return;
|
|
}
|
|
this.s.i.b(str);
|
|
if (this.c == null) {
|
|
ironLog.error(b("mAuctionHandler is null"));
|
|
return;
|
|
}
|
|
int a2 = this.C.a(this.o.b());
|
|
com.ironsource.mediationsdk.i iVar = new com.ironsource.mediationsdk.i(this.o.b());
|
|
iVar.b(IronSourceUtils.isEncryptedResponse());
|
|
iVar.a(map);
|
|
iVar.a(list);
|
|
iVar.a(this.d);
|
|
iVar.a(a2);
|
|
iVar.a(this.v);
|
|
iVar.d(this.G);
|
|
ts tsVar = this.H;
|
|
if (tsVar != null && tsVar.b()) {
|
|
z = true;
|
|
}
|
|
iVar.e(z);
|
|
a(ContextProvider.getInstance().getApplicationContext(), iVar, this);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public void a(Map<String, Object> map, List<String> list, StringBuilder sb, List<q7> list2) {
|
|
if (list2.isEmpty()) {
|
|
a(map, list, sb.toString());
|
|
return;
|
|
}
|
|
t7 t7Var = new t7();
|
|
e eVar = new e(map, sb, list);
|
|
this.s.h.a();
|
|
t7Var.a(list2, eVar, this.o.f(), TimeUnit.MILLISECONDS);
|
|
}
|
|
|
|
private void a(JSONObject jSONObject) {
|
|
this.u.a(this.o.b(), jSONObject != null ? jSONObject.optBoolean(com.ironsource.mediationsdk.d.e, false) : false);
|
|
b(jSONObject);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public Map<String, Object> b(NetworkSettings networkSettings, AdapterBaseInterface adapterBaseInterface) {
|
|
HashMap hashMap = new HashMap();
|
|
try {
|
|
hashMap.put(IronSourceConstants.EVENTS_PROVIDER, networkSettings.getProviderDefaultInstance());
|
|
hashMap.put(IronSourceConstants.EVENTS_PROVIDER_ADAPTER_VERSION, adapterBaseInterface.getAdapterVersion());
|
|
hashMap.put(IronSourceConstants.EVENTS_PROVIDER_SDK_VERSION, adapterBaseInterface.getNetworkSDKVersion());
|
|
hashMap.put("spId", networkSettings.getSubProviderId());
|
|
hashMap.put("instanceType", Integer.valueOf(networkSettings.getInstanceType(this.o.b())));
|
|
hashMap.put(IronSourceConstants.EVENTS_PROGRAMMATIC, Integer.valueOf(p()));
|
|
} catch (Exception e2) {
|
|
i9.d().a(e2);
|
|
IronSourceLoggerManager.getLogger().logException(IronSourceLogger.IronSourceTag.INTERNAL, "getProviderEventData " + networkSettings.getProviderDefaultInstance(), e2);
|
|
}
|
|
return hashMap;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public void b(Map<String, Object> map, List<String> list, StringBuilder sb, List<q7> list2) {
|
|
StringBuilder sb2;
|
|
String str;
|
|
String sb3;
|
|
StringBuilder sb4;
|
|
String str2;
|
|
for (NetworkSettings networkSettings : this.o.k()) {
|
|
ts tsVar = this.H;
|
|
if (tsVar == null || tsVar.a(networkSettings, this.o.b())) {
|
|
if (!this.l.b(new gr(networkSettings.getProviderInstanceName(), networkSettings.getMaxAdsPerSession(this.o.b()))) && d(networkSettings)) {
|
|
AdData a2 = a(networkSettings, (String) null);
|
|
if (networkSettings.isBidder(this.o.b())) {
|
|
AdapterBaseInterface b2 = com.ironsource.mediationsdk.c.b().b(networkSettings, this.o.b(), k());
|
|
if (!(b2 instanceof s7)) {
|
|
if (b2 == null) {
|
|
sb2 = new StringBuilder();
|
|
sb2.append("prepareAuctionCandidates - could not load network adapter ");
|
|
str = networkSettings.getProviderName();
|
|
} else {
|
|
sb2 = new StringBuilder();
|
|
sb2.append("network adapter ");
|
|
sb2.append(networkSettings.getProviderName());
|
|
str = " does not implementing BiddingDataInterface";
|
|
}
|
|
sb2.append(str);
|
|
sb3 = sb2.toString();
|
|
} else if (this.o.e()) {
|
|
list2.add(new q7(networkSettings.getInstanceType(this.o.b()), networkSettings.getProviderInstanceName(), a2, (s7) b2, this, networkSettings));
|
|
} else {
|
|
try {
|
|
Map<String, Object> a3 = ((s7) b2).a(a2);
|
|
if (a3 != null) {
|
|
map.put(networkSettings.getProviderInstanceName(), a3);
|
|
sb.append(networkSettings.getInstanceType(this.o.b()));
|
|
sb.append(networkSettings.getProviderInstanceName());
|
|
sb.append(",");
|
|
} else {
|
|
this.s.k.a(b(networkSettings, b2), "Missing bidding data");
|
|
}
|
|
} catch (Exception e2) {
|
|
e = e2;
|
|
i9.d().a(e);
|
|
sb4 = new StringBuilder();
|
|
str2 = "prepareAuctionCandidates - exception while calling networkAdapter.getBiddingData - ";
|
|
sb4.append(str2);
|
|
sb4.append(e.getMessage());
|
|
sb3 = sb4.toString();
|
|
IronLog.INTERNAL.error(sb3);
|
|
this.s.k.f(sb3);
|
|
} catch (NoClassDefFoundError e3) {
|
|
e = e3;
|
|
i9.d().a(e);
|
|
sb4 = new StringBuilder();
|
|
str2 = "prepareAuctionCandidates - error while calling networkAdapter.getBiddingData - ";
|
|
sb4.append(str2);
|
|
sb4.append(e.getMessage());
|
|
sb3 = sb4.toString();
|
|
IronLog.INTERNAL.error(sb3);
|
|
this.s.k.f(sb3);
|
|
}
|
|
}
|
|
this.s.k.f(sb3);
|
|
} else {
|
|
list.add(networkSettings.getProviderInstanceName());
|
|
sb.append(networkSettings.getInstanceType(this.o.b()));
|
|
sb.append(networkSettings.getProviderInstanceName());
|
|
sb.append(",");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
private void b(JSONObject jSONObject) {
|
|
int i;
|
|
if (jSONObject == null) {
|
|
this.o.b(false);
|
|
IronLog.INTERNAL.verbose(b("loading configuration from auction response is null, using the following: " + this.o.s()));
|
|
return;
|
|
}
|
|
try {
|
|
try {
|
|
if (jSONObject.has(com.ironsource.mediationsdk.d.w) && (i = jSONObject.getInt(com.ironsource.mediationsdk.d.w)) > 0) {
|
|
this.o.a(i);
|
|
}
|
|
if (jSONObject.has(com.ironsource.mediationsdk.d.x)) {
|
|
this.o.a(jSONObject.getBoolean(com.ironsource.mediationsdk.d.x));
|
|
}
|
|
this.o.b(jSONObject.optBoolean(com.ironsource.mediationsdk.d.y, false));
|
|
IronLog.INTERNAL.verbose(b(this.o.s()));
|
|
} catch (JSONException e2) {
|
|
i9.d().a(e2);
|
|
IronLog ironLog = IronLog.INTERNAL;
|
|
ironLog.error("failed to update loading configuration for" + this.o.b() + " Error: " + e2.getMessage());
|
|
ironLog.verbose(b(this.o.s()));
|
|
}
|
|
} catch (Throwable th) {
|
|
IronLog.INTERNAL.verbose(b(this.o.s()));
|
|
throw th;
|
|
}
|
|
}
|
|
|
|
private boolean b(u1 u1Var) {
|
|
return !new ArrayList(Arrays.asList(u1.INIT_STARTED, u1.LOAD_AD, u1.AUCTION_REQUEST, u1.AUCTION_REQUEST_WATERFALL, u1.AUCTION_FAILED_NO_CANDIDATES, u1.COLLECT_TOKEN, u1.COLLECT_TOKENS_COMPLETED, u1.COLLECT_TOKENS_FAILED, u1.INSTANCE_COLLECT_TOKEN, u1.INSTANCE_COLLECT_TOKEN_SUCCESS, u1.INSTANCE_COLLECT_TOKEN_FAILED, u1.INSTANCE_COLLECT_TOKEN_TIMED_OUT)).contains(u1Var);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public void c(NetworkSettings networkSettings) {
|
|
IronLog.INTERNAL.verbose(b(String.format("Start initializing provider %s on thread %s", networkSettings.getProviderInstanceName(), Thread.currentThread().getName())));
|
|
AdData a2 = a(networkSettings, this.o.p());
|
|
AdapterBaseInterface b2 = com.ironsource.mediationsdk.c.b().b(networkSettings, this.o.b(), k());
|
|
if (b2 != null) {
|
|
try {
|
|
b2.init(a2, ContextProvider.getInstance().getApplicationContext(), null);
|
|
} catch (Exception e2) {
|
|
i9.d().a(e2);
|
|
this.s.k.f("initProvider - exception while calling networkAdapter.init with " + networkSettings.getProviderName() + " - " + e2);
|
|
}
|
|
}
|
|
IronLog.INTERNAL.verbose(b(String.format("Done initializing provider %s on thread %s", networkSettings.getProviderInstanceName(), Thread.currentThread().getName())));
|
|
}
|
|
|
|
private boolean c(NetworkSettings networkSettings, AdapterBaseInterface adapterBaseInterface) {
|
|
if (this.a.a(adapterBaseInterface, this.o.b(), networkSettings.getProviderInstanceName())) {
|
|
return false;
|
|
}
|
|
return networkSettings.shouldEarlyInit() || networkSettings.isIronSource() || networkSettings.isBidder(this.o.b());
|
|
}
|
|
|
|
private boolean c(u1 u1Var) {
|
|
return new ArrayList(Arrays.asList(u1.LOAD_AD_SUCCESS, u1.LOAD_AD_FAILED, u1.LOAD_AD_FAILED_WITH_REASON, u1.AUCTION_SUCCESS, u1.AUCTION_FAILED, u1.AUCTION_FAILED_NO_CANDIDATES, u1.AD_FORMAT_CAPPED, u1.AD_OPENED, u1.SHOW_AD, u1.SHOW_AD_FAILED, u1.AD_CLICKED, u1.RELOAD_AD_FAILED_WITH_REASON, u1.RELOAD_AD_SUCCESS, u1.AD_LEFT_APPLICATION)).contains(u1Var);
|
|
}
|
|
|
|
private boolean c(boolean z) {
|
|
Boolean bool = this.z;
|
|
if (bool == null) {
|
|
return false;
|
|
}
|
|
return (z && !bool.booleanValue() && u()) || (!z && this.z.booleanValue());
|
|
}
|
|
|
|
private boolean d(NetworkSettings networkSettings) {
|
|
AdapterBaseInterface b2 = com.ironsource.mediationsdk.c.b().b(networkSettings, this.o.b(), k());
|
|
if (b2 instanceof AdapterSettingsInterface) {
|
|
return this.a.a(this.o.i().a(), networkSettings.getProviderInstanceName(), networkSettings.getProviderTypeForReflection(), a(networkSettings, b2), b2, this.o.b());
|
|
}
|
|
return false;
|
|
}
|
|
|
|
private List<f5> j() {
|
|
CopyOnWriteArrayList copyOnWriteArrayList = new CopyOnWriteArrayList();
|
|
for (NetworkSettings networkSettings : this.o.k()) {
|
|
if (!networkSettings.isBidder(this.o.b()) && d(networkSettings)) {
|
|
gr grVar = new gr(networkSettings.getProviderInstanceName(), networkSettings.getMaxAdsPerSession(this.o.b()));
|
|
if (!this.l.b(grVar)) {
|
|
copyOnWriteArrayList.add(new f5(grVar.c()));
|
|
}
|
|
}
|
|
}
|
|
return copyOnWriteArrayList;
|
|
}
|
|
|
|
private int p() {
|
|
return 1;
|
|
}
|
|
|
|
private void r() {
|
|
IronLog.INTERNAL.verbose(i());
|
|
ArrayList arrayList = new ArrayList();
|
|
for (NetworkSettings networkSettings : this.o.k()) {
|
|
if (c(networkSettings, com.ironsource.mediationsdk.c.b().b(networkSettings, this.o.b(), k()))) {
|
|
arrayList.add(new b(networkSettings));
|
|
}
|
|
}
|
|
IronSourceThreadManager.INSTANCE.executeTasks(this.o.l(), this.o.q(), arrayList);
|
|
}
|
|
|
|
private void s() {
|
|
ArrayList arrayList = new ArrayList();
|
|
for (NetworkSettings networkSettings : this.o.k()) {
|
|
arrayList.add(new gr(networkSettings.getProviderInstanceName(), networkSettings.getMaxAdsPerSession(this.o.b())));
|
|
}
|
|
hr hrVar = new hr();
|
|
this.l = hrVar;
|
|
hrVar.a(arrayList);
|
|
}
|
|
|
|
public void A() {
|
|
if (c()) {
|
|
a(new a());
|
|
} else {
|
|
B();
|
|
}
|
|
}
|
|
|
|
public void G() {
|
|
com.ironsource.mediationsdk.n.a().a(this.o.b(), this.o.g());
|
|
}
|
|
|
|
public boolean H() {
|
|
return true;
|
|
}
|
|
|
|
public boolean I() {
|
|
return true;
|
|
}
|
|
|
|
public void J() {
|
|
Iterator<NetworkSettings> it = this.o.k().iterator();
|
|
while (it.hasNext()) {
|
|
com.ironsource.mediationsdk.c.b().b(it.next(), this.o.b(), k());
|
|
}
|
|
}
|
|
|
|
public abstract Smash a(NetworkSettings networkSettings, BaseAdAdapter<?, Listener> baseAdAdapter, int i, String str, f5 f5Var);
|
|
|
|
public LoadWhileShowSupportState a(NetworkSettings networkSettings, AdapterBaseInterface adapterBaseInterface) {
|
|
return LoadWhileShowSupportState.NONE;
|
|
}
|
|
|
|
public BaseAdAdapter<?, Listener> a(NetworkSettings networkSettings, IronSource.AD_UNIT ad_unit) {
|
|
BaseAdAdapter<?, Listener> baseAdAdapter = (BaseAdAdapter<?, Listener>) com.ironsource.mediationsdk.c.b().a(networkSettings, ad_unit, k());
|
|
if (baseAdAdapter != null) {
|
|
return baseAdAdapter;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public AdData a(NetworkSettings networkSettings, String str) {
|
|
return AdData.createAdDataForNetworkAdapter(b(networkSettings), this.o.b(), str);
|
|
}
|
|
|
|
public String a(f5 f5Var, int i) {
|
|
return String.format("%s%s", Integer.valueOf(i), f5Var.c());
|
|
}
|
|
|
|
@Override // com.ironsource.w1
|
|
public Map<String, Object> a(u1 u1Var) {
|
|
HashMap hashMap = new HashMap();
|
|
hashMap.put(IronSourceConstants.EVENTS_PROVIDER, "Mediation");
|
|
hashMap.put(IronSourceConstants.EVENTS_PROGRAMMATIC, 1);
|
|
JSONObject jSONObject = this.g;
|
|
if (jSONObject != null && jSONObject.length() > 0) {
|
|
hashMap.put("genericParams", this.g);
|
|
}
|
|
hashMap.put("sessionDepth", Integer.valueOf(this.C.a(this.o.b())));
|
|
if (c(u1Var)) {
|
|
hashMap.put(IronSourceConstants.AUCTION_TRIALS, Integer.valueOf(this.e));
|
|
if (!TextUtils.isEmpty(this.f)) {
|
|
hashMap.put(IronSourceConstants.AUCTION_FALLBACK, this.f);
|
|
}
|
|
}
|
|
if (b(u1Var) && !TextUtils.isEmpty(this.a.c())) {
|
|
hashMap.put("auctionId", this.a.c());
|
|
}
|
|
return hashMap;
|
|
}
|
|
|
|
@Override // com.ironsource.xk
|
|
public void a() {
|
|
IronLog.INTERNAL.verbose(i());
|
|
A();
|
|
}
|
|
|
|
@Override // com.ironsource.pu
|
|
public void a(int i) {
|
|
this.s.k.t("waterfalls hold too many with size = " + i);
|
|
}
|
|
|
|
@Override // com.ironsource.l4
|
|
public void a(int i, String str, int i2, String str2, long j) {
|
|
IronLog ironLog = IronLog.INTERNAL;
|
|
ironLog.verbose(i());
|
|
if (!y()) {
|
|
String str3 = "unexpected auction fail - error = " + i + ", " + str + " state = " + this.p;
|
|
ironLog.error(b(str3));
|
|
this.s.k.h(str3);
|
|
return;
|
|
}
|
|
String str4 = "Auction failed | moving to fallback waterfall (error " + i + " - " + str + ")";
|
|
ironLog.verbose(b(str4));
|
|
IronSourceUtils.sendAutomationLog(l() + ": " + str4);
|
|
this.e = i2;
|
|
this.f = str2;
|
|
this.g = new JSONObject();
|
|
L();
|
|
this.s.i.a(j, i, str);
|
|
a(f.LOADING);
|
|
C();
|
|
}
|
|
|
|
public void a(int i, String str, boolean z) {
|
|
IronLog ironLog = IronLog.INTERNAL;
|
|
ironLog.verbose();
|
|
a(f.READY_TO_LOAD);
|
|
ironLog.verbose(b("errorCode = " + i + ", errorReason = " + str));
|
|
if (this.o.i().f()) {
|
|
if (!z) {
|
|
this.s.g.a(ta.a(this.n), i, str);
|
|
}
|
|
a(new IronSourceError(i, str));
|
|
} else {
|
|
if (!z) {
|
|
this.s.k.b(i, str);
|
|
}
|
|
b(false);
|
|
}
|
|
this.q.e();
|
|
}
|
|
|
|
public void a(Context context, com.ironsource.mediationsdk.i iVar, l4 l4Var) {
|
|
com.ironsource.mediationsdk.e eVar = this.c;
|
|
if (eVar != null) {
|
|
eVar.a(context, iVar, l4Var);
|
|
} else {
|
|
IronLog.INTERNAL.error(b("mAuctionHandler is null"));
|
|
}
|
|
}
|
|
|
|
public void a(Context context, boolean z) {
|
|
IronLog.INTERNAL.verbose(b("track = " + z));
|
|
try {
|
|
this.j = z;
|
|
if (z) {
|
|
if (this.k == null) {
|
|
this.k = new NetworkStateReceiver(context, this);
|
|
}
|
|
context.getApplicationContext().registerReceiver(this.k, new IntentFilter("android.net.conn.CONNECTIVITY_CHANGE"));
|
|
} else if (this.k != null) {
|
|
context.getApplicationContext().unregisterReceiver(this.k);
|
|
}
|
|
} catch (Exception e2) {
|
|
i9.d().a(e2);
|
|
IronLog.INTERNAL.error("Got an error from receiver with message: " + e2.getMessage());
|
|
}
|
|
}
|
|
|
|
public void a(e2 e2Var) {
|
|
this.t = e2Var;
|
|
}
|
|
|
|
public void a(f fVar) {
|
|
synchronized (this.x) {
|
|
IronLog.INTERNAL.verbose("set current state to = " + fVar);
|
|
this.p = fVar;
|
|
}
|
|
}
|
|
|
|
public void a(k7<?> k7Var, AdInfo adInfo) {
|
|
this.t.c(adInfo);
|
|
}
|
|
|
|
public void a(IronSourceSegment ironSourceSegment) {
|
|
this.v = ironSourceSegment;
|
|
}
|
|
|
|
public void a(IronSourceError ironSourceError) {
|
|
com.ironsource.mediationsdk.n.a().b(this.o.b(), ironSourceError);
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:17:0x0070 A[RETURN] */
|
|
/* JADX WARN: Removed duplicated region for block: B:19:0x0071 */
|
|
@Override // com.ironsource.j2
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public void a(com.ironsource.mediationsdk.logger.IronSourceError r5, com.ironsource.k7<?> r6) {
|
|
/*
|
|
Method dump skipped, instructions count: 284
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.ironsource.h7.a(com.ironsource.mediationsdk.logger.IronSourceError, com.ironsource.k7):void");
|
|
}
|
|
|
|
@Override // com.ironsource.r7
|
|
public void a(NetworkSettings networkSettings) {
|
|
AdapterBaseInterface b2 = com.ironsource.mediationsdk.c.b().b(networkSettings, this.o.b(), k());
|
|
if (b2 != null) {
|
|
this.s.h.a(b(networkSettings, b2));
|
|
}
|
|
}
|
|
|
|
public void a(ts tsVar) {
|
|
this.H = tsVar;
|
|
this.G = tsVar != null;
|
|
this.z = null;
|
|
}
|
|
|
|
@Override // com.ironsource.ko
|
|
public void a(Runnable runnable) {
|
|
ti tiVar = this.J;
|
|
if (tiVar != null) {
|
|
tiVar.a(runnable);
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.r7
|
|
public void a(String str) {
|
|
this.s.k.f(str);
|
|
}
|
|
|
|
@Override // com.ironsource.l4
|
|
public void a(List<f5> list, String str, f5 f5Var, JSONObject jSONObject, JSONObject jSONObject2, int i, long j, int i2, String str2) {
|
|
IronLog ironLog = IronLog.INTERNAL;
|
|
ironLog.verbose(i());
|
|
if (!y()) {
|
|
ironLog.error(b("unexpected auction success for auctionId - " + str + " state = " + this.p));
|
|
ut utVar = this.s.k;
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("unexpected auction success, state = ");
|
|
sb.append(this.p);
|
|
utVar.i(sb.toString());
|
|
return;
|
|
}
|
|
this.f = "";
|
|
this.e = i;
|
|
this.h = f5Var;
|
|
this.g = jSONObject;
|
|
if (!TextUtils.isEmpty(str2)) {
|
|
this.s.k.a(i2, str2);
|
|
}
|
|
a(jSONObject2);
|
|
if (this.u.a(this.o.b())) {
|
|
this.s.i.a(str);
|
|
a(IronSourceError.ERROR_AD_FORMAT_CAPPED, "Ad unit is capped", true);
|
|
return;
|
|
}
|
|
String a2 = a(list, str);
|
|
this.s.i.a(j, this.o.s());
|
|
this.s.i.c(a2);
|
|
a(f.LOADING);
|
|
C();
|
|
}
|
|
|
|
@Override // com.ironsource.vm
|
|
public void a(boolean z) {
|
|
if (!this.j || this.o.i().f()) {
|
|
return;
|
|
}
|
|
IronLog.INTERNAL.verbose("network availability changed to - " + z);
|
|
if (c(z)) {
|
|
a(z, false, (k7<?>) null);
|
|
}
|
|
}
|
|
|
|
public void a(boolean z, boolean z2, k7<?> k7Var) {
|
|
synchronized (this.x) {
|
|
try {
|
|
Boolean bool = this.z;
|
|
if (bool != null) {
|
|
if (bool.booleanValue() != z) {
|
|
}
|
|
}
|
|
this.z = Boolean.valueOf(z);
|
|
long j = 0;
|
|
if (this.y != 0) {
|
|
j = new Date().getTime() - this.y;
|
|
}
|
|
this.y = new Date().getTime();
|
|
this.s.g.a(z, j, z2);
|
|
AdInfo f2 = k7Var != null ? k7Var.f() : this.A;
|
|
this.A = f2;
|
|
e2 e2Var = this.t;
|
|
if (!z) {
|
|
f2 = null;
|
|
}
|
|
e2Var.a(z, f2);
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
}
|
|
|
|
public boolean a(f fVar, f fVar2) {
|
|
boolean z;
|
|
synchronized (this.x) {
|
|
try {
|
|
if (this.p == fVar) {
|
|
IronLog.INTERNAL.verbose("expected state = " + fVar + ", state to set = " + fVar2);
|
|
this.p = fVar2;
|
|
z = true;
|
|
} else {
|
|
IronLog.INTERNAL.verbose("wrong state, current state = " + this.p + ", expected state = " + fVar);
|
|
z = false;
|
|
}
|
|
} catch (Throwable th) {
|
|
throw th;
|
|
}
|
|
}
|
|
return z;
|
|
}
|
|
|
|
public String b(String str) {
|
|
String str2 = this.o.b().name() + " state:" + this.p;
|
|
if (TextUtils.isEmpty(str)) {
|
|
return str2;
|
|
}
|
|
return str2 + " - " + str;
|
|
}
|
|
|
|
public abstract JSONObject b(NetworkSettings networkSettings);
|
|
|
|
@Override // com.ironsource.o
|
|
public void b() {
|
|
if (this.o.i().e()) {
|
|
a(f.READY_TO_LOAD);
|
|
b(true);
|
|
A();
|
|
}
|
|
}
|
|
|
|
public void b(f5 f5Var, String str) {
|
|
if (f5Var == null) {
|
|
IronLog.INTERNAL.error(b("reportImpressionDataToPublisher - no auctionResponseItem or listener"));
|
|
x1 x1Var = this.s;
|
|
if (x1Var != null) {
|
|
x1Var.k.f("reportImpressionDataToPublisher - no auctionResponseItem or listener");
|
|
return;
|
|
}
|
|
return;
|
|
}
|
|
ImpressionData a2 = f5Var.a(str);
|
|
if (a2 != null) {
|
|
for (ImpressionDataListener impressionDataListener : new HashSet(this.B.a())) {
|
|
IronLog.CALLBACK.info(b("onImpressionSuccess " + impressionDataListener.getClass().getSimpleName() + ": " + a2));
|
|
impressionDataListener.onImpressionSuccess(a2);
|
|
}
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.j2
|
|
public void b(k7<?> k7Var) {
|
|
IronLog ironLog = IronLog.INTERNAL;
|
|
ironLog.verbose(b(k7Var.k()));
|
|
this.s.j.g(n());
|
|
this.a.a(k7Var);
|
|
this.a.b(k7Var);
|
|
this.l.a(k7Var);
|
|
if (this.l.b(k7Var)) {
|
|
ironLog.verbose(b(k7Var.c() + " was session capped"));
|
|
k7Var.N();
|
|
IronSourceUtils.sendAutomationLog(k7Var.c() + " was session capped");
|
|
}
|
|
this.F.a(ContextProvider.getInstance().getApplicationContext(), n(), this.o.b());
|
|
if (this.E.b(ContextProvider.getInstance().getApplicationContext(), this.i, this.o.b())) {
|
|
ironLog.verbose(b("placement " + n() + " is capped"));
|
|
this.s.j.b(n(), null);
|
|
}
|
|
this.D.b(this.o.b());
|
|
if (this.o.r()) {
|
|
f5 i = k7Var.i();
|
|
this.c.a(i, k7Var.l(), this.h, n());
|
|
this.b.put(k7Var.c(), h.a.ISAuctionPerformanceShowedSuccessfully);
|
|
if (H()) {
|
|
b(i, n());
|
|
}
|
|
}
|
|
g(k7Var);
|
|
if (this.o.i().e()) {
|
|
b(false);
|
|
}
|
|
this.q.h();
|
|
}
|
|
|
|
public void b(boolean z) {
|
|
a(false, z, (k7<?>) null);
|
|
}
|
|
|
|
@Override // com.ironsource.ko
|
|
public boolean c() {
|
|
ti tiVar = this.J;
|
|
if (tiVar == null || tiVar == Thread.currentThread()) {
|
|
return false;
|
|
}
|
|
return this.o.m();
|
|
}
|
|
|
|
@Override // com.ironsource.j2
|
|
public void e(k7<?> k7Var) {
|
|
IronLog ironLog = IronLog.INTERNAL;
|
|
ironLog.verbose(b(k7Var.k()));
|
|
if (!k7Var.h().equals(this.a.c())) {
|
|
ironLog.error(b("invoked from " + k7Var.c() + " with state = " + this.p + " auctionId: " + k7Var.h() + " and the current id is " + this.a.c()));
|
|
ut utVar = this.s.k;
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append("onAdLoadSuccess invoked with state = ");
|
|
sb.append(this.p);
|
|
utVar.n(sb.toString());
|
|
return;
|
|
}
|
|
if (this.o.n()) {
|
|
List<Smash> b2 = this.a.b();
|
|
tu tuVar = new tu(this.o);
|
|
boolean a2 = tuVar.a(k7Var, b2);
|
|
synchronized (this.x) {
|
|
if (a2) {
|
|
try {
|
|
if (w()) {
|
|
i(k7Var);
|
|
}
|
|
} finally {
|
|
}
|
|
}
|
|
if (tuVar.a(b2)) {
|
|
i(tuVar.c(b2));
|
|
}
|
|
}
|
|
}
|
|
this.b.put(k7Var.c(), h.a.ISAuctionPerformanceLoadedSuccessfully);
|
|
if (a(f.LOADING, f.READY_TO_SHOW)) {
|
|
long a3 = ta.a(this.n);
|
|
if (v()) {
|
|
this.s.g.a(a3);
|
|
} else {
|
|
this.s.g.a(a3, q());
|
|
}
|
|
if (this.o.i().e()) {
|
|
this.r.a(0L);
|
|
}
|
|
if (!this.o.n()) {
|
|
i(k7Var);
|
|
}
|
|
h(k7Var);
|
|
}
|
|
}
|
|
|
|
@Override // com.ironsource.j2
|
|
public void f(k7<?> k7Var) {
|
|
IronLog.INTERNAL.verbose(b(k7Var.k()));
|
|
this.s.j.a(n());
|
|
this.t.a(this.i, k7Var.f());
|
|
}
|
|
|
|
public abstract e2 g();
|
|
|
|
public void g(k7<?> k7Var) {
|
|
this.t.d(k7Var.f());
|
|
}
|
|
|
|
public i2 h() {
|
|
return new i2(this.o.i(), this);
|
|
}
|
|
|
|
public void h(k7<?> k7Var) {
|
|
if (this.o.i().f()) {
|
|
a(k7Var, k7Var.f());
|
|
} else {
|
|
a(true, false, k7Var);
|
|
}
|
|
}
|
|
|
|
public String i() {
|
|
return b((String) null);
|
|
}
|
|
|
|
public void i(k7<?> k7Var) {
|
|
if (this.o.r() && this.I.compareAndSet(false, true)) {
|
|
f5 i = k7Var.i();
|
|
this.c.a(i, k7Var.l(), this.h);
|
|
ArrayList<String> arrayList = new ArrayList<>();
|
|
ConcurrentHashMap<String, f5> concurrentHashMap = new ConcurrentHashMap<>();
|
|
for (Smash smash : this.a.b()) {
|
|
arrayList.add(smash.c());
|
|
concurrentHashMap.put(smash.c(), smash.i());
|
|
}
|
|
this.c.a(arrayList, concurrentHashMap, k7Var.l(), this.h, i);
|
|
}
|
|
}
|
|
|
|
public UUID k() {
|
|
return this.w;
|
|
}
|
|
|
|
public abstract String l();
|
|
|
|
public String m() {
|
|
return "fallback_" + System.currentTimeMillis();
|
|
}
|
|
|
|
public String n() {
|
|
Placement placement = this.i;
|
|
return placement == null ? "" : placement.getPlacementName();
|
|
}
|
|
|
|
public abstract String o();
|
|
|
|
public boolean q() {
|
|
return false;
|
|
}
|
|
|
|
public boolean t() {
|
|
return false;
|
|
}
|
|
|
|
public boolean u() {
|
|
return false;
|
|
}
|
|
|
|
public abstract boolean v();
|
|
|
|
public boolean w() {
|
|
boolean z;
|
|
synchronized (this.x) {
|
|
try {
|
|
f fVar = this.p;
|
|
z = fVar == f.LOADING || fVar == f.READY_TO_SHOW;
|
|
} finally {
|
|
}
|
|
}
|
|
return z;
|
|
}
|
|
|
|
public boolean x() {
|
|
boolean z;
|
|
synchronized (this.x) {
|
|
z = this.p == f.READY_TO_SHOW;
|
|
}
|
|
return z;
|
|
}
|
|
|
|
public boolean y() {
|
|
boolean z;
|
|
synchronized (this.x) {
|
|
z = this.p == f.AUCTION;
|
|
}
|
|
return z;
|
|
}
|
|
|
|
public boolean z() {
|
|
boolean z;
|
|
synchronized (this.x) {
|
|
z = this.p == f.LOADING;
|
|
}
|
|
return z;
|
|
}
|
|
}
|