d.smali
.class public final Lcom/squareup/okhttp/internal/framed/d;
.super Ljava/lang/Object;
.source "FramedConnection.java"
# interfaces
.implements Ljava/io/Closeable;
# static fields
.field private static synthetic $assertionsDisabled:Z
.field private static final executor:Ljava/util/concurrent/ExecutorService;
# instance fields
.field final bxT:Z
.field private final bxU:Lcom/squareup/okhttp/internal/framed/f;
.field private final bxV:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map",
"<",
"Ljava/lang/Integer;",
"Lcom/squareup/okhttp/internal/framed/h;",
">;"
}
.end annotation
.end field
.field private final bxW:Ljava/lang/String;
.field private bxX:I
.field private bxY:I
.field private final bxZ:Ljava/util/concurrent/ExecutorService;
.field public final bxq:Lcom/squareup/okhttp/Protocol;
.field private final bya:Lcom/squareup/okhttp/internal/framed/y;
.field byb:J
.field byc:J
.field public byd:Lcom/squareup/okhttp/internal/framed/z;
.field final bye:Lcom/squareup/okhttp/internal/framed/z;
.field private byf:Z
.field private byg:Lcom/squareup/okhttp/internal/framed/ad;
.field public final byh:Lcom/squareup/okhttp/internal/framed/c;
.field private byi:Lcom/squareup/okhttp/internal/framed/g;
.field private final byj:Ljava/util/Set;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Set",
"<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
.field private shutdown:Z
.field private socket:Ljava/net/Socket;
# direct methods
.method static constructor <clinit>()V
.registers 9
.prologue
const/4 v2, 0x0
.line 55
const-class v0, Lcom/squareup/okhttp/internal/framed/d;
invoke-virtual {v0}, Ljava/lang/Class;->desiredAssertionStatus()Z
move-result v0
if-nez v0, :cond_26
const/4 v0, 0x1
:goto_a
sput-boolean v0, Lcom/squareup/okhttp/internal/framed/d;->$assertionsDisabled:Z
.line 69
new-instance v1, Ljava/util/concurrent/ThreadPoolExecutor;
const v3, 0x7fffffff
const-wide/16 v4, 0x3c
sget-object v6, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
new-instance v7, Ljava/util/concurrent/SynchronousQueue;
invoke-direct {v7}, Ljava/util/concurrent/SynchronousQueue;-><init>()V
const-string v0, "OkHttp FramedConnection"
.line 71
invoke-static {v0}, Lcom/squareup/okhttp/internal/k;->gg(Ljava/lang/String;)Ljava/util/concurrent/ThreadFactory;
move-result-object v8
invoke-direct/range {v1 .. v8}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
sput-object v1, Lcom/squareup/okhttp/internal/framed/d;->executor:Ljava/util/concurrent/ExecutorService;
.line 69
return-void
:cond_26
move v0, v2
.line 55
goto :goto_a
.end method
.method private constructor <init>(Lcom/squareup/okhttp/internal/framed/e;)V
.registers 13
.prologue
const/4 v10, 0x7
const/4 v3, 0x1
const/4 v2, 0x0
.line 131
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 84
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxV:Ljava/util/Map;
.line 89
invoke-static {}, Ljava/lang/System;->nanoTime()J
.line 105
const-wide/16 v0, 0x0
iput-wide v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byb:J
.line 115
new-instance v0, Lcom/squareup/okhttp/internal/framed/z;
invoke-direct {v0}, Lcom/squareup/okhttp/internal/framed/z;-><init>()V
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byd:Lcom/squareup/okhttp/internal/framed/z;
.line 121
new-instance v0, Lcom/squareup/okhttp/internal/framed/z;
invoke-direct {v0}, Lcom/squareup/okhttp/internal/framed/z;-><init>()V
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bye:Lcom/squareup/okhttp/internal/framed/z;
.line 123
iput-boolean v2, p0, Lcom/squareup/okhttp/internal/framed/d;->byf:Z
.line 833
new-instance v0, Ljava/util/LinkedHashSet;
invoke-direct {v0}, Ljava/util/LinkedHashSet;-><init>()V
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byj:Ljava/util/Set;
.line 1535
iget-object v0, p1, Lcom/squareup/okhttp/internal/framed/e;->bxq:Lcom/squareup/okhttp/Protocol;
.line 132
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxq:Lcom/squareup/okhttp/Protocol;
.line 2535
iget-object v0, p1, Lcom/squareup/okhttp/internal/framed/e;->bya:Lcom/squareup/okhttp/internal/framed/y;
.line 133
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bya:Lcom/squareup/okhttp/internal/framed/y;
.line 3535
iget-boolean v0, p1, Lcom/squareup/okhttp/internal/framed/e;->bxT:Z
.line 134
iput-boolean v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxT:Z
.line 4535
iget-object v0, p1, Lcom/squareup/okhttp/internal/framed/e;->bxU:Lcom/squareup/okhttp/internal/framed/f;
.line 135
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxU:Lcom/squareup/okhttp/internal/framed/f;
.line 5535
iget-boolean v0, p1, Lcom/squareup/okhttp/internal/framed/e;->bxT:Z
.line 137
if-eqz v0, :cond_d3
move v0, v3
:goto_40
iput v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxY:I
.line 6535
iget-boolean v0, p1, Lcom/squareup/okhttp/internal/framed/e;->bxT:Z
.line 138
if-eqz v0, :cond_52
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxq:Lcom/squareup/okhttp/Protocol;
sget-object v1, Lcom/squareup/okhttp/Protocol;->HTTP_2:Lcom/squareup/okhttp/Protocol;
if-ne v0, v1, :cond_52
.line 139
iget v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxY:I
add-int/lit8 v0, v0, 0x2
iput v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxY:I
.line 7535
:cond_52
iget-boolean v0, p1, Lcom/squareup/okhttp/internal/framed/e;->bxT:Z
.line 148
if-eqz v0, :cond_5d
.line 149
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byd:Lcom/squareup/okhttp/internal/framed/z;
const/high16 v1, 0x1000000
invoke-virtual {v0, v10, v2, v1}, Lcom/squareup/okhttp/internal/framed/z;->S(III)Lcom/squareup/okhttp/internal/framed/z;
.line 8535
:cond_5d
iget-object v0, p1, Lcom/squareup/okhttp/internal/framed/e;->bxW:Ljava/lang/String;
.line 152
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxW:Ljava/lang/String;
.line 154
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxq:Lcom/squareup/okhttp/Protocol;
sget-object v1, Lcom/squareup/okhttp/Protocol;->HTTP_2:Lcom/squareup/okhttp/Protocol;
if-ne v0, v1, :cond_d6
.line 155
new-instance v0, Lcom/squareup/okhttp/internal/framed/p;
invoke-direct {v0}, Lcom/squareup/okhttp/internal/framed/p;-><init>()V
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byg:Lcom/squareup/okhttp/internal/framed/ad;
.line 157
new-instance v1, Ljava/util/concurrent/ThreadPoolExecutor;
const-wide/16 v4, 0x3c
sget-object v6, Ljava/util/concurrent/TimeUnit;->SECONDS:Ljava/util/concurrent/TimeUnit;
new-instance v7, Ljava/util/concurrent/LinkedBlockingQueue;
invoke-direct {v7}, Ljava/util/concurrent/LinkedBlockingQueue;-><init>()V
const-string v0, "OkHttp %s Push Observer"
new-array v8, v3, [Ljava/lang/Object;
iget-object v9, p0, Lcom/squareup/okhttp/internal/framed/d;->bxW:Ljava/lang/String;
aput-object v9, v8, v2
.line 159
invoke-static {v0, v8}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/squareup/okhttp/internal/k;->gg(Ljava/lang/String;)Ljava/util/concurrent/ThreadFactory;
move-result-object v8
invoke-direct/range {v1 .. v8}, Ljava/util/concurrent/ThreadPoolExecutor;-><init>(IIJLjava/util/concurrent/TimeUnit;Ljava/util/concurrent/BlockingQueue;Ljava/util/concurrent/ThreadFactory;)V
iput-object v1, p0, Lcom/squareup/okhttp/internal/framed/d;->bxZ:Ljava/util/concurrent/ExecutorService;
.line 161
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bye:Lcom/squareup/okhttp/internal/framed/z;
const v1, 0xffff
invoke-virtual {v0, v10, v2, v1}, Lcom/squareup/okhttp/internal/framed/z;->S(III)Lcom/squareup/okhttp/internal/framed/z;
.line 162
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bye:Lcom/squareup/okhttp/internal/framed/z;
const/4 v1, 0x5
const/16 v3, 0x4000
invoke-virtual {v0, v1, v2, v3}, Lcom/squareup/okhttp/internal/framed/z;->S(III)Lcom/squareup/okhttp/internal/framed/z;
.line 169
:goto_9e
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bye:Lcom/squareup/okhttp/internal/framed/z;
invoke-virtual {v0}, Lcom/squareup/okhttp/internal/framed/z;->HM()I
move-result v0
int-to-long v0, v0
iput-wide v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byc:J
.line 9535
iget-object v0, p1, Lcom/squareup/okhttp/internal/framed/e;->socket:Ljava/net/Socket;
.line 170
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->socket:Ljava/net/Socket;
.line 171
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byg:Lcom/squareup/okhttp/internal/framed/ad;
.line 10535
iget-object v1, p1, Lcom/squareup/okhttp/internal/framed/e;->byu:Lokio/e;
.line 171
iget-boolean v3, p0, Lcom/squareup/okhttp/internal/framed/d;->bxT:Z
invoke-interface {v0, v1, v3}, Lcom/squareup/okhttp/internal/framed/ad;->a(Lokio/e;Z)Lcom/squareup/okhttp/internal/framed/c;
move-result-object v0
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
.line 173
new-instance v0, Lcom/squareup/okhttp/internal/framed/g;
iget-object v1, p0, Lcom/squareup/okhttp/internal/framed/d;->byg:Lcom/squareup/okhttp/internal/framed/ad;
.line 11535
iget-object v3, p1, Lcom/squareup/okhttp/internal/framed/e;->byt:Lokio/f;
.line 173
iget-boolean v4, p0, Lcom/squareup/okhttp/internal/framed/d;->bxT:Z
invoke-interface {v1, v3, v4}, Lcom/squareup/okhttp/internal/framed/ad;->a(Lokio/f;Z)Lcom/squareup/okhttp/internal/framed/a;
move-result-object v1
invoke-direct {v0, p0, v1, v2}, Lcom/squareup/okhttp/internal/framed/g;-><init>(Lcom/squareup/okhttp/internal/framed/d;Lcom/squareup/okhttp/internal/framed/a;B)V
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byi:Lcom/squareup/okhttp/internal/framed/g;
.line 174
new-instance v0, Ljava/lang/Thread;
iget-object v1, p0, Lcom/squareup/okhttp/internal/framed/d;->byi:Lcom/squareup/okhttp/internal/framed/g;
invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V
invoke-virtual {v0}, Ljava/lang/Thread;->start()V
.line 175
return-void
.line 137
:cond_d3
const/4 v0, 0x2
goto/16 :goto_40
.line 163
:cond_d6
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxq:Lcom/squareup/okhttp/Protocol;
sget-object v1, Lcom/squareup/okhttp/Protocol;->SPDY_3:Lcom/squareup/okhttp/Protocol;
if-ne v0, v1, :cond_e7
.line 164
new-instance v0, Lcom/squareup/okhttp/internal/framed/aa;
invoke-direct {v0}, Lcom/squareup/okhttp/internal/framed/aa;-><init>()V
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byg:Lcom/squareup/okhttp/internal/framed/ad;
.line 165
const/4 v0, 0x0
iput-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxZ:Ljava/util/concurrent/ExecutorService;
goto :goto_9e
.line 167
:cond_e7
new-instance v0, Ljava/lang/AssertionError;
iget-object v1, p0, Lcom/squareup/okhttp/internal/framed/d;->bxq:Lcom/squareup/okhttp/Protocol;
invoke-direct {v0, v1}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
throw v0
.end method
.method public synthetic constructor <init>(Lcom/squareup/okhttp/internal/framed/e;B)V
.registers 3
.prologue
.line 55
invoke-direct {p0, p1}, Lcom/squareup/okhttp/internal/framed/d;-><init>(Lcom/squareup/okhttp/internal/framed/e;)V
return-void
.end method
.method private declared-synchronized Ho()Lcom/squareup/okhttp/internal/framed/x;
.registers 2
.prologue
.line 416
monitor-enter p0
const/4 v0, 0x0
monitor-exit p0
return-object v0
.end method
.method static synthetic Hp()Ljava/util/concurrent/ExecutorService;
.registers 1
.prologue
.line 55
sget-object v0, Lcom/squareup/okhttp/internal/framed/d;->executor:Ljava/util/concurrent/ExecutorService;
return-object v0
.end method
.method static synthetic a(Lcom/squareup/okhttp/internal/framed/d;)Ljava/lang/String;
.registers 2
.prologue
.line 55
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxW:Ljava/lang/String;
return-object v0
.end method
.method private a(Lcom/squareup/okhttp/internal/framed/ErrorCode;Lcom/squareup/okhttp/internal/framed/ErrorCode;)V
.registers 9
.prologue
const/4 v0, 0x0
const/4 v2, 0x0
.line 454
sget-boolean v1, Lcom/squareup/okhttp/internal/framed/d;->$assertionsDisabled:Z
if-nez v1, :cond_12
invoke-static {p0}, Ljava/lang/Thread;->holdsLock(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_12
new-instance v0, Ljava/lang/AssertionError;
invoke-direct {v0}, Ljava/lang/AssertionError;-><init>()V
throw v0
.line 12430
:cond_12
:try_start_12
iget-object v3, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
monitor-enter v3
:try_end_15
.catch Ljava/io/IOException; {:try_start_12 .. :try_end_15} :catch_6a
.line 12432
:try_start_15
monitor-enter p0
:try_end_16
.catchall {:try_start_15 .. :try_end_16} :catchall_67
.line 12433
:try_start_16
iget-boolean v1, p0, Lcom/squareup/okhttp/internal/framed/d;->shutdown:Z
if-eqz v1, :cond_54
.line 12434
monitor-exit p0
:try_end_1b
.catchall {:try_start_16 .. :try_end_1b} :catchall_64
:try_start_1b
monitor-exit v3
:try_end_1c
.catchall {:try_start_1b .. :try_end_1c} :catchall_67
move-object v1, v0
.line 464
:goto_1d
monitor-enter p0
.line 465
:try_start_1e
iget-object v3, p0, Lcom/squareup/okhttp/internal/framed/d;->bxV:Ljava/util/Map;
invoke-interface {v3}, Ljava/util/Map;->isEmpty()Z
move-result v3
if-nez v3, :cond_8b
.line 466
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxV:Ljava/util/Map;
invoke-interface {v0}, Ljava/util/Map;->values()Ljava/util/Collection;
move-result-object v0
iget-object v3, p0, Lcom/squareup/okhttp/internal/framed/d;->bxV:Ljava/util/Map;
invoke-interface {v3}, Ljava/util/Map;->size()I
move-result v3
new-array v3, v3, [Lcom/squareup/okhttp/internal/framed/h;
invoke-interface {v0, v3}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
move-result-object v0
check-cast v0, [Lcom/squareup/okhttp/internal/framed/h;
.line 467
iget-object v3, p0, Lcom/squareup/okhttp/internal/framed/d;->bxV:Ljava/util/Map;
invoke-interface {v3}, Ljava/util/Map;->clear()V
.line 468
const/4 v3, 0x0
invoke-direct {p0, v3}, Lcom/squareup/okhttp/internal/framed/d;->ba(Z)V
move-object v3, v0
.line 474
:goto_44
monitor-exit p0
:try_end_45
.catchall {:try_start_1e .. :try_end_45} :catchall_6c
.line 476
if-eqz v3, :cond_75
.line 477
array-length v4, v3
move-object v0, v1
:goto_49
if-ge v2, v4, :cond_74
aget-object v1, v3, v2
.line 479
:try_start_4d
invoke-virtual {v1, p2}, Lcom/squareup/okhttp/internal/framed/h;->a(Lcom/squareup/okhttp/internal/framed/ErrorCode;)V
:try_end_50
.catch Ljava/io/IOException; {:try_start_4d .. :try_end_50} :catch_6f
.line 477
:cond_50
:goto_50
add-int/lit8 v1, v2, 0x1
move v2, v1
goto :goto_49
.line 12436
:cond_54
const/4 v1, 0x1
:try_start_55
iput-boolean v1, p0, Lcom/squareup/okhttp/internal/framed/d;->shutdown:Z
.line 12437
iget v1, p0, Lcom/squareup/okhttp/internal/framed/d;->bxX:I
.line 12438
monitor-exit p0
:try_end_5a
.catchall {:try_start_55 .. :try_end_5a} :catchall_64
.line 12440
:try_start_5a
iget-object v4, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
sget-object v5, Lcom/squareup/okhttp/internal/k;->EMPTY_BYTE_ARRAY:[B
invoke-interface {v4, v1, p1, v5}, Lcom/squareup/okhttp/internal/framed/c;->a(ILcom/squareup/okhttp/internal/framed/ErrorCode;[B)V
.line 12441
monitor-exit v3
:try_end_62
.catchall {:try_start_5a .. :try_end_62} :catchall_67
move-object v1, v0
goto :goto_1d
.line 12438
:catchall_64
move-exception v1
:try_start_65
monitor-exit p0
:try_end_66
.catchall {:try_start_65 .. :try_end_66} :catchall_64
:try_start_66
throw v1
.line 12441
:catchall_67
move-exception v1
monitor-exit v3
:try_end_69
.catchall {:try_start_66 .. :try_end_69} :catchall_67
:try_start_69
throw v1
:try_end_6a
.catch Ljava/io/IOException; {:try_start_69 .. :try_end_6a} :catch_6a
.line 459
:catch_6a
move-exception v1
goto :goto_1d
.line 474
:catchall_6c
move-exception v0
:try_start_6d
monitor-exit p0
:try_end_6e
.catchall {:try_start_6d .. :try_end_6e} :catchall_6c
throw v0
.line 480
:catch_6f
move-exception v1
.line 481
if-eqz v0, :cond_50
move-object v0, v1
goto :goto_50
:cond_74
move-object v1, v0
.line 494
:cond_75
:try_start_75
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
invoke-interface {v0}, Lcom/squareup/okhttp/internal/framed/c;->close()V
:try_end_7a
.catch Ljava/io/IOException; {:try_start_75 .. :try_end_7a} :catch_83
move-object v0, v1
.line 501
:cond_7b
:goto_7b
:try_start_7b
iget-object v1, p0, Lcom/squareup/okhttp/internal/framed/d;->socket:Ljava/net/Socket;
invoke-virtual {v1}, Ljava/net/Socket;->close()V
:try_end_80
.catch Ljava/io/IOException; {:try_start_7b .. :try_end_80} :catch_89
.line 506
:goto_80
if-eqz v0, :cond_88
throw v0
.line 495
:catch_83
move-exception v0
.line 496
if-eqz v1, :cond_7b
move-object v0, v1
goto :goto_7b
.line 507
:cond_88
return-void
.line 503
:catch_89
move-exception v0
goto :goto_80
:cond_8b
move-object v3, v0
goto :goto_44
.end method
.method static synthetic a(Lcom/squareup/okhttp/internal/framed/d;II)V
.registers 10
.prologue
.line 17396
sget-object v6, Lcom/squareup/okhttp/internal/framed/d;->executor:Ljava/util/concurrent/ExecutorService;
new-instance v0, Lcom/squareup/okhttp/internal/framed/d$3;
const-string v2, "OkHttp %s ping %08x%08x"
const/4 v1, 0x3
new-array v3, v1, [Ljava/lang/Object;
const/4 v1, 0x0
iget-object v4, p0, Lcom/squareup/okhttp/internal/framed/d;->bxW:Ljava/lang/String;
aput-object v4, v3, v1
const/4 v1, 0x1
.line 17397
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
aput-object v4, v3, v1
const/4 v1, 0x2
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
aput-object v4, v3, v1
move-object v1, p0
move v4, p1
move v5, p2
invoke-direct/range {v0 .. v5}, Lcom/squareup/okhttp/internal/framed/d$3;-><init>(Lcom/squareup/okhttp/internal/framed/d;Ljava/lang/String;[Ljava/lang/Object;II)V
.line 17396
invoke-interface {v6, v0}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
.line 55
return-void
.end method
.method static synthetic a(Lcom/squareup/okhttp/internal/framed/d;ILokio/f;I)V
.registers 12
.prologue
.line 55
.line 14883
new-instance v5, Lokio/d;
invoke-direct {v5}, Lokio/d;-><init>()V
.line 14884
int-to-long v0, p3
invoke-interface {p2, v0, v1}, Lokio/f;->Q(J)V
.line 14885
int-to-long v0, p3
invoke-interface {p2, v5, v0, v1}, Lokio/f;->read(Lokio/d;J)J
.line 15067
iget-wide v0, v5, Lokio/d;->size:J
.line 14886
int-to-long v2, p3
cmp-long v0, v0, v2
if-eqz v0, :cond_33
new-instance v0, Ljava/io/IOException;
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
.line 16067
iget-wide v2, v5, Lokio/d;->size:J
.line 14886
invoke-virtual {v1, v2, v3}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
move-result-object v1
const-string v2, " != "
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
.line 14887
:cond_33
iget-object v7, p0, Lcom/squareup/okhttp/internal/framed/d;->bxZ:Ljava/util/concurrent/ExecutorService;
new-instance v0, Lcom/squareup/okhttp/internal/framed/d$6;
const-string v2, "OkHttp %s Push Data[%s]"
const/4 v1, 0x2
new-array v3, v1, [Ljava/lang/Object;
const/4 v1, 0x0
iget-object v4, p0, Lcom/squareup/okhttp/internal/framed/d;->bxW:Ljava/lang/String;
aput-object v4, v3, v1
const/4 v1, 0x1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
aput-object v4, v3, v1
move-object v1, p0
move v4, p1
move v6, p3
invoke-direct/range {v0 .. v6}, Lcom/squareup/okhttp/internal/framed/d$6;-><init>(Lcom/squareup/okhttp/internal/framed/d;Ljava/lang/String;[Ljava/lang/Object;ILokio/d;I)V
invoke-interface {v7, v0}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
.line 55
return-void
.end method
.method static synthetic a(Lcom/squareup/okhttp/internal/framed/d;Lcom/squareup/okhttp/internal/framed/ErrorCode;Lcom/squareup/okhttp/internal/framed/ErrorCode;)V
.registers 3
.prologue
.line 55
invoke-direct {p0, p1, p2}, Lcom/squareup/okhttp/internal/framed/d;->a(Lcom/squareup/okhttp/internal/framed/ErrorCode;Lcom/squareup/okhttp/internal/framed/ErrorCode;)V
return-void
.end method
.method static synthetic a(Lcom/squareup/okhttp/internal/framed/d;ZII)V
.registers 6
.prologue
.line 55
.line 13408
iget-object v1, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
monitor-enter v1
.line 13411
:try_start_3
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
invoke-interface {v0, p1, p2, p3}, Lcom/squareup/okhttp/internal/framed/c;->a(ZII)V
.line 13412
monitor-exit v1
return-void
:catchall_a
move-exception v0
monitor-exit v1
:try_end_c
.catchall {:try_start_3 .. :try_end_c} :catchall_a
throw v0
.end method
.method static synthetic a(Lcom/squareup/okhttp/internal/framed/d;I)Z
.registers 4
.prologue
.line 55
.line 14829
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxq:Lcom/squareup/okhttp/Protocol;
sget-object v1, Lcom/squareup/okhttp/Protocol;->HTTP_2:Lcom/squareup/okhttp/Protocol;
if-ne v0, v1, :cond_e
if-eqz p1, :cond_e
and-int/lit8 v0, p1, 0x1
if-nez v0, :cond_e
const/4 v0, 0x1
:goto_d
return v0
:cond_e
const/4 v0, 0x0
.line 55
goto :goto_d
.end method
.method static synthetic b(Lcom/squareup/okhttp/internal/framed/d;I)V
.registers 8
.prologue
.line 55
.line 16861
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxZ:Ljava/util/concurrent/ExecutorService;
new-instance v1, Lcom/squareup/okhttp/internal/framed/d$5;
const-string v2, "OkHttp %s Push Headers[%s]"
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
iget-object v5, p0, Lcom/squareup/okhttp/internal/framed/d;->bxW:Ljava/lang/String;
aput-object v5, v3, v4
const/4 v4, 0x1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
aput-object v5, v3, v4
invoke-direct {v1, p0, v2, v3, p1}, Lcom/squareup/okhttp/internal/framed/d$5;-><init>(Lcom/squareup/okhttp/internal/framed/d;Ljava/lang/String;[Ljava/lang/Object;I)V
invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
.line 55
return-void
.end method
.method static synthetic b(Lcom/squareup/okhttp/internal/framed/d;)Z
.registers 2
.prologue
.line 55
iget-boolean v0, p0, Lcom/squareup/okhttp/internal/framed/d;->shutdown:Z
return v0
.end method
.method private declared-synchronized ba(Z)V
.registers 3
.prologue
.line 204
monitor-enter p0
if-eqz p1, :cond_6
:try_start_3
invoke-static {}, Ljava/lang/System;->nanoTime()J
:try_end_6
.catchall {:try_start_3 .. :try_end_6} :catchall_8
.line 205
:cond_6
monitor-exit p0
return-void
.line 204
:catchall_8
move-exception v0
monitor-exit p0
throw v0
.end method
.method static synthetic c(Lcom/squareup/okhttp/internal/framed/d;)I
.registers 2
.prologue
.line 55
iget v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxX:I
return v0
.end method
.method static synthetic c(Lcom/squareup/okhttp/internal/framed/d;I)I
.registers 2
.prologue
.line 55
iput p1, p0, Lcom/squareup/okhttp/internal/framed/d;->bxX:I
return p1
.end method
.method static synthetic d(Lcom/squareup/okhttp/internal/framed/d;)I
.registers 2
.prologue
.line 55
iget v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxY:I
return v0
.end method
.method static synthetic d(Lcom/squareup/okhttp/internal/framed/d;I)V
.registers 8
.prologue
.line 55
.line 16904
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxZ:Ljava/util/concurrent/ExecutorService;
new-instance v1, Lcom/squareup/okhttp/internal/framed/d$7;
const-string v2, "OkHttp %s Push Reset[%s]"
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
iget-object v5, p0, Lcom/squareup/okhttp/internal/framed/d;->bxW:Ljava/lang/String;
aput-object v5, v3, v4
const/4 v4, 0x1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
aput-object v5, v3, v4
invoke-direct {v1, p0, v2, v3, p1}, Lcom/squareup/okhttp/internal/framed/d$7;-><init>(Lcom/squareup/okhttp/internal/framed/d;Ljava/lang/String;[Ljava/lang/Object;I)V
invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
.line 55
return-void
.end method
.method static synthetic e(Lcom/squareup/okhttp/internal/framed/d;)Ljava/util/Map;
.registers 2
.prologue
.line 55
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxV:Ljava/util/Map;
return-object v0
.end method
.method static synthetic e(Lcom/squareup/okhttp/internal/framed/d;I)V
.registers 8
.prologue
.line 55
.line 17836
monitor-enter p0
.line 17837
:try_start_1
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byj:Ljava/util/Set;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_14
.line 17838
sget-object v0, Lcom/squareup/okhttp/internal/framed/ErrorCode;->PROTOCOL_ERROR:Lcom/squareup/okhttp/internal/framed/ErrorCode;
invoke-virtual {p0, p1, v0}, Lcom/squareup/okhttp/internal/framed/d;->b(ILcom/squareup/okhttp/internal/framed/ErrorCode;)V
.line 17839
monitor-exit p0
:goto_13
return-void
.line 17841
:cond_14
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byj:Ljava/util/Set;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
.line 17842
monitor-exit p0
:try_end_1e
.catchall {:try_start_1 .. :try_end_1e} :catchall_3a
.line 17843
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxZ:Ljava/util/concurrent/ExecutorService;
new-instance v1, Lcom/squareup/okhttp/internal/framed/d$4;
const-string v2, "OkHttp %s Push Request[%s]"
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Object;
const/4 v4, 0x0
iget-object v5, p0, Lcom/squareup/okhttp/internal/framed/d;->bxW:Ljava/lang/String;
aput-object v5, v3, v4
const/4 v4, 0x1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
aput-object v5, v3, v4
invoke-direct {v1, p0, v2, v3, p1}, Lcom/squareup/okhttp/internal/framed/d$4;-><init>(Lcom/squareup/okhttp/internal/framed/d;Ljava/lang/String;[Ljava/lang/Object;I)V
invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
goto :goto_13
.line 17842
:catchall_3a
move-exception v0
:try_start_3b
monitor-exit p0
:try_end_3c
.catchall {:try_start_3b .. :try_end_3c} :catchall_3a
throw v0
.end method
.method static synthetic f(Lcom/squareup/okhttp/internal/framed/d;)Lcom/squareup/okhttp/internal/framed/f;
.registers 2
.prologue
.line 55
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxU:Lcom/squareup/okhttp/internal/framed/f;
return-object v0
.end method
.method static synthetic g(Lcom/squareup/okhttp/internal/framed/d;)Z
.registers 2
.prologue
.line 55
iget-boolean v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byf:Z
return v0
.end method
.method static synthetic h(Lcom/squareup/okhttp/internal/framed/d;)Z
.registers 2
.prologue
.line 55
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byf:Z
return v0
.end method
.method static synthetic i(Lcom/squareup/okhttp/internal/framed/d;)Lcom/squareup/okhttp/internal/framed/x;
.registers 2
.prologue
.line 55
invoke-direct {p0}, Lcom/squareup/okhttp/internal/framed/d;->Ho()Lcom/squareup/okhttp/internal/framed/x;
move-result-object v0
return-object v0
.end method
.method static synthetic j(Lcom/squareup/okhttp/internal/framed/d;)Z
.registers 2
.prologue
.line 55
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/squareup/okhttp/internal/framed/d;->shutdown:Z
return v0
.end method
.method static synthetic k(Lcom/squareup/okhttp/internal/framed/d;)Lcom/squareup/okhttp/internal/framed/y;
.registers 2
.prologue
.line 55
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bya:Lcom/squareup/okhttp/internal/framed/y;
return-object v0
.end method
.method static synthetic l(Lcom/squareup/okhttp/internal/framed/d;)Ljava/util/Set;
.registers 2
.prologue
.line 55
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byj:Ljava/util/Set;
return-object v0
.end method
# virtual methods
.method public final declared-synchronized Hn()I
.registers 3
.prologue
.line 213
monitor-enter p0
:try_start_1
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bye:Lcom/squareup/okhttp/internal/framed/z;
.line 12169
iget v1, v0, Lcom/squareup/okhttp/internal/framed/z;->set:I
and-int/lit8 v1, v1, 0x10
if-eqz v1, :cond_10
iget-object v0, v0, Lcom/squareup/okhttp/internal/framed/z;->values:[I
const/4 v1, 0x4
aget v0, v0, v1
:try_end_e
.catchall {:try_start_1 .. :try_end_e} :catchall_14
:goto_e
monitor-exit p0
return v0
:cond_10
const v0, 0x7fffffff
.line 213
goto :goto_e
:catchall_14
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final a(IZLokio/d;J)V
.registers 16
.prologue
const/4 v1, 0x0
const-wide/16 v8, 0x0
.line 308
cmp-long v0, p4, v8
if-nez v0, :cond_33
.line 309
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
invoke-interface {v0, p2, p1, p3, v1}, Lcom/squareup/okhttp/internal/framed/c;->a(ZILokio/d;I)V
.line 337
:cond_c
return-void
.line 329
:cond_d
:try_start_d
iget-wide v2, p0, Lcom/squareup/okhttp/internal/framed/d;->byc:J
invoke-static {p4, p5, v2, v3}, Ljava/lang/Math;->min(JJ)J
move-result-wide v2
long-to-int v0, v2
.line 330
iget-object v2, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
invoke-interface {v2}, Lcom/squareup/okhttp/internal/framed/c;->Hm()I
move-result v2
invoke-static {v0, v2}, Ljava/lang/Math;->min(II)I
move-result v2
.line 331
iget-wide v4, p0, Lcom/squareup/okhttp/internal/framed/d;->byc:J
int-to-long v6, v2
sub-long/2addr v4, v6
iput-wide v4, p0, Lcom/squareup/okhttp/internal/framed/d;->byc:J
.line 332
monitor-exit p0
:try_end_25
.catchall {:try_start_d .. :try_end_25} :catchall_59
.line 334
int-to-long v4, v2
sub-long/2addr p4, v4
.line 335
iget-object v3, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
if-eqz p2, :cond_60
cmp-long v0, p4, v8
if-nez v0, :cond_60
const/4 v0, 0x1
:goto_30
invoke-interface {v3, v0, p1, p3, v2}, Lcom/squareup/okhttp/internal/framed/c;->a(ZILokio/d;I)V
.line 313
:cond_33
cmp-long v0, p4, v8
if-lez v0, :cond_c
.line 315
monitor-enter p0
.line 317
:goto_38
:try_start_38
iget-wide v2, p0, Lcom/squareup/okhttp/internal/framed/d;->byc:J
cmp-long v0, v2, v8
if-gtz v0, :cond_d
.line 320
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxV:Ljava/util/Map;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
invoke-interface {v0, v2}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_5c
.line 321
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
:try_end_52
.catch Ljava/lang/InterruptedException; {:try_start_38 .. :try_end_52} :catch_52
.catchall {:try_start_38 .. :try_end_52} :catchall_59
.line 326
:catch_52
move-exception v0
:try_start_53
new-instance v0, Ljava/io/InterruptedIOException;
invoke-direct {v0}, Ljava/io/InterruptedIOException;-><init>()V
throw v0
.line 332
:catchall_59
move-exception v0
monitor-exit p0
:try_end_5b
.catchall {:try_start_53 .. :try_end_5b} :catchall_59
throw v0
.line 323
:cond_5c
:try_start_5c
invoke-virtual {p0}, Ljava/lang/Object;->wait()V
:try_end_5f
.catch Ljava/lang/InterruptedException; {:try_start_5c .. :try_end_5f} :catch_52
.catchall {:try_start_5c .. :try_end_5f} :catchall_59
goto :goto_38
:cond_60
move v0, v1
.line 335
goto :goto_30
.end method
.method final b(ILcom/squareup/okhttp/internal/framed/ErrorCode;)V
.registers 10
.prologue
.line 349
sget-object v6, Lcom/squareup/okhttp/internal/framed/d;->executor:Ljava/util/concurrent/ExecutorService;
new-instance v0, Lcom/squareup/okhttp/internal/framed/d$1;
const-string v2, "OkHttp %s stream %d"
const/4 v1, 0x2
new-array v3, v1, [Ljava/lang/Object;
const/4 v1, 0x0
iget-object v4, p0, Lcom/squareup/okhttp/internal/framed/d;->bxW:Ljava/lang/String;
aput-object v4, v3, v1
const/4 v1, 0x1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
aput-object v4, v3, v1
move-object v1, p0
move v4, p1
move-object v5, p2
invoke-direct/range {v0 .. v5}, Lcom/squareup/okhttp/internal/framed/d$1;-><init>(Lcom/squareup/okhttp/internal/framed/d;Ljava/lang/String;[Ljava/lang/Object;ILcom/squareup/okhttp/internal/framed/ErrorCode;)V
invoke-interface {v6, v0}, Ljava/util/concurrent/ExecutorService;->submit(Ljava/lang/Runnable;)Ljava/util/concurrent/Future;
.line 357
return-void
.end method
.method final c(ILcom/squareup/okhttp/internal/framed/ErrorCode;)V
.registers 4
.prologue
.line 360
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
invoke-interface {v0, p1, p2}, Lcom/squareup/okhttp/internal/framed/c;->a(ILcom/squareup/okhttp/internal/framed/ErrorCode;)V
.line 361
return-void
.end method
.method public final close()V
.registers 3
.prologue
.line 450
sget-object v0, Lcom/squareup/okhttp/internal/framed/ErrorCode;->NO_ERROR:Lcom/squareup/okhttp/internal/framed/ErrorCode;
sget-object v1, Lcom/squareup/okhttp/internal/framed/ErrorCode;->CANCEL:Lcom/squareup/okhttp/internal/framed/ErrorCode;
invoke-direct {p0, v0, v1}, Lcom/squareup/okhttp/internal/framed/d;->a(Lcom/squareup/okhttp/internal/framed/ErrorCode;Lcom/squareup/okhttp/internal/framed/ErrorCode;)V
.line 451
return-void
.end method
.method public final e(Ljava/util/List;Z)Lcom/squareup/okhttp/internal/framed/h;
.registers 10
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List",
"<",
"Lcom/squareup/okhttp/internal/framed/l;",
">;Z)",
"Lcom/squareup/okhttp/internal/framed/h;"
}
.end annotation
.prologue
const/4 v3, 0x0
.line 254
if-nez p2, :cond_4
const/4 v3, 0x1
.line 259
:cond_4
iget-object v6, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
monitor-enter v6
.line 260
:try_start_7
monitor-enter p0
:try_end_8
.catchall {:try_start_7 .. :try_end_8} :catchall_17
.line 261
:try_start_8
iget-boolean v0, p0, Lcom/squareup/okhttp/internal/framed/d;->shutdown:Z
if-eqz v0, :cond_1a
.line 262
new-instance v0, Ljava/io/IOException;
const-string v1, "shutdown"
invoke-direct {v0, v1}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw v0
.line 271
:catchall_14
move-exception v0
monitor-exit p0
:try_end_16
.catchall {:try_start_8 .. :try_end_16} :catchall_14
:try_start_16
throw v0
.line 280
:catchall_17
move-exception v0
monitor-exit v6
:try_end_19
.catchall {:try_start_16 .. :try_end_19} :catchall_17
throw v0
.line 264
:cond_1a
:try_start_1a
iget v1, p0, Lcom/squareup/okhttp/internal/framed/d;->bxY:I
.line 265
iget v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxY:I
add-int/lit8 v0, v0, 0x2
iput v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxY:I
.line 266
new-instance v0, Lcom/squareup/okhttp/internal/framed/h;
const/4 v4, 0x0
move-object v2, p0
move-object v5, p1
invoke-direct/range {v0 .. v5}, Lcom/squareup/okhttp/internal/framed/h;-><init>(ILcom/squareup/okhttp/internal/framed/d;ZZLjava/util/List;)V
.line 267
invoke-virtual {v0}, Lcom/squareup/okhttp/internal/framed/h;->isOpen()Z
move-result v2
if-eqz v2, :cond_3d
.line 268
iget-object v2, p0, Lcom/squareup/okhttp/internal/framed/d;->bxV:Ljava/util/Map;
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v4
invoke-interface {v2, v4, v0}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 269
const/4 v2, 0x0
invoke-direct {p0, v2}, Lcom/squareup/okhttp/internal/framed/d;->ba(Z)V
.line 271
:cond_3d
monitor-exit p0
:try_end_3e
.catchall {:try_start_1a .. :try_end_3e} :catchall_14
.line 273
:try_start_3e
iget-object v2, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
invoke-interface {v2, v3, v1, p1}, Lcom/squareup/okhttp/internal/framed/c;->a(ZILjava/util/List;)V
.line 280
monitor-exit v6
:try_end_44
.catchall {:try_start_3e .. :try_end_44} :catchall_17
.line 282
if-nez p2, :cond_4b
.line 283
iget-object v1, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
invoke-interface {v1}, Lcom/squareup/okhttp/internal/framed/c;->flush()V
.line 286
:cond_4b
return-object v0
.end method
.method final declared-synchronized eq(I)Lcom/squareup/okhttp/internal/framed/h;
.registers 4
.prologue
.line 191
monitor-enter p0
:try_start_1
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxV:Ljava/util/Map;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/squareup/okhttp/internal/framed/h;
:try_end_d
.catchall {:try_start_1 .. :try_end_d} :catchall_f
monitor-exit p0
return-object v0
:catchall_f
move-exception v0
monitor-exit p0
throw v0
.end method
.method final declared-synchronized er(I)Lcom/squareup/okhttp/internal/framed/h;
.registers 4
.prologue
.line 195
monitor-enter p0
:try_start_1
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->bxV:Ljava/util/Map;
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
invoke-interface {v0, v1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/squareup/okhttp/internal/framed/h;
.line 196
if-eqz v0, :cond_1b
iget-object v1, p0, Lcom/squareup/okhttp/internal/framed/d;->bxV:Ljava/util/Map;
invoke-interface {v1}, Ljava/util/Map;->isEmpty()Z
move-result v1
if-eqz v1, :cond_1b
.line 197
const/4 v1, 0x1
invoke-direct {p0, v1}, Lcom/squareup/okhttp/internal/framed/d;->ba(Z)V
.line 199
:cond_1b
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
:try_end_1e
.catchall {:try_start_1 .. :try_end_1e} :catchall_20
.line 200
monitor-exit p0
return-object v0
.line 195
:catchall_20
move-exception v0
monitor-exit p0
throw v0
.end method
.method public final flush()V
.registers 2
.prologue
.line 420
iget-object v0, p0, Lcom/squareup/okhttp/internal/framed/d;->byh:Lcom/squareup/okhttp/internal/framed/c;
invoke-interface {v0}, Lcom/squareup/okhttp/internal/framed/c;->flush()V
.line 421
return-void
.end method
.method final g(IJ)V
.registers 12
.prologue
.line 364
sget-object v0, Lcom/squareup/okhttp/internal/framed/d;->executor:Ljava/util/concurrent/ExecutorService;
new-instance v1, Lcom/squareup/okhttp/internal/framed/d$2;
const-string v3, "OkHttp Window Update %s stream %d"
const/4 v2, 0x2
new-array v4, v2, [Ljava/lang/Object;
const/4 v2, 0x0
iget-object v5, p0, Lcom/squareup/okhttp/internal/framed/d;->bxW:Ljava/lang/String;
aput-object v5, v4, v2
const/4 v2, 0x1
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v5
aput-object v5, v4, v2
move-object v2, p0
move v5, p1
move-wide v6, p2
invoke-direct/range {v1 .. v7}, Lcom/squareup/okhttp/internal/framed/d$2;-><init>(Lcom/squareup/okhttp/internal/framed/d;Ljava/lang/String;[Ljava/lang/Object;IJ)V
invoke-interface {v0, v1}, Ljava/util/concurrent/ExecutorService;->execute(Ljava/lang/Runnable;)V
.line 372
return-void
.end method