2019-07-24 11:27:29 +00:00
|
|
|
.class public final Lokhttp3/internal/e/i;
|
|
|
|
.super Ljava/lang/Object;
|
|
|
|
.source "Http2Stream.java"
|
|
|
|
|
|
|
|
|
|
|
|
# annotations
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
|
|
value = {
|
|
|
|
Lokhttp3/internal/e/i$c;,
|
|
|
|
Lokhttp3/internal/e/i$a;,
|
|
|
|
Lokhttp3/internal/e/i$b;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
|
|
|
|
# static fields
|
|
|
|
.field static final synthetic $assertionsDisabled:Z
|
|
|
|
|
|
|
|
|
|
|
|
# instance fields
|
2019-10-10 02:17:24 +00:00
|
|
|
.field bvN:J
|
2019-10-01 14:15:45 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.field bvO:J
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.field final bvz:Lokhttp3/internal/e/g;
|
2019-10-04 20:11:59 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.field final bwq:Ljava/util/Deque;
|
2019-07-24 11:27:29 +00:00
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
|
|
value = {
|
|
|
|
"Ljava/util/Deque<",
|
|
|
|
"Lokhttp3/Headers;",
|
|
|
|
">;"
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
.end field
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.field private bwr:Lokhttp3/internal/e/c$a;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.field bws:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.field final bwt:Lokhttp3/internal/e/i$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.field final bwu:Lokhttp3/internal/e/i$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.field final bwv:Lokhttp3/internal/e/i$c;
|
2019-08-30 20:04:20 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.field final bww:Lokhttp3/internal/e/i$c;
|
2019-08-30 20:04:20 +00:00
|
|
|
|
2019-07-24 11:27:29 +00:00
|
|
|
.field errorCode:Lokhttp3/internal/e/b;
|
|
|
|
|
|
|
|
.field final id:I
|
|
|
|
|
|
|
|
|
|
|
|
# direct methods
|
|
|
|
.method static constructor <clinit>()V
|
|
|
|
.locals 0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method constructor <init>(ILokhttp3/internal/e/g;ZZLokhttp3/Headers;)V
|
|
|
|
.locals 2
|
|
|
|
.param p5 # Lokhttp3/Headers;
|
|
|
|
.annotation runtime Ljavax/annotation/Nullable;
|
|
|
|
.end annotation
|
|
|
|
.end param
|
|
|
|
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-wide v0, p0, Lokhttp3/internal/e/i;->bvN:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, Ljava/util/ArrayDeque;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/util/ArrayDeque;-><init>()V
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/internal/e/i;->bwq:Ljava/util/Deque;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/internal/e/i$c;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lokhttp3/internal/e/i$c;-><init>(Lokhttp3/internal/e/i;)V
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/internal/e/i;->bwv:Lokhttp3/internal/e/i$c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance v0, Lokhttp3/internal/e/i$c;
|
|
|
|
|
|
|
|
invoke-direct {v0, p0}, Lokhttp3/internal/e/i$c;-><init>(Lokhttp3/internal/e/i;)V
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-object v0, p0, Lokhttp3/internal/e/i;->bww:Lokhttp3/internal/e/i$c;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
iput-object v0, p0, Lokhttp3/internal/e/i;->errorCode:Lokhttp3/internal/e/b;
|
|
|
|
|
|
|
|
if-eqz p2, :cond_5
|
|
|
|
|
|
|
|
iput p1, p0, Lokhttp3/internal/e/i;->id:I
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-object p2, p0, Lokhttp3/internal/e/i;->bvz:Lokhttp3/internal/e/g;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object p1, p2, Lokhttp3/internal/e/g;->bvQ:Lokhttp3/internal/e/m;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
invoke-virtual {p1}, Lokhttp3/internal/e/m;->GL()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
int-to-long v0, p1
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-wide v0, p0, Lokhttp3/internal/e/i;->bvO:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Lokhttp3/internal/e/i$b;
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object p2, p2, Lokhttp3/internal/e/g;->bvP:Lokhttp3/internal/e/m;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
invoke-virtual {p2}, Lokhttp3/internal/e/m;->GL()I
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result p2
|
|
|
|
|
|
|
|
int-to-long v0, p2
|
|
|
|
|
|
|
|
invoke-direct {p1, p0, v0, v1}, Lokhttp3/internal/e/i$b;-><init>(Lokhttp3/internal/e/i;J)V
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/internal/e/i;->bwt:Lokhttp3/internal/e/i$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
new-instance p1, Lokhttp3/internal/e/i$a;
|
|
|
|
|
|
|
|
invoke-direct {p1, p0}, Lokhttp3/internal/e/i$a;-><init>(Lokhttp3/internal/e/i;)V
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-object p1, p0, Lokhttp3/internal/e/i;->bwu:Lokhttp3/internal/e/i$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object p1, p0, Lokhttp3/internal/e/i;->bwt:Lokhttp3/internal/e/i$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-boolean p4, p1, Lokhttp3/internal/e/i$b;->bwy:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object p1, p0, Lokhttp3/internal/e/i;->bwu:Lokhttp3/internal/e/i$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-boolean p3, p1, Lokhttp3/internal/e/i$a;->bwy:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz p5, :cond_0
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object p1, p0, Lokhttp3/internal/e/i;->bwq:Ljava/util/Deque;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
invoke-interface {p1, p5}, Ljava/util/Deque;->add(Ljava/lang/Object;)Z
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-10 02:17:24 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/internal/e/i;->Gz()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-eqz p1, :cond_2
|
|
|
|
|
|
|
|
if-nez p5, :cond_1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string p2, "locally-initiated streams shouldn\'t have headers yet"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
:goto_0
|
2019-10-10 02:17:24 +00:00
|
|
|
invoke-virtual {p0}, Lokhttp3/internal/e/i;->Gz()Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
move-result p1
|
|
|
|
|
|
|
|
if-nez p1, :cond_4
|
|
|
|
|
|
|
|
if-eqz p5, :cond_3
|
|
|
|
|
|
|
|
goto :goto_1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string p2, "remotely-initiated streams should have headers"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
|
|
|
|
:cond_4
|
|
|
|
:goto_1
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_5
|
|
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
|
|
|
|
const-string p2, "connection == null"
|
|
|
|
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static synthetic b(Lokhttp3/internal/e/i;)Ljava/util/Deque;
|
|
|
|
.locals 0
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object p0, p0, Lokhttp3/internal/e/i;->bwq:Ljava/util/Deque;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method static synthetic c(Lokhttp3/internal/e/i;)Lokhttp3/internal/e/c$a;
|
|
|
|
.locals 0
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object p0, p0, Lokhttp3/internal/e/i;->bwr:Lokhttp3/internal/e/c$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
return-object p0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method private d(Lokhttp3/internal/e/b;)Z
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->errorCode:Lokhttp3/internal/e/b;
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwt:Lokhttp3/internal/e/i$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$b;->bwy:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwu:Lokhttp3/internal/e/i$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$a;->bwy:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
iput-object p1, p0, Lokhttp3/internal/e/i;->errorCode:Lokhttp3/internal/e/b;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object p1, p0, Lokhttp3/internal/e/i;->bvz:Lokhttp3/internal/e/g;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v0, p0, Lokhttp3/internal/e/i;->id:I
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
invoke-virtual {p1, v0}, Lokhttp3/internal/e/g;->do(I)Lokhttp3/internal/e/i;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const/4 p1, 0x1
|
|
|
|
|
|
|
|
return p1
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
|
|
|
|
# virtual methods
|
2019-10-10 02:17:24 +00:00
|
|
|
.method public final declared-synchronized GA()Lokhttp3/Headers;
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwv:Lokhttp3/internal/e/i$c;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokhttp3/internal/e/i$c;->enter()V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_1
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
:try_start_1
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwq:Ljava/util/Deque;
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Deque;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->errorCode:Lokhttp3/internal/e/b;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokhttp3/internal/e/i;->GF()V
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:try_start_2
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwv:Lokhttp3/internal/e/i$c;
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Lokhttp3/internal/e/i$c;->GG()V
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwq:Ljava/util/Deque;
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Deque;->isEmpty()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwq:Ljava/util/Deque;
|
|
|
|
|
|
|
|
invoke-interface {v0}, Ljava/util/Deque;->removeFirst()Ljava/lang/Object;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
check-cast v0, Lokhttp3/Headers;
|
|
|
|
:try_end_2
|
|
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:try_start_3
|
|
|
|
new-instance v0, Lokhttp3/internal/e/n;
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/internal/e/i;->errorCode:Lokhttp3/internal/e/b;
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Lokhttp3/internal/e/n;-><init>(Lokhttp3/internal/e/b;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
iget-object v1, p0, Lokhttp3/internal/e/i;->bwv:Lokhttp3/internal/e/i$c;
|
|
|
|
|
|
|
|
invoke-virtual {v1}, Lokhttp3/internal/e/i$c;->GG()V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
:try_end_3
|
|
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
|
|
|
|
:catchall_1
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
goto :goto_2
|
|
|
|
|
|
|
|
:goto_1
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:goto_2
|
|
|
|
goto :goto_1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final GB()Lokio/q;
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget-boolean v0, p0, Lokhttp3/internal/e/i;->bws:Z
|
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokhttp3/internal/e/i;->Gz()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v0, Ljava/lang/IllegalStateException;
|
|
|
|
|
|
|
|
const-string v1, "reply before requesting the sink"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
:goto_0
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwu:Lokhttp3/internal/e/i$a;
|
|
|
|
|
|
|
|
return-object v0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final GC()V
|
2019-10-09 23:16:36 +00:00
|
|
|
.locals 2
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwt:Lokhttp3/internal/e/i$b;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-boolean v1, v0, Lokhttp3/internal/e/i$b;->bwy:Z
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0}, Lokhttp3/internal/e/i;->isOpen()Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bvz:Lokhttp3/internal/e/g;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
iget v1, p0, Lokhttp3/internal/e/i;->id:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/internal/e/g;->do(I)Lokhttp3/internal/e/i;
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.method final GD()V
|
2019-10-09 23:16:36 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwt:Lokhttp3/internal/e/i$b;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$b;->bwy:Z
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwt:Lokhttp3/internal/e/i$b;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$b;->w:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwu:Lokhttp3/internal/e/i$a;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$a;->bwy:Z
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwu:Lokhttp3/internal/e/i$a;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$a;->w:Z
|
|
|
|
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
|
|
|
invoke-virtual {p0}, Lokhttp3/internal/e/i;->isOpen()Z
|
|
|
|
|
|
|
|
move-result v1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
sget-object v0, Lokhttp3/internal/e/b;->buP:Lokhttp3/internal/e/b;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
invoke-virtual {p0, v0}, Lokhttp3/internal/e/i;->b(Lokhttp3/internal/e/b;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bvz:Lokhttp3/internal/e/g;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
iget v1, p0, Lokhttp3/internal/e/i;->id:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1}, Lokhttp3/internal/e/g;->do(I)Lokhttp3/internal/e/i;
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
:try_start_1
|
|
|
|
monitor-exit p0
|
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.method final GE()V
|
2019-10-09 23:16:36 +00:00
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwu:Lokhttp3/internal/e/i$a;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$a;->w:Z
|
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwu:Lokhttp3/internal/e/i$a;
|
2019-10-09 23:16:36 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$a;->bwy:Z
|
2019-10-09 23:16:36 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->errorCode:Lokhttp3/internal/e/b;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
new-instance v1, Lokhttp3/internal/e/n;
|
|
|
|
|
|
|
|
invoke-direct {v1, v0}, Lokhttp3/internal/e/n;-><init>(Lokhttp3/internal/e/b;)V
|
|
|
|
|
|
|
|
throw v1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
new-instance v0, Ljava/io/IOException;
|
|
|
|
|
|
|
|
const-string v1, "stream finished"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
|
|
|
|
:cond_2
|
|
|
|
new-instance v0, Ljava/io/IOException;
|
|
|
|
|
|
|
|
const-string v1, "stream closed"
|
|
|
|
|
|
|
|
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.method final GF()V
|
2019-10-07 23:23:22 +00:00
|
|
|
.locals 1
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/InterruptedIOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->wait()V
|
|
|
|
:try_end_0
|
|
|
|
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catch_0
|
|
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
|
|
|
|
move-result-object v0
|
|
|
|
|
|
|
|
invoke-virtual {v0}, Ljava/lang/Thread;->interrupt()V
|
|
|
|
|
|
|
|
new-instance v0, Ljava/io/InterruptedIOException;
|
|
|
|
|
|
|
|
invoke-direct {v0}, Ljava/io/InterruptedIOException;-><init>()V
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
.method public final Gz()Z
|
2019-10-03 02:31:26 +00:00
|
|
|
.locals 4
|
|
|
|
|
|
|
|
iget v0, p0, Lokhttp3/internal/e/i;->id:I
|
|
|
|
|
|
|
|
const/4 v1, 0x1
|
|
|
|
|
|
|
|
and-int/2addr v0, v1
|
|
|
|
|
|
|
|
const/4 v2, 0x0
|
|
|
|
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
goto :goto_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
|
|
|
|
:goto_0
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v3, p0, Lokhttp3/internal/e/i;->bvz:Lokhttp3/internal/e/g;
|
2019-10-03 02:31:26 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-boolean v3, v3, Lokhttp3/internal/e/g;->bvE:Z
|
2019-10-03 02:31:26 +00:00
|
|
|
|
|
|
|
if-ne v3, v0, :cond_1
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_1
|
|
|
|
return v2
|
|
|
|
.end method
|
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
.method final at(J)V
|
2019-07-24 11:27:29 +00:00
|
|
|
.locals 3
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-wide v0, p0, Lokhttp3/internal/e/i;->bvO:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
add-long/2addr v0, p1
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iput-wide v0, p0, Lokhttp3/internal/e/i;->bvO:J
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
|
|
|
|
cmp-long v2, p1, v0
|
|
|
|
|
|
|
|
if-lez v2, :cond_0
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final b(Lokhttp3/internal/e/b;)V
|
|
|
|
.locals 2
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
|
|
value = {
|
|
|
|
Ljava/io/IOException;
|
|
|
|
}
|
|
|
|
.end annotation
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lokhttp3/internal/e/i;->d(Lokhttp3/internal/e/b;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bvz:Lokhttp3/internal/e/g;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v1, p0, Lokhttp3/internal/e/i;->id:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, p1}, Lokhttp3/internal/e/g;->b(ILokhttp3/internal/e/b;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final c(Lokhttp3/internal/e/b;)V
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
invoke-direct {p0, p1}, Lokhttp3/internal/e/i;->d(Lokhttp3/internal/e/b;)Z
|
|
|
|
|
|
|
|
move-result v0
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:cond_0
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bvz:Lokhttp3/internal/e/g;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
iget v1, p0, Lokhttp3/internal/e/i;->id:I
|
|
|
|
|
|
|
|
invoke-virtual {v0, v1, p1}, Lokhttp3/internal/e/g;->a(ILokhttp3/internal/e/b;)V
|
|
|
|
|
|
|
|
return-void
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method final declared-synchronized e(Lokhttp3/internal/e/b;)V
|
|
|
|
.locals 1
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->errorCode:Lokhttp3/internal/e/b;
|
|
|
|
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
|
|
|
|
iput-object p1, p0, Lokhttp3/internal/e/i;->errorCode:Lokhttp3/internal/e/b;
|
|
|
|
|
|
|
|
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return-void
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception p1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw p1
|
|
|
|
.end method
|
|
|
|
|
|
|
|
.method public final declared-synchronized isOpen()Z
|
|
|
|
.locals 2
|
|
|
|
|
|
|
|
monitor-enter p0
|
|
|
|
|
|
|
|
:try_start_0
|
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->errorCode:Lokhttp3/internal/e/b;
|
|
|
|
:try_end_0
|
|
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
|
|
|
|
const/4 v1, 0x0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_0
|
|
|
|
:try_start_1
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwt:Lokhttp3/internal/e/i$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$b;->bwy:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwt:Lokhttp3/internal/e/i$b;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$b;->w:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
:cond_1
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwu:Lokhttp3/internal/e/i$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$a;->bwy:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-object v0, p0, Lokhttp3/internal/e/i;->bwu:Lokhttp3/internal/e/i$a;
|
2019-07-24 11:27:29 +00:00
|
|
|
|
2019-10-09 23:16:36 +00:00
|
|
|
iget-boolean v0, v0, Lokhttp3/internal/e/i$a;->w:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
:cond_2
|
2019-10-10 02:17:24 +00:00
|
|
|
iget-boolean v0, p0, Lokhttp3/internal/e/i;->bws:Z
|
2019-07-24 11:27:29 +00:00
|
|
|
:try_end_1
|
|
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return v1
|
|
|
|
|
|
|
|
:cond_3
|
|
|
|
const/4 v0, 0x1
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
return v0
|
|
|
|
|
|
|
|
:catchall_0
|
|
|
|
move-exception v0
|
|
|
|
|
|
|
|
monitor-exit p0
|
|
|
|
|
|
|
|
throw v0
|
|
|
|
.end method
|