Files
rr3-apk/decompiled-community/sources/com/vungle/ads/TimeIntervalMetric.java
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- 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
2026-02-18 15:48:36 -08:00

42 lines
1.2 KiB
Java

package com.vungle.ads;
import com.vungle.ads.internal.protos.Sdk;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes4.dex */
public class TimeIntervalMetric extends DualValueMetric {
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public TimeIntervalMetric(Sdk.SDKMetric.SDKMetricType metricType) {
super(metricType);
Intrinsics.checkNotNullParameter(metricType, "metricType");
}
public void markStart() {
setValueFirst(Long.valueOf(getCurrentTime()));
}
public void markEnd() {
setValueSecond(Long.valueOf(getCurrentTime()));
}
public final long calculateIntervalDuration() {
long currentTime = getCurrentTime();
Long valueSecond = getValueSecond();
long longValue = valueSecond != null ? valueSecond.longValue() : currentTime;
Long valueFirst = getValueFirst();
if (valueFirst != null) {
currentTime = valueFirst.longValue();
}
return longValue - currentTime;
}
private final long getCurrentTime() {
return System.currentTimeMillis();
}
@Override // com.vungle.ads.Metric
public long getValue() {
return calculateIntervalDuration();
}
}