- 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
119 lines
3.9 KiB
Java
119 lines
3.9 KiB
Java
package com.unity3d.ads.gatewayclient;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class RequestPolicy {
|
|
private final int connectTimeout;
|
|
private final int maxDuration;
|
|
private final int readTimeout;
|
|
private final float retryJitterPct;
|
|
private final int retryMaxInterval;
|
|
private final int retryWaitBase;
|
|
private final boolean shouldStoreLocally;
|
|
private final int writeTimeout;
|
|
|
|
public final int component1() {
|
|
return this.maxDuration;
|
|
}
|
|
|
|
public final int component2() {
|
|
return this.retryMaxInterval;
|
|
}
|
|
|
|
public final int component3() {
|
|
return this.retryWaitBase;
|
|
}
|
|
|
|
public final float component4() {
|
|
return this.retryJitterPct;
|
|
}
|
|
|
|
public final int component5() {
|
|
return this.connectTimeout;
|
|
}
|
|
|
|
public final int component6() {
|
|
return this.readTimeout;
|
|
}
|
|
|
|
public final int component7() {
|
|
return this.writeTimeout;
|
|
}
|
|
|
|
public final boolean component8() {
|
|
return this.shouldStoreLocally;
|
|
}
|
|
|
|
public final RequestPolicy copy(int i, int i2, int i3, float f, int i4, int i5, int i6, boolean z) {
|
|
return new RequestPolicy(i, i2, i3, f, i4, i5, i6, z);
|
|
}
|
|
|
|
public boolean equals(Object obj) {
|
|
if (this == obj) {
|
|
return true;
|
|
}
|
|
if (!(obj instanceof RequestPolicy)) {
|
|
return false;
|
|
}
|
|
RequestPolicy requestPolicy = (RequestPolicy) obj;
|
|
return this.maxDuration == requestPolicy.maxDuration && this.retryMaxInterval == requestPolicy.retryMaxInterval && this.retryWaitBase == requestPolicy.retryWaitBase && Float.compare(this.retryJitterPct, requestPolicy.retryJitterPct) == 0 && this.connectTimeout == requestPolicy.connectTimeout && this.readTimeout == requestPolicy.readTimeout && this.writeTimeout == requestPolicy.writeTimeout && this.shouldStoreLocally == requestPolicy.shouldStoreLocally;
|
|
}
|
|
|
|
public final int getConnectTimeout() {
|
|
return this.connectTimeout;
|
|
}
|
|
|
|
public final int getMaxDuration() {
|
|
return this.maxDuration;
|
|
}
|
|
|
|
public final int getReadTimeout() {
|
|
return this.readTimeout;
|
|
}
|
|
|
|
public final float getRetryJitterPct() {
|
|
return this.retryJitterPct;
|
|
}
|
|
|
|
public final int getRetryMaxInterval() {
|
|
return this.retryMaxInterval;
|
|
}
|
|
|
|
public final int getRetryWaitBase() {
|
|
return this.retryWaitBase;
|
|
}
|
|
|
|
public final boolean getShouldStoreLocally() {
|
|
return this.shouldStoreLocally;
|
|
}
|
|
|
|
public final int getWriteTimeout() {
|
|
return this.writeTimeout;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public int hashCode() {
|
|
int hashCode = ((((((((((((Integer.hashCode(this.maxDuration) * 31) + Integer.hashCode(this.retryMaxInterval)) * 31) + Integer.hashCode(this.retryWaitBase)) * 31) + Float.hashCode(this.retryJitterPct)) * 31) + Integer.hashCode(this.connectTimeout)) * 31) + Integer.hashCode(this.readTimeout)) * 31) + Integer.hashCode(this.writeTimeout)) * 31;
|
|
boolean z = this.shouldStoreLocally;
|
|
int i = z;
|
|
if (z != 0) {
|
|
i = 1;
|
|
}
|
|
return hashCode + i;
|
|
}
|
|
|
|
public String toString() {
|
|
return "RequestPolicy(maxDuration=" + this.maxDuration + ", retryMaxInterval=" + this.retryMaxInterval + ", retryWaitBase=" + this.retryWaitBase + ", retryJitterPct=" + this.retryJitterPct + ", connectTimeout=" + this.connectTimeout + ", readTimeout=" + this.readTimeout + ", writeTimeout=" + this.writeTimeout + ", shouldStoreLocally=" + this.shouldStoreLocally + ')';
|
|
}
|
|
|
|
public RequestPolicy(int i, int i2, int i3, float f, int i4, int i5, int i6, boolean z) {
|
|
this.maxDuration = i;
|
|
this.retryMaxInterval = i2;
|
|
this.retryWaitBase = i3;
|
|
this.retryJitterPct = f;
|
|
this.connectTimeout = i4;
|
|
this.readTimeout = i5;
|
|
this.writeTimeout = i6;
|
|
this.shouldStoreLocally = z;
|
|
}
|
|
}
|