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,40 @@
package com.unity3d.ads.network.model;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes4.dex */
public interface HttpBody {
public static final class StringBody implements HttpBody {
private final String content;
public final String getContent() {
return this.content;
}
public StringBody(String content) {
Intrinsics.checkNotNullParameter(content, "content");
this.content = content;
}
}
public static final class ByteArrayBody implements HttpBody {
private final byte[] content;
public final byte[] getContent() {
return this.content;
}
public ByteArrayBody(byte[] content) {
Intrinsics.checkNotNullParameter(content, "content");
this.content = content;
}
}
public static final class EmptyBody implements HttpBody {
public static final EmptyBody INSTANCE = new EmptyBody();
private EmptyBody() {
}
}
}

View File

@@ -0,0 +1,302 @@
package com.unity3d.ads.network.model;
import com.unity3d.ads.network.model.HttpBody;
import java.util.List;
import java.util.Map;
import kotlin.collections.MapsKt__MapsKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes4.dex */
public final class HttpRequest {
public static final Companion Companion = new Companion(null);
private static final String DEFAULT_SCHEME = "https";
private static final int DEFAULT_TIMEOUT = 30000;
private final String baseURL;
private final HttpBody body;
private final int callTimeout;
private final int connectTimeout;
private final Map<String, List<String>> headers;
private final RequestType method;
private final Map<String, String> parameters;
private final String path;
private final Integer port;
private final int readTimeout;
private final String scheme;
private final int writeTimeout;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpRequest(String baseURL) {
this(baseURL, null, null, null, null, null, null, null, 0, 0, 0, 0, 4094, null);
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpRequest(String baseURL, String path) {
this(baseURL, path, null, null, null, null, null, null, 0, 0, 0, 0, 4092, null);
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpRequest(String baseURL, String path, RequestType method) {
this(baseURL, path, method, null, null, null, null, null, 0, 0, 0, 0, 4088, null);
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
Intrinsics.checkNotNullParameter(method, "method");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpRequest(String baseURL, String path, RequestType method, HttpBody body) {
this(baseURL, path, method, body, null, null, null, null, 0, 0, 0, 0, 4080, null);
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
Intrinsics.checkNotNullParameter(method, "method");
Intrinsics.checkNotNullParameter(body, "body");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpRequest(String baseURL, String path, RequestType method, HttpBody body, Map<String, ? extends List<String>> headers) {
this(baseURL, path, method, body, headers, null, null, null, 0, 0, 0, 0, 4064, null);
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
Intrinsics.checkNotNullParameter(method, "method");
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpRequest(String baseURL, String path, RequestType method, HttpBody body, Map<String, ? extends List<String>> headers, Map<String, String> parameters) {
this(baseURL, path, method, body, headers, parameters, null, null, 0, 0, 0, 0, 4032, null);
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
Intrinsics.checkNotNullParameter(method, "method");
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
Intrinsics.checkNotNullParameter(parameters, "parameters");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpRequest(String baseURL, String path, RequestType method, HttpBody body, Map<String, ? extends List<String>> headers, Map<String, String> parameters, String scheme) {
this(baseURL, path, method, body, headers, parameters, scheme, null, 0, 0, 0, 0, 3968, null);
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
Intrinsics.checkNotNullParameter(method, "method");
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
Intrinsics.checkNotNullParameter(parameters, "parameters");
Intrinsics.checkNotNullParameter(scheme, "scheme");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpRequest(String baseURL, String path, RequestType method, HttpBody body, Map<String, ? extends List<String>> headers, Map<String, String> parameters, String scheme, Integer num) {
this(baseURL, path, method, body, headers, parameters, scheme, num, 0, 0, 0, 0, 3840, null);
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
Intrinsics.checkNotNullParameter(method, "method");
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
Intrinsics.checkNotNullParameter(parameters, "parameters");
Intrinsics.checkNotNullParameter(scheme, "scheme");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpRequest(String baseURL, String path, RequestType method, HttpBody body, Map<String, ? extends List<String>> headers, Map<String, String> parameters, String scheme, Integer num, int i) {
this(baseURL, path, method, body, headers, parameters, scheme, num, i, 0, 0, 0, 3584, null);
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
Intrinsics.checkNotNullParameter(method, "method");
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
Intrinsics.checkNotNullParameter(parameters, "parameters");
Intrinsics.checkNotNullParameter(scheme, "scheme");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpRequest(String baseURL, String path, RequestType method, HttpBody body, Map<String, ? extends List<String>> headers, Map<String, String> parameters, String scheme, Integer num, int i, int i2) {
this(baseURL, path, method, body, headers, parameters, scheme, num, i, i2, 0, 0, 3072, null);
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
Intrinsics.checkNotNullParameter(method, "method");
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
Intrinsics.checkNotNullParameter(parameters, "parameters");
Intrinsics.checkNotNullParameter(scheme, "scheme");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpRequest(String baseURL, String path, RequestType method, HttpBody body, Map<String, ? extends List<String>> headers, Map<String, String> parameters, String scheme, Integer num, int i, int i2, int i3) {
this(baseURL, path, method, body, headers, parameters, scheme, num, i, i2, i3, 0, 2048, null);
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
Intrinsics.checkNotNullParameter(method, "method");
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
Intrinsics.checkNotNullParameter(parameters, "parameters");
Intrinsics.checkNotNullParameter(scheme, "scheme");
}
public final String component1() {
return this.baseURL;
}
public final int component10() {
return this.readTimeout;
}
public final int component11() {
return this.writeTimeout;
}
public final int component12() {
return this.callTimeout;
}
public final String component2() {
return this.path;
}
public final RequestType component3() {
return this.method;
}
public final HttpBody component4() {
return this.body;
}
public final Map<String, List<String>> component5() {
return this.headers;
}
public final Map<String, String> component6() {
return this.parameters;
}
public final String component7() {
return this.scheme;
}
public final Integer component8() {
return this.port;
}
public final int component9() {
return this.connectTimeout;
}
public final HttpRequest copy(String baseURL, String path, RequestType method, HttpBody body, Map<String, ? extends List<String>> headers, Map<String, String> parameters, String scheme, Integer num, int i, int i2, int i3, int i4) {
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
Intrinsics.checkNotNullParameter(method, "method");
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
Intrinsics.checkNotNullParameter(parameters, "parameters");
Intrinsics.checkNotNullParameter(scheme, "scheme");
return new HttpRequest(baseURL, path, method, body, headers, parameters, scheme, num, i, i2, i3, i4);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof HttpRequest)) {
return false;
}
HttpRequest httpRequest = (HttpRequest) obj;
return Intrinsics.areEqual(this.baseURL, httpRequest.baseURL) && Intrinsics.areEqual(this.path, httpRequest.path) && this.method == httpRequest.method && Intrinsics.areEqual(this.body, httpRequest.body) && Intrinsics.areEqual(this.headers, httpRequest.headers) && Intrinsics.areEqual(this.parameters, httpRequest.parameters) && Intrinsics.areEqual(this.scheme, httpRequest.scheme) && Intrinsics.areEqual(this.port, httpRequest.port) && this.connectTimeout == httpRequest.connectTimeout && this.readTimeout == httpRequest.readTimeout && this.writeTimeout == httpRequest.writeTimeout && this.callTimeout == httpRequest.callTimeout;
}
public final String getBaseURL() {
return this.baseURL;
}
public final HttpBody getBody() {
return this.body;
}
public final int getCallTimeout() {
return this.callTimeout;
}
public final int getConnectTimeout() {
return this.connectTimeout;
}
public final Map<String, List<String>> getHeaders() {
return this.headers;
}
public final RequestType getMethod() {
return this.method;
}
public final Map<String, String> getParameters() {
return this.parameters;
}
public final String getPath() {
return this.path;
}
public final Integer getPort() {
return this.port;
}
public final int getReadTimeout() {
return this.readTimeout;
}
public final String getScheme() {
return this.scheme;
}
public final int getWriteTimeout() {
return this.writeTimeout;
}
public int hashCode() {
int hashCode = ((((((((((((this.baseURL.hashCode() * 31) + this.path.hashCode()) * 31) + this.method.hashCode()) * 31) + this.body.hashCode()) * 31) + this.headers.hashCode()) * 31) + this.parameters.hashCode()) * 31) + this.scheme.hashCode()) * 31;
Integer num = this.port;
return ((((((((hashCode + (num == null ? 0 : num.hashCode())) * 31) + Integer.hashCode(this.connectTimeout)) * 31) + Integer.hashCode(this.readTimeout)) * 31) + Integer.hashCode(this.writeTimeout)) * 31) + Integer.hashCode(this.callTimeout);
}
public String toString() {
return "HttpRequest(baseURL=" + this.baseURL + ", path=" + this.path + ", method=" + this.method + ", body=" + this.body + ", headers=" + this.headers + ", parameters=" + this.parameters + ", scheme=" + this.scheme + ", port=" + this.port + ", connectTimeout=" + this.connectTimeout + ", readTimeout=" + this.readTimeout + ", writeTimeout=" + this.writeTimeout + ", callTimeout=" + this.callTimeout + ')';
}
/* JADX WARN: Multi-variable type inference failed */
public HttpRequest(String baseURL, String path, RequestType method, HttpBody body, Map<String, ? extends List<String>> headers, Map<String, String> parameters, String scheme, Integer num, int i, int i2, int i3, int i4) {
Intrinsics.checkNotNullParameter(baseURL, "baseURL");
Intrinsics.checkNotNullParameter(path, "path");
Intrinsics.checkNotNullParameter(method, "method");
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
Intrinsics.checkNotNullParameter(parameters, "parameters");
Intrinsics.checkNotNullParameter(scheme, "scheme");
this.baseURL = baseURL;
this.path = path;
this.method = method;
this.body = body;
this.headers = headers;
this.parameters = parameters;
this.scheme = scheme;
this.port = num;
this.connectTimeout = i;
this.readTimeout = i2;
this.writeTimeout = i3;
this.callTimeout = i4;
}
public /* synthetic */ HttpRequest(String str, String str2, RequestType requestType, HttpBody httpBody, Map map, Map map2, String str3, Integer num, int i, int i2, int i3, int i4, int i5, DefaultConstructorMarker defaultConstructorMarker) {
this(str, (i5 & 2) != 0 ? "" : str2, (i5 & 4) != 0 ? RequestType.GET : requestType, (i5 & 8) != 0 ? HttpBody.EmptyBody.INSTANCE : httpBody, (i5 & 16) != 0 ? MapsKt__MapsKt.emptyMap() : map, (i5 & 32) != 0 ? MapsKt__MapsKt.emptyMap() : map2, (i5 & 64) != 0 ? "https" : str3, (i5 & 128) != 0 ? null : num, (i5 & 256) != 0 ? 30000 : i, (i5 & 512) != 0 ? 30000 : i2, (i5 & 1024) != 0 ? 30000 : i3, (i5 & 2048) == 0 ? i4 : 30000);
}
public static final class Companion {
public /* synthetic */ Companion(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
private Companion() {
}
}
}

View File

@@ -0,0 +1,122 @@
package com.unity3d.ads.network.model;
import java.util.Map;
import kotlin.collections.MapsKt__MapsKt;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* loaded from: classes4.dex */
public final class HttpResponse {
private final Object body;
private final Map<String, Object> headers;
private final int statusCode;
private final String urlString;
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpResponse(Object body) {
this(body, 0, null, null, 14, null);
Intrinsics.checkNotNullParameter(body, "body");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpResponse(Object body, int i) {
this(body, i, null, null, 12, null);
Intrinsics.checkNotNullParameter(body, "body");
}
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
public HttpResponse(Object body, int i, Map<String, ? extends Object> headers) {
this(body, i, headers, null, 8, null);
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ HttpResponse copy$default(HttpResponse httpResponse, Object obj, int i, Map map, String str, int i2, Object obj2) {
if ((i2 & 1) != 0) {
obj = httpResponse.body;
}
if ((i2 & 2) != 0) {
i = httpResponse.statusCode;
}
if ((i2 & 4) != 0) {
map = httpResponse.headers;
}
if ((i2 & 8) != 0) {
str = httpResponse.urlString;
}
return httpResponse.copy(obj, i, map, str);
}
public final Object component1() {
return this.body;
}
public final int component2() {
return this.statusCode;
}
public final Map<String, Object> component3() {
return this.headers;
}
public final String component4() {
return this.urlString;
}
public final HttpResponse copy(Object body, int i, Map<String, ? extends Object> headers, String urlString) {
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
Intrinsics.checkNotNullParameter(urlString, "urlString");
return new HttpResponse(body, i, headers, urlString);
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof HttpResponse)) {
return false;
}
HttpResponse httpResponse = (HttpResponse) obj;
return Intrinsics.areEqual(this.body, httpResponse.body) && this.statusCode == httpResponse.statusCode && Intrinsics.areEqual(this.headers, httpResponse.headers) && Intrinsics.areEqual(this.urlString, httpResponse.urlString);
}
public final Object getBody() {
return this.body;
}
public final Map<String, Object> getHeaders() {
return this.headers;
}
public final int getStatusCode() {
return this.statusCode;
}
public final String getUrlString() {
return this.urlString;
}
public int hashCode() {
return (((((this.body.hashCode() * 31) + Integer.hashCode(this.statusCode)) * 31) + this.headers.hashCode()) * 31) + this.urlString.hashCode();
}
public String toString() {
return "HttpResponse(body=" + this.body + ", statusCode=" + this.statusCode + ", headers=" + this.headers + ", urlString=" + this.urlString + ')';
}
public HttpResponse(Object body, int i, Map<String, ? extends Object> headers, String urlString) {
Intrinsics.checkNotNullParameter(body, "body");
Intrinsics.checkNotNullParameter(headers, "headers");
Intrinsics.checkNotNullParameter(urlString, "urlString");
this.body = body;
this.statusCode = i;
this.headers = headers;
this.urlString = urlString;
}
public /* synthetic */ HttpResponse(Object obj, int i, Map map, String str, int i2, DefaultConstructorMarker defaultConstructorMarker) {
this(obj, (i2 & 2) != 0 ? 200 : i, (i2 & 4) != 0 ? MapsKt__MapsKt.emptyMap() : map, (i2 & 8) != 0 ? "" : str);
}
}

View File

@@ -0,0 +1,8 @@
package com.unity3d.ads.network.model;
/* loaded from: classes4.dex */
public enum RequestType {
POST,
GET,
HEAD
}