- 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
261 lines
8.2 KiB
Java
261 lines
8.2 KiB
Java
package com.vungle.ads.internal.signals;
|
|
|
|
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.Transient;
|
|
import kotlinx.serialization.descriptors.SerialDescriptor;
|
|
import kotlinx.serialization.encoding.CompositeEncoder;
|
|
import kotlinx.serialization.internal.PluginExceptionsKt;
|
|
import kotlinx.serialization.internal.SerializationConstructorMarker;
|
|
import kotlinx.serialization.internal.StringSerializer;
|
|
|
|
@Serializable
|
|
/* loaded from: classes4.dex */
|
|
public final class SignaledAd {
|
|
public static final Companion Companion = new Companion(null);
|
|
private long adAvailabilityCallbackTime;
|
|
private String eventId;
|
|
private final Long lastAdLoadTime;
|
|
private final long loadAdTime;
|
|
private long playAdTime;
|
|
private int screenOrientation;
|
|
private String templateSignals;
|
|
private long timeBetweenAdAvailabilityAndPlayAd;
|
|
private final long timeSinceLastAdLoad;
|
|
|
|
public SignaledAd() {
|
|
this(null, 0L, 3, null);
|
|
}
|
|
|
|
public static /* synthetic */ SignaledAd copy$default(SignaledAd signaledAd, Long l, long j, int i, Object obj) {
|
|
if ((i & 1) != 0) {
|
|
l = signaledAd.lastAdLoadTime;
|
|
}
|
|
if ((i & 2) != 0) {
|
|
j = signaledAd.loadAdTime;
|
|
}
|
|
return signaledAd.copy(l, j);
|
|
}
|
|
|
|
@Transient
|
|
public static /* synthetic */ void getAdAvailabilityCallbackTime$annotations() {
|
|
}
|
|
|
|
@SerialName("107")
|
|
public static /* synthetic */ void getEventId$annotations() {
|
|
}
|
|
|
|
@Transient
|
|
public static /* synthetic */ void getLastAdLoadTime$annotations() {
|
|
}
|
|
|
|
@Transient
|
|
public static /* synthetic */ void getLoadAdTime$annotations() {
|
|
}
|
|
|
|
@Transient
|
|
public static /* synthetic */ void getPlayAdTime$annotations() {
|
|
}
|
|
|
|
@SerialName("108")
|
|
public static /* synthetic */ void getScreenOrientation$annotations() {
|
|
}
|
|
|
|
@SerialName("500")
|
|
public static /* synthetic */ void getTemplateSignals$annotations() {
|
|
}
|
|
|
|
@SerialName("110")
|
|
public static /* synthetic */ void getTimeBetweenAdAvailabilityAndPlayAd$annotations() {
|
|
}
|
|
|
|
@SerialName("109")
|
|
public static /* synthetic */ void getTimeSinceLastAdLoad$annotations() {
|
|
}
|
|
|
|
public final Long component1() {
|
|
return this.lastAdLoadTime;
|
|
}
|
|
|
|
public final long component2() {
|
|
return this.loadAdTime;
|
|
}
|
|
|
|
public final SignaledAd copy(Long l, long j) {
|
|
return new SignaledAd(l, j);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof SignaledAd)) {
|
|
return false;
|
|
}
|
|
SignaledAd signaledAd = (SignaledAd) obj;
|
|
return Intrinsics.areEqual(this.lastAdLoadTime, signaledAd.lastAdLoadTime) && this.loadAdTime == signaledAd.loadAdTime;
|
|
}
|
|
|
|
public final long getAdAvailabilityCallbackTime() {
|
|
return this.adAvailabilityCallbackTime;
|
|
}
|
|
|
|
public final String getEventId() {
|
|
return this.eventId;
|
|
}
|
|
|
|
public final Long getLastAdLoadTime() {
|
|
return this.lastAdLoadTime;
|
|
}
|
|
|
|
public final long getLoadAdTime() {
|
|
return this.loadAdTime;
|
|
}
|
|
|
|
public final long getPlayAdTime() {
|
|
return this.playAdTime;
|
|
}
|
|
|
|
public final int getScreenOrientation() {
|
|
return this.screenOrientation;
|
|
}
|
|
|
|
public final String getTemplateSignals() {
|
|
return this.templateSignals;
|
|
}
|
|
|
|
public final long getTimeBetweenAdAvailabilityAndPlayAd() {
|
|
return this.timeBetweenAdAvailabilityAndPlayAd;
|
|
}
|
|
|
|
public final long getTimeSinceLastAdLoad() {
|
|
return this.timeSinceLastAdLoad;
|
|
}
|
|
|
|
public int hashCode() {
|
|
Long l = this.lastAdLoadTime;
|
|
return ((l == null ? 0 : l.hashCode()) * 31) + Long.hashCode(this.loadAdTime);
|
|
}
|
|
|
|
public final void setAdAvailabilityCallbackTime(long j) {
|
|
this.adAvailabilityCallbackTime = j;
|
|
}
|
|
|
|
public final void setEventId(String str) {
|
|
this.eventId = str;
|
|
}
|
|
|
|
public final void setPlayAdTime(long j) {
|
|
this.playAdTime = j;
|
|
}
|
|
|
|
public final void setScreenOrientation(int i) {
|
|
this.screenOrientation = i;
|
|
}
|
|
|
|
public final void setTemplateSignals(String str) {
|
|
this.templateSignals = str;
|
|
}
|
|
|
|
public final void setTimeBetweenAdAvailabilityAndPlayAd(long j) {
|
|
this.timeBetweenAdAvailabilityAndPlayAd = j;
|
|
}
|
|
|
|
public String toString() {
|
|
return "SignaledAd(lastAdLoadTime=" + this.lastAdLoadTime + ", loadAdTime=" + this.loadAdTime + ')';
|
|
}
|
|
|
|
public static final class Companion {
|
|
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
|
|
this();
|
|
}
|
|
|
|
private Companion() {
|
|
}
|
|
|
|
public final KSerializer<SignaledAd> serializer() {
|
|
return SignaledAd$$serializer.INSTANCE;
|
|
}
|
|
}
|
|
|
|
public /* synthetic */ SignaledAd(int i, @SerialName("500") String str, @SerialName("109") long j, @SerialName("107") String str2, @SerialName("110") long j2, @SerialName("108") int i2, SerializationConstructorMarker serializationConstructorMarker) {
|
|
if (2 != (i & 2)) {
|
|
PluginExceptionsKt.throwMissingFieldException(i, 2, SignaledAd$$serializer.INSTANCE.getDescriptor());
|
|
}
|
|
this.lastAdLoadTime = 0L;
|
|
this.loadAdTime = 0L;
|
|
if ((i & 1) == 0) {
|
|
this.templateSignals = null;
|
|
} else {
|
|
this.templateSignals = str;
|
|
}
|
|
this.timeSinceLastAdLoad = j;
|
|
if ((i & 4) == 0) {
|
|
this.eventId = null;
|
|
} else {
|
|
this.eventId = str2;
|
|
}
|
|
if ((i & 8) == 0) {
|
|
this.timeBetweenAdAvailabilityAndPlayAd = 0L;
|
|
} else {
|
|
this.timeBetweenAdAvailabilityAndPlayAd = j2;
|
|
}
|
|
if ((i & 16) == 0) {
|
|
this.screenOrientation = 0;
|
|
} else {
|
|
this.screenOrientation = i2;
|
|
}
|
|
this.adAvailabilityCallbackTime = 0L;
|
|
this.playAdTime = 0L;
|
|
this.timeSinceLastAdLoad = getTimeDifference(0L, 0L);
|
|
}
|
|
|
|
public SignaledAd(Long l, long j) {
|
|
this.lastAdLoadTime = l;
|
|
this.loadAdTime = j;
|
|
this.timeSinceLastAdLoad = getTimeDifference(l, j);
|
|
}
|
|
|
|
public static final void write$Self(SignaledAd self, CompositeEncoder output, SerialDescriptor serialDesc) {
|
|
Intrinsics.checkNotNullParameter(self, "self");
|
|
Intrinsics.checkNotNullParameter(output, "output");
|
|
Intrinsics.checkNotNullParameter(serialDesc, "serialDesc");
|
|
if (output.shouldEncodeElementDefault(serialDesc, 0) || self.templateSignals != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 0, StringSerializer.INSTANCE, self.templateSignals);
|
|
}
|
|
output.encodeLongElement(serialDesc, 1, self.timeSinceLastAdLoad);
|
|
if (output.shouldEncodeElementDefault(serialDesc, 2) || self.eventId != null) {
|
|
output.encodeNullableSerializableElement(serialDesc, 2, StringSerializer.INSTANCE, self.eventId);
|
|
}
|
|
if (output.shouldEncodeElementDefault(serialDesc, 3) || self.timeBetweenAdAvailabilityAndPlayAd != 0) {
|
|
output.encodeLongElement(serialDesc, 3, self.timeBetweenAdAvailabilityAndPlayAd);
|
|
}
|
|
if (!output.shouldEncodeElementDefault(serialDesc, 4) && self.screenOrientation == 0) {
|
|
return;
|
|
}
|
|
output.encodeIntElement(serialDesc, 4, self.screenOrientation);
|
|
}
|
|
|
|
public /* synthetic */ SignaledAd(Long l, long j, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this((i & 1) != 0 ? 0L : l, (i & 2) != 0 ? 0L : j);
|
|
}
|
|
|
|
public final void calculateTimeBetweenAdAvailabilityAndPlayAd() {
|
|
this.timeBetweenAdAvailabilityAndPlayAd = getTimeDifference(Long.valueOf(this.adAvailabilityCallbackTime), this.playAdTime);
|
|
}
|
|
|
|
private final long getTimeDifference(Long l, long j) {
|
|
if (l == null) {
|
|
return -1L;
|
|
}
|
|
long longValue = j - l.longValue();
|
|
if (longValue < 0) {
|
|
return -1L;
|
|
}
|
|
return longValue;
|
|
}
|
|
}
|