- 28,932 files - Full Java source code - Smali files - Resources Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
72 lines
2.1 KiB
Java
72 lines
2.1 KiB
Java
package com.ironsource;
|
|
|
|
import android.text.TextUtils;
|
|
import com.ironsource.mediationsdk.utils.IronSourceConstants;
|
|
import java.util.HashMap;
|
|
import java.util.Map;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public class pt {
|
|
private final x1 a;
|
|
|
|
public pt(x1 x1Var) {
|
|
this.a = x1Var;
|
|
}
|
|
|
|
public void a() {
|
|
this.a.a(u1.COLLECT_TOKEN, new HashMap());
|
|
}
|
|
|
|
public void a(long j) {
|
|
HashMap hashMap = new HashMap();
|
|
hashMap.put(IronSourceConstants.EVENTS_DURATION, Long.valueOf(j));
|
|
this.a.a(u1.COLLECT_TOKENS_COMPLETED, hashMap);
|
|
}
|
|
|
|
public void a(String str) {
|
|
HashMap hashMap = new HashMap();
|
|
if (!TextUtils.isEmpty(str)) {
|
|
hashMap.put("reason", str);
|
|
}
|
|
this.a.a(u1.COLLECT_TOKENS_FAILED, hashMap);
|
|
}
|
|
|
|
public void a(Map<String, Object> map) {
|
|
HashMap hashMap = new HashMap();
|
|
if (map != null && !map.isEmpty()) {
|
|
hashMap.putAll(map);
|
|
}
|
|
this.a.a(u1.INSTANCE_COLLECT_TOKEN, hashMap);
|
|
}
|
|
|
|
public void a(Map<String, Object> map, long j) {
|
|
HashMap hashMap = new HashMap();
|
|
hashMap.put(IronSourceConstants.EVENTS_DURATION, Long.valueOf(j));
|
|
if (map != null && !map.isEmpty()) {
|
|
hashMap.putAll(map);
|
|
}
|
|
this.a.a(u1.INSTANCE_COLLECT_TOKEN_SUCCESS, hashMap);
|
|
}
|
|
|
|
public void a(Map<String, Object> map, long j, String str) {
|
|
HashMap hashMap = new HashMap();
|
|
hashMap.put(IronSourceConstants.EVENTS_DURATION, Long.valueOf(j));
|
|
if (!TextUtils.isEmpty(str)) {
|
|
hashMap.put("reason", str);
|
|
}
|
|
if (map != null && !map.isEmpty()) {
|
|
hashMap.putAll(map);
|
|
}
|
|
this.a.a(u1.INSTANCE_COLLECT_TOKEN_FAILED, hashMap);
|
|
}
|
|
|
|
public void b(Map<String, Object> map, long j) {
|
|
HashMap hashMap = new HashMap();
|
|
hashMap.put(IronSourceConstants.EVENTS_DURATION, Long.valueOf(j));
|
|
if (map != null && !map.isEmpty()) {
|
|
hashMap.putAll(map);
|
|
}
|
|
this.a.a(u1.INSTANCE_COLLECT_TOKEN_TIMED_OUT, hashMap);
|
|
}
|
|
}
|