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,139 @@
package okhttp3;
import com.facebook.internal.security.CertificateUtil;
import com.ironsource.mediationsdk.logger.IronSourceError;
import java.net.Proxy;
import java.net.ProxySelector;
import java.util.List;
import java.util.Objects;
import javax.net.SocketFactory;
import javax.net.ssl.HostnameVerifier;
import javax.net.ssl.SSLSocketFactory;
import okhttp3.HttpUrl;
import okhttp3.internal.Util;
/* loaded from: classes5.dex */
public final class Address {
public final CertificatePinner certificatePinner;
public final List connectionSpecs;
public final Dns dns;
public final HostnameVerifier hostnameVerifier;
public final List protocols;
public final Proxy proxy;
public final Authenticator proxyAuthenticator;
public final ProxySelector proxySelector;
public final SocketFactory socketFactory;
public final SSLSocketFactory sslSocketFactory;
public final HttpUrl url;
public CertificatePinner certificatePinner() {
return this.certificatePinner;
}
public List connectionSpecs() {
return this.connectionSpecs;
}
public Dns dns() {
return this.dns;
}
public HostnameVerifier hostnameVerifier() {
return this.hostnameVerifier;
}
public List protocols() {
return this.protocols;
}
public Proxy proxy() {
return this.proxy;
}
public Authenticator proxyAuthenticator() {
return this.proxyAuthenticator;
}
public ProxySelector proxySelector() {
return this.proxySelector;
}
public SocketFactory socketFactory() {
return this.socketFactory;
}
public SSLSocketFactory sslSocketFactory() {
return this.sslSocketFactory;
}
public HttpUrl url() {
return this.url;
}
public Address(String str, int i, Dns dns, SocketFactory socketFactory, SSLSocketFactory sSLSocketFactory, HostnameVerifier hostnameVerifier, CertificatePinner certificatePinner, Authenticator authenticator, Proxy proxy, List list, List list2, ProxySelector proxySelector) {
this.url = new HttpUrl.Builder().scheme(sSLSocketFactory != null ? "https" : "http").host(str).port(i).build();
if (dns == null) {
throw new NullPointerException("dns == null");
}
this.dns = dns;
if (socketFactory == null) {
throw new NullPointerException("socketFactory == null");
}
this.socketFactory = socketFactory;
if (authenticator == null) {
throw new NullPointerException("proxyAuthenticator == null");
}
this.proxyAuthenticator = authenticator;
if (list == null) {
throw new NullPointerException("protocols == null");
}
this.protocols = Util.immutableList(list);
if (list2 == null) {
throw new NullPointerException("connectionSpecs == null");
}
this.connectionSpecs = Util.immutableList(list2);
if (proxySelector == null) {
throw new NullPointerException("proxySelector == null");
}
this.proxySelector = proxySelector;
this.proxy = proxy;
this.sslSocketFactory = sSLSocketFactory;
this.hostnameVerifier = hostnameVerifier;
this.certificatePinner = certificatePinner;
}
public boolean equals(Object obj) {
if (obj instanceof Address) {
Address address = (Address) obj;
if (this.url.equals(address.url) && equalsNonHost(address)) {
return true;
}
}
return false;
}
public int hashCode() {
return ((((((((((((((((((IronSourceError.ERROR_NON_EXISTENT_INSTANCE + this.url.hashCode()) * 31) + this.dns.hashCode()) * 31) + this.proxyAuthenticator.hashCode()) * 31) + this.protocols.hashCode()) * 31) + this.connectionSpecs.hashCode()) * 31) + this.proxySelector.hashCode()) * 31) + Objects.hashCode(this.proxy)) * 31) + Objects.hashCode(this.sslSocketFactory)) * 31) + Objects.hashCode(this.hostnameVerifier)) * 31) + Objects.hashCode(this.certificatePinner);
}
public boolean equalsNonHost(Address address) {
return this.dns.equals(address.dns) && this.proxyAuthenticator.equals(address.proxyAuthenticator) && this.protocols.equals(address.protocols) && this.connectionSpecs.equals(address.connectionSpecs) && this.proxySelector.equals(address.proxySelector) && Objects.equals(this.proxy, address.proxy) && Objects.equals(this.sslSocketFactory, address.sslSocketFactory) && Objects.equals(this.hostnameVerifier, address.hostnameVerifier) && Objects.equals(this.certificatePinner, address.certificatePinner) && url().port() == address.url().port();
}
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("Address{");
sb.append(this.url.host());
sb.append(CertificateUtil.DELIMITER);
sb.append(this.url.port());
if (this.proxy != null) {
sb.append(", proxy=");
sb.append(this.proxy);
} else {
sb.append(", proxySelector=");
sb.append(this.proxySelector);
}
sb.append("}");
return sb.toString();
}
}