2019-07-24 11:27:29 +00:00
|
|
|
.class final Lokhttp3/t$1;
|
|
|
|
.super Lokhttp3/internal/a;
|
|
|
|
.source "OkHttpClient.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
|
|
value = Lokhttp3/t;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
|
|
accessFlags = 0x0
|
|
|
|
name = null
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method constructor <init>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-direct {p0}, Lokhttp3/internal/a;-><init>()V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
|
|
|
.method public final a(Lokhttp3/Response$a;)I
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
iget p1, p1, Lokhttp3/Response$a;->code:I
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/e;Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
.locals 0
|
|
|
|
.param p2 # Ljava/io/IOException;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
check-cast p1, Lokhttp3/v;
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Lokhttp3/v;->b(Ljava/io/IOException;)Ljava/io/IOException;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/j;Lokhttp3/a;Lokhttp3/internal/b/g;)Ljava/net/Socket;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
sget-boolean v0, Lokhttp3/j;->$assertionsDisabled:Z
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/lang/AssertionError;-><init>()V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/j;->bqf:Ljava/util/Deque;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Deque;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lokhttp3/internal/b/c;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2, v1}, Lokhttp3/internal/b/c;->a(Lokhttp3/a;Lokhttp3/y;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {v0}, Lokhttp3/internal/b/c;->FY()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {p3}, Lokhttp3/internal/b/g;->Gd()Lokhttp3/internal/b/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
|
|
|
|
sget-boolean p1, Lokhttp3/internal/b/g;->$assertionsDisabled:Z
|
|
|
|
|
|
|
|
if-nez p1, :cond_4
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p3, Lokhttp3/internal/b/g;->brL:Lokhttp3/j;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/lang/AssertionError;-><init>()V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_1
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p3, Lokhttp3/internal/b/g;->buq:Lokhttp3/internal/c/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez p1, :cond_5
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p3, Lokhttp3/internal/b/g;->bun:Lokhttp3/internal/b/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/internal/b/c;->btX:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/List;->size()I
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
const/4 p2, 0x1
|
|
|
|
|
|
|
|
if-ne p1, p2, :cond_5
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p3, Lokhttp3/internal/b/g;->bun:Lokhttp3/internal/b/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/internal/b/c;->btX:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
invoke-interface {p1, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
check-cast p1, Ljava/lang/ref/Reference;
|
|
|
|
|
|
|
|
invoke-virtual {p3, p2, v1, v1}, Lokhttp3/internal/b/g;->b(ZZZ)Ljava/net/Socket;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iput-object v0, p3, Lokhttp3/internal/b/g;->bun:Lokhttp3/internal/b/c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p3, v0, Lokhttp3/internal/b/c;->btX:Ljava/util/List;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {p3, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-object p2
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/lang/IllegalStateException;-><init>()V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_6
|
|
|
|
return-object v1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/t;Lokhttp3/w;)Lokhttp3/e;
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
invoke-static {p1, p2, v0}, Lokhttp3/v;->a(Lokhttp3/t;Lokhttp3/w;Z)Lokhttp3/v;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/j;Lokhttp3/a;Lokhttp3/internal/b/g;Lokhttp3/y;)Lokhttp3/internal/b/c;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
sget-boolean v0, Lokhttp3/j;->$assertionsDisabled:Z
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/lang/AssertionError;-><init>()V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/j;->bqf:Ljava/util/Deque;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Deque;->iterator()Ljava/util/Iterator;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lokhttp3/internal/b/c;
|
|
|
|
|
|
|
|
invoke-virtual {v0, p2, p4}, Lokhttp3/internal/b/c;->a(Lokhttp3/a;Lokhttp3/y;)Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p3, v0, p1}, Lokhttp3/internal/b/g;->a(Lokhttp3/internal/b/c;Z)V
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/j;)Lokhttp3/internal/b/d;
|
|
|
|
.locals 0
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/j;->bqg:Lokhttp3/internal/b/d;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/e;)Lokhttp3/internal/b/g;
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
check-cast p1, Lokhttp3/v;
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/v;->bsc:Lokhttp3/internal/c/j;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/internal/c/j;->bux:Lokhttp3/internal/b/g;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/Headers$a;Ljava/lang/String;)V
|
|
|
|
.locals 4
|
|
|
|
|
|
|
|
const-string v0, ":"
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0, v1}, Ljava/lang/String;->indexOf(Ljava/lang/String;I)I
|
|
|
|
|
|
|
|
move-result v2
|
|
|
|
|
|
|
|
const/4 v3, -0x1
|
|
|
|
|
|
|
|
if-eq v2, v3, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
invoke-virtual {p2, v0, v2}, Ljava/lang/String;->substring(II)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
add-int/2addr v2, v1
|
|
|
|
|
|
|
|
invoke-virtual {p2, v2}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {p1, v0, p2}, Lokhttp3/Headers$a;->ak(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p2, v0}, Ljava/lang/String;->startsWith(Ljava/lang/String;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
const-string v2, ""
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p2, v1}, Ljava/lang/String;->substring(I)Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object p2
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {p1, v2, p2}, Lokhttp3/Headers$a;->ak(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_1
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {p1, v2, p2}, Lokhttp3/Headers$a;->ak(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/Headers$a;Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.locals 0
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {p1, p2, p3}, Lokhttp3/Headers$a;->ak(Ljava/lang/String;Ljava/lang/String;)Lokhttp3/Headers$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/k;Ljavax/net/ssl/SSLSocket;Z)V
|
|
|
|
.locals 5
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object v0, p1, Lokhttp3/k;->bqr:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
sget-object v0, Lokhttp3/h;->bnL:Ljava/util/Comparator;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljavax/net/ssl/SSLSocket;->getEnabledCipherSuites()[Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object v2, p1, Lokhttp3/k;->bqr:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v0, v1, v2}, Lokhttp3/internal/c;->a(Ljava/util/Comparator;[Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
invoke-virtual {p2}, Ljavax/net/ssl/SSLSocket;->getEnabledCipherSuites()[Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:goto_0
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object v1, p1, Lokhttp3/k;->bqs:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
sget-object v1, Lokhttp3/internal/c;->aTM:Ljava/util/Comparator;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2}, Ljavax/net/ssl/SSLSocket;->getEnabledProtocols()[Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object v3, p1, Lokhttp3/k;->bqs:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-static {v1, v2, v3}, Lokhttp3/internal/c;->a(Ljava/util/Comparator;[Ljava/lang/String;[Ljava/lang/String;)[Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
invoke-virtual {p2}, Ljavax/net/ssl/SSLSocket;->getEnabledProtocols()[Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v1
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
invoke-virtual {p2}, Ljavax/net/ssl/SSLSocket;->getSupportedCipherSuites()[Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v2
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
sget-object v3, Lokhttp3/h;->bnL:Ljava/util/Comparator;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-string v4, "TLS_FALLBACK_SCSV"
|
|
|
|
|
|
|
|
invoke-static {v3, v2, v4}, Lokhttp3/internal/c;->a(Ljava/util/Comparator;[Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
|
|
|
|
move-result v3
|
|
|
|
|
|
|
|
if-eqz p3, :cond_2
|
|
|
|
|
|
|
|
const/4 p3, -0x1
|
|
|
|
|
|
|
|
if-eq v3, p3, :cond_2
|
|
|
|
|
|
|
|
aget-object p3, v2, v3
|
|
|
|
|
|
|
|
invoke-static {v0, p3}, Lokhttp3/internal/c;->c([Ljava/lang/String;Ljava/lang/String;)[Ljava/lang/String;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance p3, Lokhttp3/k$a;
|
|
|
|
|
|
|
|
invoke-direct {p3, p1}, Lokhttp3/k$a;-><init>(Lokhttp3/k;)V
|
|
|
|
|
|
|
|
invoke-virtual {p3, v0}, Lokhttp3/k$a;->d([Ljava/lang/String;)Lokhttp3/k$a;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
|
|
|
invoke-virtual {p1, v1}, Lokhttp3/k$a;->e([Ljava/lang/String;)Lokhttp3/k$a;
|
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/k$a;->Fd()Lokhttp3/k;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result-object p1
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p3, p1, Lokhttp3/k;->bqs:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz p3, :cond_3
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p3, p1, Lokhttp3/k;->bqs:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p3}, Ljavax/net/ssl/SSLSocket;->setEnabledProtocols([Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_3
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p3, p1, Lokhttp3/k;->bqr:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz p3, :cond_4
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/k;->bqr:[Ljava/lang/String;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-virtual {p2, p1}, Ljavax/net/ssl/SSLSocket;->setEnabledCipherSuites([Ljava/lang/String;)V
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/a;Lokhttp3/a;)Z
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
invoke-virtual {p1, p2}, Lokhttp3/a;->a(Lokhttp3/a;)Z
|
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final a(Lokhttp3/j;Lokhttp3/internal/b/c;)Z
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
sget-boolean v0, Lokhttp3/j;->$assertionsDisabled:Z
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/lang/AssertionError;-><init>()V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-boolean v0, p2, Lokhttp3/internal/b/c;->btU:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_3
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget v0, p1, Lokhttp3/j;->bqc:I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
invoke-virtual {p1}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
|
|
|
|
const/4 p1, 0x0
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
:goto_1
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/j;->bqf:Ljava/util/Deque;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {p1, p2}, Ljava/util/Deque;->remove(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final b(Lokhttp3/j;Lokhttp3/internal/b/c;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
sget-boolean v0, Lokhttp3/j;->$assertionsDisabled:Z
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
invoke-static {p1}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
|
|
|
|
invoke-direct {p1}, Ljava/lang/AssertionError;-><init>()V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-boolean v0, p1, Lokhttp3/j;->bqh:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iput-boolean v0, p1, Lokhttp3/j;->bqh:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
sget-object v0, Lokhttp3/j;->executor:Ljava/util/concurrent/Executor;
|
|
|
|
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object v1, p1, Lokhttp3/j;->bqe:Ljava/lang/Runnable;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {v0, v1}, Ljava/util/concurrent/Executor;->execute(Ljava/lang/Runnable;)V
|
|
|
|
|
|
|
|
:cond_2
|
2019-11-14 21:08:15 +00:00
|
|
|
iget-object p1, p1, Lokhttp3/j;->bqf:Ljava/util/Deque;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {p1, p2}, Ljava/util/Deque;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|