Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,230 @@
package com.ironsource.adqualitysdk.sdk;
import android.text.TextUtils;
import com.ironsource.adqualitysdk.sdk.i.kb;
import com.ironsource.adqualitysdk.sdk.i.l;
import com.ironsource.mediationsdk.utils.IronSourceConstants;
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import java.util.concurrent.atomic.AtomicBoolean;
/* loaded from: classes4.dex */
public class ISAdQualitySegment {
/* renamed from: ﱟ, reason: contains not printable characters */
private double f37;
/* renamed from: ﱡ, reason: contains not printable characters */
private final Map<String, String> f38;
/* renamed from: ﺙ, reason: contains not printable characters */
private final long f39;
/* renamed from: ﻐ, reason: contains not printable characters */
private final AtomicBoolean f40;
/* renamed from: ﻛ, reason: contains not printable characters */
private final int f41;
/* renamed from: , reason: contains not printable characters */
private final String f42;
/* renamed from: ヌ, reason: contains not printable characters */
private final int f43;
/* renamed from: メ, reason: contains not printable characters */
private final String f44;
public int getAge() {
return this.f43;
}
public Map<String, String> getCustomData() {
return this.f38;
}
public String getGender() {
return this.f42;
}
public double getInAppPurchasesTotal() {
return this.f37;
}
public AtomicBoolean getIsPaying() {
return this.f40;
}
public int getLevel() {
return this.f41;
}
public String getName() {
return this.f44;
}
public long getUserCreationDate() {
return this.f39;
}
public /* synthetic */ ISAdQualitySegment(String str, int i, String str2, int i2, AtomicBoolean atomicBoolean, double d, long j, Map map, byte b) {
this(str, i, str2, i2, atomicBoolean, d, j, map);
}
private ISAdQualitySegment(String str, int i, String str2, int i2, AtomicBoolean atomicBoolean, double d, long j, Map<String, String> map) {
this.f44 = str;
this.f43 = i;
this.f42 = str2;
this.f41 = i2;
this.f40 = atomicBoolean;
this.f37 = d;
this.f39 = j;
this.f38 = map;
}
public static class Builder {
/* renamed from: ヌ, reason: contains not printable characters */
private String f52;
/* renamed from: メ, reason: contains not printable characters */
private String f53;
/* renamed from: ﻐ, reason: contains not printable characters */
private double f49 = 999999.99d;
/* renamed from: ﻛ, reason: contains not printable characters */
private int f50 = -1;
/* renamed from: , reason: contains not printable characters */
private int f51 = -1;
/* renamed from: ﮐ, reason: contains not printable characters */
private AtomicBoolean f45 = null;
/* renamed from: ﱡ, reason: contains not printable characters */
private long f46 = 0;
/* renamed from: ﻏ, reason: contains not printable characters */
private double f48 = -1.0d;
/* renamed from: ﺙ, reason: contains not printable characters */
private Map<String, String> f47 = new HashMap();
public Builder setSegmentName(String str) {
if (kb.m3368(str) && kb.m3372(str, 32)) {
this.f52 = str;
} else {
StringBuilder sb = new StringBuilder("setSegmentName( ");
sb.append(str);
sb.append(" ) segment name must be alphanumeric and 1-32 in length");
l.m3432("ISAdQualitySegment Builder", sb.toString());
}
return this;
}
public Builder setAge(int i) {
if (i <= 0 || i > 199) {
StringBuilder sb = new StringBuilder("setAge( ");
sb.append(i);
sb.append(" ) age must be between 1-199");
l.m3432("ISAdQualitySegment Builder", sb.toString());
} else {
this.f50 = i;
}
return this;
}
public Builder setGender(String str) {
if (!TextUtils.isEmpty(str)) {
Locale locale = Locale.ENGLISH;
if (str.toLowerCase(locale).equals(IronSourceConstants.a.b) || str.toLowerCase(locale).equals(IronSourceConstants.a.c)) {
this.f53 = str.toLowerCase(locale);
return this;
}
}
StringBuilder sb = new StringBuilder("setGender( ");
sb.append(str);
sb.append(" ) is invalid");
l.m3432("ISAdQualitySegment Builder", sb.toString());
return this;
}
public Builder setLevel(int i) {
if (i <= 0 || i >= 999999) {
StringBuilder sb = new StringBuilder("setLevel( ");
sb.append(i);
sb.append(" ) level must be between 1-999999");
l.m3432("ISAdQualitySegment Builder", sb.toString());
} else {
this.f51 = i;
}
return this;
}
public Builder setIsPaying(boolean z) {
if (this.f45 == null) {
this.f45 = new AtomicBoolean();
}
this.f45.set(z);
return this;
}
public Builder setInAppPurchasesTotal(double d) {
if (d > 0.0d && d < this.f49) {
this.f48 = Math.floor(d * 100.0d) / 100.0d;
} else {
StringBuilder sb = new StringBuilder("setIAPTotal( ");
sb.append(d);
sb.append(" ) iapt must be between 0-");
sb.append(this.f49);
l.m3432("ISAdQualitySegment Builder", sb.toString());
}
return this;
}
public Builder setUserCreationDate(long j) {
if (j > 0) {
this.f46 = j;
} else {
StringBuilder sb = new StringBuilder("setUserCreationDate( ");
sb.append(j);
sb.append(" ) is an invalid timestamp");
l.m3432("ISAdQualitySegment Builder", sb.toString());
}
return this;
}
public Builder setCustomData(String str, String str2) {
try {
if (this.f47.size() < 5) {
if (kb.m3368(str) && kb.m3368(str2) && kb.m3372(str, 32) && kb.m3372(str2, 32)) {
this.f47.put("sgct_".concat(String.valueOf(str)), str2);
} else {
StringBuilder sb = new StringBuilder("setCustomData( ");
sb.append(str);
sb.append(" , ");
sb.append(str2);
sb.append(" ) key and value must be alphanumeric and 1-32 in length");
l.m3432("ISAdQualitySegment Builder", sb.toString());
}
} else {
StringBuilder sb2 = new StringBuilder("setCustomData( ");
sb2.append(str);
sb2.append(" , ");
sb2.append(str2);
sb2.append(" ) limited to 5 custom values. Ignoring custom value.");
l.m3432("ISAdQualitySegment Builder", sb2.toString());
}
} catch (Exception e) {
e.printStackTrace();
}
return this;
}
public ISAdQualitySegment build() {
return new ISAdQualitySegment(this.f52, this.f50, this.f53, this.f51, this.f45, this.f48, this.f46, new HashMap(this.f47), (byte) 0);
}
}
}