- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
114 lines
2.2 KiB
Java
114 lines
2.2 KiB
Java
package com.ironsource;
|
|
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class ha {
|
|
public static final int h = 0;
|
|
public static final int i = 1;
|
|
public static final int j = 2;
|
|
public static final int k = 3;
|
|
public static final int l = -1;
|
|
private String a;
|
|
private String b;
|
|
private int c;
|
|
private Map<String, String> d;
|
|
private int e;
|
|
private boolean f;
|
|
private mi g;
|
|
|
|
public ha(mi miVar) {
|
|
this(miVar.e(), miVar.g(), miVar.a(), miVar.b());
|
|
this.g = miVar;
|
|
}
|
|
|
|
public ha(String str, String str2, Map<String, String> map, an anVar) {
|
|
this.c = -1;
|
|
this.b = str;
|
|
this.a = str2;
|
|
this.d = map;
|
|
this.e = 0;
|
|
this.f = false;
|
|
this.g = null;
|
|
}
|
|
|
|
public void a() {
|
|
Map<String, String> map = this.d;
|
|
if (map != null) {
|
|
map.clear();
|
|
}
|
|
this.d = null;
|
|
}
|
|
|
|
public void a(boolean z) {
|
|
this.f = z;
|
|
}
|
|
|
|
public boolean a(int i2) {
|
|
return this.c == i2;
|
|
}
|
|
|
|
public Map<String, String> b() {
|
|
HashMap hashMap = new HashMap();
|
|
hashMap.put("demandSourceId", this.b);
|
|
hashMap.put("demandSourceName", this.a);
|
|
Map<String, String> map = this.d;
|
|
if (map != null) {
|
|
hashMap.putAll(map);
|
|
}
|
|
return hashMap;
|
|
}
|
|
|
|
public synchronized void b(int i2) {
|
|
this.e = i2;
|
|
}
|
|
|
|
public mi c() {
|
|
return this.g;
|
|
}
|
|
|
|
public void c(int i2) {
|
|
this.c = i2;
|
|
}
|
|
|
|
public boolean d() {
|
|
return this.f;
|
|
}
|
|
|
|
public int e() {
|
|
return this.e;
|
|
}
|
|
|
|
public String f() {
|
|
return this.a;
|
|
}
|
|
|
|
public Map<String, String> g() {
|
|
return this.d;
|
|
}
|
|
|
|
public String h() {
|
|
return this.b;
|
|
}
|
|
|
|
public an i() {
|
|
if (this.g != null) {
|
|
return c().b();
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public int j() {
|
|
return this.c;
|
|
}
|
|
|
|
public boolean k() {
|
|
Map<String, String> map = this.d;
|
|
if (map == null || !map.containsKey("rewarded")) {
|
|
return false;
|
|
}
|
|
return Boolean.parseBoolean(this.d.get("rewarded"));
|
|
}
|
|
}
|