package com.ironsource; import android.text.TextUtils; import com.ironsource.mediationsdk.utils.IronSourceConstants; import java.util.HashMap; /* loaded from: classes2.dex */ public class k4 { private final x1 a; public k4(x1 x1Var) { this.a = x1Var; } public void a() { this.a.a(u1.AUCTION_REQUEST, null); } public void a(int i, String str) { HashMap hashMap = new HashMap(); hashMap.put("errorCode", Integer.valueOf(i)); if (!TextUtils.isEmpty(str)) { hashMap.put("reason", str); } this.a.a(u1.AUCTION_FAILED_NO_CANDIDATES, hashMap); } public void a(long j, int i, String str) { HashMap hashMap = new HashMap(); hashMap.put(IronSourceConstants.EVENTS_DURATION, Long.valueOf(j)); hashMap.put("errorCode", Integer.valueOf(i)); if (!TextUtils.isEmpty(str)) { hashMap.put("reason", str); } this.a.a(u1.AUCTION_FAILED, hashMap); } public void a(long j, String str) { HashMap hashMap = new HashMap(); hashMap.put(IronSourceConstants.EVENTS_DURATION, Long.valueOf(j)); hashMap.put(IronSourceConstants.EVENTS_EXT1, str); this.a.a(u1.AUCTION_SUCCESS, hashMap); } public void a(String str) { HashMap hashMap = new HashMap(); hashMap.put("auctionId", str); this.a.a(u1.AD_FORMAT_CAPPED, hashMap); } public void b(String str) { HashMap hashMap = new HashMap(); hashMap.put(IronSourceConstants.EVENTS_EXT1, str); this.a.a(u1.AUCTION_REQUEST_WATERFALL, hashMap); } public void c(String str) { HashMap hashMap = new HashMap(); hashMap.put(IronSourceConstants.EVENTS_EXT1, str); this.a.a(u1.AUCTION_RESULT_WATERFALL, hashMap); } }