- 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
280 lines
10 KiB
Java
280 lines
10 KiB
Java
package com.vungle.ads.fpd;
|
|
|
|
import com.facebook.internal.NativeProtocol;
|
|
import com.vungle.ads.internal.util.RangeUtil;
|
|
import java.util.Collection;
|
|
import java.util.List;
|
|
import kotlin.collections.CollectionsKt___CollectionsKt;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
import kotlinx.serialization.KSerializer;
|
|
import kotlinx.serialization.SerialName;
|
|
import kotlinx.serialization.Serializable;
|
|
import kotlinx.serialization.descriptors.SerialDescriptor;
|
|
import kotlinx.serialization.encoding.CompositeEncoder;
|
|
import kotlinx.serialization.internal.ArrayListSerializer;
|
|
import kotlinx.serialization.internal.FloatSerializer;
|
|
import kotlinx.serialization.internal.IntSerializer;
|
|
import kotlinx.serialization.internal.SerializationConstructorMarker;
|
|
import kotlinx.serialization.internal.StringSerializer;
|
|
|
|
@Serializable
|
|
/* loaded from: classes4.dex */
|
|
public final class SessionContext {
|
|
public static final Companion Companion = new Companion(null);
|
|
private List<String> friends;
|
|
private Float healthPercentile;
|
|
private Float inGamePurchasesUSD;
|
|
private Float levelPercentile;
|
|
private String page;
|
|
private Integer sessionDuration;
|
|
private Integer sessionStartTime;
|
|
private Integer signupDate;
|
|
private Integer timeSpent;
|
|
private String userID;
|
|
private Float userLevelPercentile;
|
|
private Float userScorePercentile;
|
|
|
|
@SerialName(NativeProtocol.AUDIENCE_FRIENDS)
|
|
private static /* synthetic */ void getFriends$annotations() {
|
|
}
|
|
|
|
@SerialName("health_percentile")
|
|
private static /* synthetic */ void getHealthPercentile$annotations() {
|
|
}
|
|
|
|
@SerialName("in_game_purchases_usd")
|
|
private static /* synthetic */ void getInGamePurchasesUSD$annotations() {
|
|
}
|
|
|
|
@SerialName("level_percentile")
|
|
private static /* synthetic */ void getLevelPercentile$annotations() {
|
|
}
|
|
|
|
@SerialName("page")
|
|
private static /* synthetic */ void getPage$annotations() {
|
|
}
|
|
|
|
@SerialName("session_duration")
|
|
private static /* synthetic */ void getSessionDuration$annotations() {
|
|
}
|
|
|
|
@SerialName("session_start_time")
|
|
private static /* synthetic */ void getSessionStartTime$annotations() {
|
|
}
|
|
|
|
@SerialName("signup_date")
|
|
private static /* synthetic */ void getSignupDate$annotations() {
|
|
}
|
|
|
|
@SerialName("time_spent")
|
|
private static /* synthetic */ void getTimeSpent$annotations() {
|
|
}
|
|
|
|
@SerialName("user_id")
|
|
private static /* synthetic */ void getUserID$annotations() {
|
|
}
|
|
|
|
@SerialName("user_level_percentile")
|
|
private static /* synthetic */ void getUserLevelPercentile$annotations() {
|
|
}
|
|
|
|
@SerialName("user_score_percentile")
|
|
private static /* synthetic */ void getUserScorePercentile$annotations() {
|
|
}
|
|
|
|
public final SessionContext setPage(String page) {
|
|
Intrinsics.checkNotNullParameter(page, "page");
|
|
this.page = page;
|
|
return this;
|
|
}
|
|
|
|
public final SessionContext setUserID(String userID) {
|
|
Intrinsics.checkNotNullParameter(userID, "userID");
|
|
this.userID = userID;
|
|
return this;
|
|
}
|
|
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
|
|
public final KSerializer<SessionContext> serializer() {
|
|
return SessionContext$$serializer.INSTANCE;
|
|
}
|
|
}
|
|
|
|
public SessionContext() {
|
|
}
|
|
|
|
public /* synthetic */ SessionContext(int i, @SerialName("level_percentile") Float f, @SerialName("page") String str, @SerialName("time_spent") Integer num, @SerialName("signup_date") Integer num2, @SerialName("user_score_percentile") Float f2, @SerialName("user_id") String str2, @SerialName("friends") List list, @SerialName("user_level_percentile") Float f3, @SerialName("health_percentile") Float f4, @SerialName("session_start_time") Integer num3, @SerialName("session_duration") Integer num4, @SerialName("in_game_purchases_usd") Float f5, SerializationConstructorMarker serializationConstructorMarker) {
|
|
if ((i & 1) == 0) {
|
|
this.levelPercentile = null;
|
|
} else {
|
|
this.levelPercentile = f;
|
|
}
|
|
if ((i & 2) == 0) {
|
|
this.page = null;
|
|
} else {
|
|
this.page = str;
|
|
}
|
|
if ((i & 4) == 0) {
|
|
this.timeSpent = null;
|
|
} else {
|
|
this.timeSpent = num;
|
|
}
|
|
if ((i & 8) == 0) {
|
|
this.signupDate = null;
|
|
} else {
|
|
this.signupDate = num2;
|
|
}
|
|
if ((i & 16) == 0) {
|
|
this.userScorePercentile = null;
|
|
} else {
|
|
this.userScorePercentile = f2;
|
|
}
|
|
if ((i & 32) == 0) {
|
|
this.userID = null;
|
|
} else {
|
|
this.userID = str2;
|
|
}
|
|
if ((i & 64) == 0) {
|
|
this.friends = null;
|
|
} else {
|
|
this.friends = list;
|
|
}
|
|
if ((i & 128) == 0) {
|
|
this.userLevelPercentile = null;
|
|
} else {
|
|
this.userLevelPercentile = f3;
|
|
}
|
|
if ((i & 256) == 0) {
|
|
this.healthPercentile = null;
|
|
} else {
|
|
this.healthPercentile = f4;
|
|
}
|
|
if ((i & 512) == 0) {
|
|
this.sessionStartTime = null;
|
|
} else {
|
|
this.sessionStartTime = num3;
|
|
}
|
|
if ((i & 1024) == 0) {
|
|
this.sessionDuration = null;
|
|
} else {
|
|
this.sessionDuration = num4;
|
|
}
|
|
if ((i & 2048) == 0) {
|
|
this.inGamePurchasesUSD = null;
|
|
} else {
|
|
this.inGamePurchasesUSD = f5;
|
|
}
|
|
}
|
|
|
|
public static final void write$Self(SessionContext self, CompositeEncoder output, SerialDescriptor serialDesc) {
|
|
Intrinsics.checkNotNullParameter(self, "self");
|
|
Intrinsics.checkNotNullParameter(output, "output");
|
|
Intrinsics.checkNotNullParameter(serialDesc, "serialDesc");
|
|
if (output.shouldEncodeElementDefault(serialDesc, 0) || self.levelPercentile != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 0, FloatSerializer.INSTANCE, self.levelPercentile);
|
|
}
|
|
if (output.shouldEncodeElementDefault(serialDesc, 1) || self.page != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 1, StringSerializer.INSTANCE, self.page);
|
|
}
|
|
if (output.shouldEncodeElementDefault(serialDesc, 2) || self.timeSpent != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 2, IntSerializer.INSTANCE, self.timeSpent);
|
|
}
|
|
if (output.shouldEncodeElementDefault(serialDesc, 3) || self.signupDate != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 3, IntSerializer.INSTANCE, self.signupDate);
|
|
}
|
|
if (output.shouldEncodeElementDefault(serialDesc, 4) || self.userScorePercentile != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 4, FloatSerializer.INSTANCE, self.userScorePercentile);
|
|
}
|
|
if (output.shouldEncodeElementDefault(serialDesc, 5) || self.userID != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 5, StringSerializer.INSTANCE, self.userID);
|
|
}
|
|
if (output.shouldEncodeElementDefault(serialDesc, 6) || self.friends != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 6, new ArrayListSerializer(StringSerializer.INSTANCE), self.friends);
|
|
}
|
|
if (output.shouldEncodeElementDefault(serialDesc, 7) || self.userLevelPercentile != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 7, FloatSerializer.INSTANCE, self.userLevelPercentile);
|
|
}
|
|
if (output.shouldEncodeElementDefault(serialDesc, 8) || self.healthPercentile != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 8, FloatSerializer.INSTANCE, self.healthPercentile);
|
|
}
|
|
if (output.shouldEncodeElementDefault(serialDesc, 9) || self.sessionStartTime != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 9, IntSerializer.INSTANCE, self.sessionStartTime);
|
|
}
|
|
if (output.shouldEncodeElementDefault(serialDesc, 10) || self.sessionDuration != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 10, IntSerializer.INSTANCE, self.sessionDuration);
|
|
}
|
|
if (!output.shouldEncodeElementDefault(serialDesc, 11) && self.inGamePurchasesUSD == null) {
|
|
return;
|
|
}
|
|
output.encodeNullableSerializableElement(serialDesc, 11, FloatSerializer.INSTANCE, self.inGamePurchasesUSD);
|
|
}
|
|
|
|
public final SessionContext setLevelPercentile(float f) {
|
|
if (RangeUtil.INSTANCE.isInRange(f, 0.0f, 100.0f)) {
|
|
this.levelPercentile = Float.valueOf(f);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public final SessionContext setTimeSpent(int i) {
|
|
this.timeSpent = Integer.valueOf(i);
|
|
return this;
|
|
}
|
|
|
|
public final SessionContext setSignupDate(int i) {
|
|
this.signupDate = Integer.valueOf(i);
|
|
return this;
|
|
}
|
|
|
|
public final SessionContext setUserScorePercentile(float f) {
|
|
if (RangeUtil.INSTANCE.isInRange(f, 0.0f, 100.0f)) {
|
|
this.userScorePercentile = Float.valueOf(f);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public final SessionContext setFriends(List<String> list) {
|
|
this.friends = list != null ? CollectionsKt___CollectionsKt.toMutableList((Collection) list) : null;
|
|
return this;
|
|
}
|
|
|
|
public final SessionContext setUserLevelPercentile(float f) {
|
|
if (RangeUtil.INSTANCE.isInRange(f, 0.0f, 100.0f)) {
|
|
this.userLevelPercentile = Float.valueOf(f);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public final SessionContext setHealthPercentile(float f) {
|
|
if (RangeUtil.INSTANCE.isInRange(f, 0.0f, 100.0f)) {
|
|
this.healthPercentile = Float.valueOf(f);
|
|
}
|
|
return this;
|
|
}
|
|
|
|
public final SessionContext setSessionStartTime(int i) {
|
|
this.sessionStartTime = Integer.valueOf(i);
|
|
return this;
|
|
}
|
|
|
|
public final SessionContext setSessionDuration(int i) {
|
|
this.sessionDuration = Integer.valueOf(i);
|
|
return this;
|
|
}
|
|
|
|
public final SessionContext setInGamePurchasesUSD(float f) {
|
|
if (RangeUtil.isInRange$default(RangeUtil.INSTANCE, f, 0.0f, 0.0f, 4, (Object) null)) {
|
|
this.inGamePurchasesUSD = Float.valueOf(f);
|
|
}
|
|
return this;
|
|
}
|
|
}
|