* Decompile and recreate Soul Browser v1.4.85 with APK CI builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix CI build: include bundled google.jks and remove PR trigger The apktool build failed in CI because app/unknown/.../google.jks was excluded by the *.jks gitignore rule. Whitelist app-bundled JKS files and commit the missing resource. Also remove the redundant pull_request workflow trigger. Co-authored-by: KaKi87 <KaKi87@pm.me> * Change package ID to com.github.kaki87.soulbrowser Rename the application ID so the rebuilt APK can be installed alongside the original Soul Browser from Google Play. - Update AndroidManifest package, permissions, providers, and actions - Update R class references in smali (com/github/kaki87/soulbrowser/R) - Update shortcuts.xml targetPackage - Rename app label to "Soul Rebuild" for easy identification Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install compatibility: remove split APK metadata and bundle native libs The rebuilt APK still declared requiredSplitTypes and Play Store split metadata, causing Android to reject standalone installs as incompatible. - Remove requiredSplitTypes and split-related manifest meta-data - Merge native libs from all ABI splits with uncompressed storage - Page-align before signing for extractNativeLibs=false - Add .so to apktool doNotCompress list Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix install failure: use apksigner v2/v3 and bundle arm64 native libs Target SDK 36 requires APK Signature Scheme v2+, but jarsigner only produces v1 signatures, causing Android to reject the install. - Sign with apksigner (v1+v2+v3) instead of jarsigner - Add arm64-v8a native libraries from universal Soul Browser 1.4.79 - Set extractNativeLibs=true for reliable sideload installs - Commit stable debug keystore for consistent signatures across builds Co-authored-by: KaKi87 <KaKi87@pm.me> * Add committed debug keystore for consistent APK signatures Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix startup crash: use original classes2.dex desugar libraries Apktool recompiles smali_classes2 into a broken classes2.dex, causing ClassNotFoundException for j$.com.android.tools.r8.a at ML Kit init. Inject the original classes2.dex (Java 8+ desugar libs) after apktool build instead of using the recompiled version. Co-authored-by: KaKi87 <KaKi87@pm.me> * Fix missing drawable resources from density split APKs The base APK is an app bundle module; density-specific drawables like seek_thumb_nor_b live in config.xhdpi.apk and were missing after rebuild, causing Resources$NotFoundException at runtime. - Merge non-9-patch resources from split APKs before apktool build - Sync public.xml IDs from R smali only when backing files exist - Add 713 density-specific resource IDs to public.xml Co-authored-by: KaKi87 <KaKi87@pm.me> --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com>
1593 lines
34 KiB
Smali
1593 lines
34 KiB
Smali
.class public final Lokhttp3/internal/http2/Http2Connection;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/io/Closeable;
|
|
.implements Lokhttp3/internal/concurrent/Lockable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lokhttp3/internal/http2/Http2Connection$Builder;,
|
|
Lokhttp3/internal/http2/Http2Connection$Companion;,
|
|
Lokhttp3/internal/http2/Http2Connection$Listener;,
|
|
Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
|
|
}
|
|
.end annotation
|
|
|
|
.annotation runtime Lkotlin/Metadata;
|
|
d1 = {
|
|
"\u0000\u0010\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0018\u0002\n\u0002\u0008\u0005\u0018\u00002\u00020\u00012\u00020\u0002:\u0004\u0003\u0004\u0005\u0006\u00a8\u0006\u0007"
|
|
}
|
|
d2 = {
|
|
"Lokhttp3/internal/http2/Http2Connection;",
|
|
"Ljava/io/Closeable;",
|
|
"Lokhttp3/internal/concurrent/Lockable;",
|
|
"Builder",
|
|
"ReaderRunnable",
|
|
"Listener",
|
|
"Companion",
|
|
"okhttp"
|
|
}
|
|
k = 0x1
|
|
mv = {
|
|
0x2,
|
|
0x2,
|
|
0x0
|
|
}
|
|
xi = 0x30
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nHttp2Connection.kt\nKotlin\n*S Kotlin\n*F\n+ 1 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n+ 2 Lockable.kt\nokhttp3/internal/concurrent/LockableKt\n+ 3 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 4 -UtilCommon.kt\nokhttp3/internal/_UtilCommonKt\n+ 5 ArraysJVM.kt\nkotlin/collections/ArraysKt__ArraysJVMKt\n+ 6 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n*L\n1#1,1042:1\n63#2:1043\n63#2:1044\n63#2:1045\n38#2:1046\n63#2:1047\n63#2:1049\n63#2:1050\n63#2:1051\n34#2:1052\n63#2:1053\n63#2:1054\n34#2:1055\n63#2:1056\n63#2:1057\n49#2,4:1058\n63#2:1067\n63#2:1087\n63#2:1088\n63#2:1089\n63#2:1090\n63#2:1091\n63#2:1092\n63#2:1095\n63#2:1101\n63#2:1107\n63#2:1111\n1#3:1048\n228#4,5:1062\n228#4,5:1071\n228#4,5:1077\n228#4,5:1082\n228#4,2:1093\n230#4,3:1096\n228#4,2:1099\n230#4,3:1102\n228#4,2:1105\n230#4,3:1108\n37#5,2:1068\n13805#6:1070\n13806#6:1076\n*S KotlinDebug\n*F\n+ 1 Http2Connection.kt\nokhttp3/internal/http2/Http2Connection\n*L\n174#1:1043\n176#1:1044\n179#1:1045\n183#1:1046\n190#1:1047\n242#1:1049\n243#1:1050\n313#1:1051\n321#1:1052\n394#1:1053\n405#1:1054\n407#1:1055\n424#1:1056\n426#1:1057\n452#1:1058,4\n459#1:1067\n519#1:1087\n520#1:1088\n531#1:1089\n557#1:1090\n914#1:1091\n152#1:1092\n926#1:1095\n944#1:1101\n971#1:1107\n985#1:1111\n454#1:1062,5\n467#1:1071,5\n473#1:1077,5\n478#1:1082,5\n923#1:1093,2\n923#1:1096,3\n941#1:1099,2\n941#1:1102,3\n967#1:1105,2\n967#1:1108,3\n461#1:1068,2\n466#1:1070\n466#1:1076\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final D:Lokhttp3/internal/http2/Settings;
|
|
|
|
|
|
# instance fields
|
|
.field public final A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.field public final B:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
|
|
|
|
.field public final C:Ljava/util/LinkedHashSet;
|
|
|
|
.field public final c:Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
|
|
.field public final f:Ljava/util/LinkedHashMap;
|
|
|
|
.field public final g:Ljava/lang/String;
|
|
|
|
.field public h:I
|
|
|
|
.field public i:I
|
|
|
|
.field public j:Z
|
|
|
|
.field public final k:Lokhttp3/internal/concurrent/TaskRunner;
|
|
|
|
.field public final l:Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.field public final m:Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.field public final n:Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.field public final o:Lokhttp3/internal/http2/PushObserver;
|
|
|
|
.field public p:J
|
|
|
|
.field public q:J
|
|
|
|
.field public r:J
|
|
|
|
.field public s:J
|
|
|
|
.field public final t:Lokhttp3/internal/http2/FlowControlListener;
|
|
|
|
.field public final u:Lokhttp3/internal/http2/Settings;
|
|
|
|
.field public v:Lokhttp3/internal/http2/Settings;
|
|
|
|
.field public final w:Lokhttp3/internal/http2/flowcontrol/WindowCounter;
|
|
|
|
.field public x:J
|
|
|
|
.field public y:J
|
|
|
|
.field public final z:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
new-instance v0, Lokhttp3/internal/http2/Settings;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0}, Lokhttp3/internal/http2/Settings;-><init>()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const/4 v1, 0x4
|
|
|
|
.line 7
|
|
const v2, 0xffff
|
|
|
|
.line 8
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {v0, v1, v2}, Lokhttp3/internal/http2/Settings;->c(II)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
const/4 v1, 0x5
|
|
|
|
.line 14
|
|
const/16 v2, 0x4000
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {v0, v1, v2}, Lokhttp3/internal/http2/Settings;->c(II)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
sput-object v0, Lokhttp3/internal/http2/Http2Connection;->D:Lokhttp3/internal/http2/Settings;
|
|
|
|
.line 20
|
|
.line 21
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lokhttp3/internal/http2/Http2Connection$Builder;)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
const-string v0, "builder"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
iget-object v0, p1, Lokhttp3/internal/http2/Http2Connection$Builder;->d:Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
|
|
.line 10
|
|
.line 11
|
|
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->c:Lokhttp3/internal/http2/Http2Connection$Listener;
|
|
|
|
.line 12
|
|
.line 13
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
.line 14
|
|
.line 15
|
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
.line 16
|
|
.line 17
|
|
.line 18
|
|
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->f:Ljava/util/LinkedHashMap;
|
|
|
|
.line 19
|
|
.line 20
|
|
iget-object v0, p1, Lokhttp3/internal/http2/Http2Connection$Builder;->c:Ljava/lang/String;
|
|
|
|
.line 21
|
|
.line 22
|
|
const/4 v1, 0x0
|
|
|
|
.line 23
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 24
|
|
.line 25
|
|
goto :goto_0
|
|
|
|
.line 26
|
|
:cond_0
|
|
const-string v0, "connectionName"
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-static {v0}, Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-object v0, v1
|
|
|
|
.line 32
|
|
:goto_0
|
|
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->g:Ljava/lang/String;
|
|
|
|
.line 33
|
|
.line 34
|
|
const/4 v0, 0x3
|
|
|
|
.line 35
|
|
iput v0, p0, Lokhttp3/internal/http2/Http2Connection;->i:I
|
|
|
|
.line 36
|
|
.line 37
|
|
iget-object v0, p1, Lokhttp3/internal/http2/Http2Connection$Builder;->a:Lokhttp3/internal/concurrent/TaskRunner;
|
|
|
|
.line 38
|
|
.line 39
|
|
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->k:Lokhttp3/internal/concurrent/TaskRunner;
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-virtual {v0}, Lokhttp3/internal/concurrent/TaskRunner;->d()Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
move-result-object v2
|
|
|
|
.line 45
|
|
iput-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->l:Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 46
|
|
.line 47
|
|
invoke-virtual {v0}, Lokhttp3/internal/concurrent/TaskRunner;->d()Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 48
|
|
.line 49
|
|
.line 50
|
|
move-result-object v2
|
|
|
|
.line 51
|
|
iput-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->m:Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 52
|
|
.line 53
|
|
invoke-virtual {v0}, Lokhttp3/internal/concurrent/TaskRunner;->d()Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 54
|
|
.line 55
|
|
.line 56
|
|
move-result-object v0
|
|
|
|
.line 57
|
|
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->n:Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 58
|
|
.line 59
|
|
sget-object v0, Lokhttp3/internal/http2/PushObserver;->a:Lokhttp3/internal/http2/PushObserver;
|
|
|
|
.line 60
|
|
.line 61
|
|
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->o:Lokhttp3/internal/http2/PushObserver;
|
|
|
|
.line 62
|
|
.line 63
|
|
iget-object v0, p1, Lokhttp3/internal/http2/Http2Connection$Builder;->f:Lokhttp3/internal/http2/FlowControlListener;
|
|
|
|
.line 64
|
|
.line 65
|
|
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->t:Lokhttp3/internal/http2/FlowControlListener;
|
|
|
|
.line 66
|
|
.line 67
|
|
new-instance v0, Lokhttp3/internal/http2/Settings;
|
|
|
|
.line 68
|
|
.line 69
|
|
invoke-direct {v0}, Lokhttp3/internal/http2/Settings;-><init>()V
|
|
|
|
.line 70
|
|
.line 71
|
|
.line 72
|
|
const/4 v2, 0x4
|
|
|
|
.line 73
|
|
const/high16 v3, 0x1000000
|
|
|
|
.line 74
|
|
.line 75
|
|
invoke-virtual {v0, v2, v3}, Lokhttp3/internal/http2/Settings;->c(II)V
|
|
|
|
.line 76
|
|
.line 77
|
|
.line 78
|
|
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->u:Lokhttp3/internal/http2/Settings;
|
|
|
|
.line 79
|
|
.line 80
|
|
sget-object v0, Lokhttp3/internal/http2/Http2Connection;->D:Lokhttp3/internal/http2/Settings;
|
|
|
|
.line 81
|
|
.line 82
|
|
iput-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->v:Lokhttp3/internal/http2/Settings;
|
|
|
|
.line 83
|
|
.line 84
|
|
new-instance v2, Lokhttp3/internal/http2/flowcontrol/WindowCounter;
|
|
|
|
.line 85
|
|
.line 86
|
|
const/4 v3, 0x0
|
|
|
|
.line 87
|
|
invoke-direct {v2, v3}, Lokhttp3/internal/http2/flowcontrol/WindowCounter;-><init>(I)V
|
|
|
|
.line 88
|
|
.line 89
|
|
.line 90
|
|
iput-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->w:Lokhttp3/internal/http2/flowcontrol/WindowCounter;
|
|
|
|
.line 91
|
|
.line 92
|
|
invoke-virtual {v0}, Lokhttp3/internal/http2/Settings;->a()I
|
|
|
|
.line 93
|
|
.line 94
|
|
.line 95
|
|
move-result v0
|
|
|
|
.line 96
|
|
int-to-long v2, v0
|
|
|
|
.line 97
|
|
iput-wide v2, p0, Lokhttp3/internal/http2/Http2Connection;->y:J
|
|
|
|
.line 98
|
|
.line 99
|
|
iget-object p1, p1, Lokhttp3/internal/http2/Http2Connection$Builder;->b:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 100
|
|
.line 101
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 102
|
|
.line 103
|
|
move-object v1, p1
|
|
|
|
.line 104
|
|
goto :goto_1
|
|
|
|
.line 105
|
|
:cond_1
|
|
const-string p1, "socket"
|
|
|
|
.line 106
|
|
.line 107
|
|
invoke-static {p1}, Lkotlin/jvm/internal/Intrinsics;->throwUninitializedPropertyAccessException(Ljava/lang/String;)V
|
|
|
|
.line 108
|
|
.line 109
|
|
.line 110
|
|
:goto_1
|
|
iput-object v1, p0, Lokhttp3/internal/http2/Http2Connection;->z:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 111
|
|
.line 112
|
|
new-instance p1, Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 113
|
|
.line 114
|
|
invoke-interface {v1}, Lokhttp3/internal/connection/BufferedSocket;->b()Lokio/BufferedSink;
|
|
|
|
.line 115
|
|
.line 116
|
|
.line 117
|
|
move-result-object v0
|
|
|
|
.line 118
|
|
invoke-direct {p1, v0}, Lokhttp3/internal/http2/Http2Writer;-><init>(Lokio/BufferedSink;)V
|
|
|
|
.line 119
|
|
.line 120
|
|
.line 121
|
|
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 122
|
|
.line 123
|
|
new-instance p1, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
|
|
|
|
.line 124
|
|
.line 125
|
|
new-instance v0, Lokhttp3/internal/http2/Http2Reader;
|
|
|
|
.line 126
|
|
.line 127
|
|
invoke-interface {v1}, Lokhttp3/internal/connection/BufferedSocket;->a()Lokio/BufferedSource;
|
|
|
|
.line 128
|
|
.line 129
|
|
.line 130
|
|
move-result-object v1
|
|
|
|
.line 131
|
|
invoke-direct {v0, v1}, Lokhttp3/internal/http2/Http2Reader;-><init>(Lokio/BufferedSource;)V
|
|
|
|
.line 132
|
|
.line 133
|
|
.line 134
|
|
invoke-direct {p1, p0, v0}, Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;-><init>(Lokhttp3/internal/http2/Http2Connection;Lokhttp3/internal/http2/Http2Reader;)V
|
|
|
|
.line 135
|
|
.line 136
|
|
.line 137
|
|
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->B:Lokhttp3/internal/http2/Http2Connection$ReaderRunnable;
|
|
|
|
.line 138
|
|
.line 139
|
|
new-instance p1, Ljava/util/LinkedHashSet;
|
|
|
|
.line 140
|
|
.line 141
|
|
invoke-direct {p1}, Ljava/util/LinkedHashSet;-><init>()V
|
|
|
|
.line 142
|
|
.line 143
|
|
.line 144
|
|
iput-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->C:Ljava/util/LinkedHashSet;
|
|
|
|
.line 145
|
|
.line 146
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lokhttp3/internal/http2/ErrorCode;Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
const-string v0, "connectionCode"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
const-string v0, "streamCode"
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
sget-object v0, Lokhttp3/internal/_UtilJvmKt;->a:Ljava/util/TimeZone;
|
|
|
|
.line 12
|
|
.line 13
|
|
:try_start_0
|
|
invoke-virtual {p0, p1}, Lokhttp3/internal/http2/Http2Connection;->f(Lokhttp3/internal/http2/ErrorCode;)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
:catch_0
|
|
monitor-enter p0
|
|
|
|
.line 17
|
|
:try_start_1
|
|
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->f:Ljava/util/LinkedHashMap;
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-interface {p1}, Ljava/util/Map;->isEmpty()Z
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result p1
|
|
|
|
.line 23
|
|
const/4 v0, 0x0
|
|
|
|
.line 24
|
|
if-nez p1, :cond_0
|
|
|
|
.line 25
|
|
.line 26
|
|
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->f:Ljava/util/LinkedHashMap;
|
|
|
|
.line 27
|
|
.line 28
|
|
invoke-virtual {p1}, Ljava/util/LinkedHashMap;->values()Ljava/util/Collection;
|
|
|
|
.line 29
|
|
.line 30
|
|
.line 31
|
|
move-result-object p1
|
|
|
|
.line 32
|
|
new-array v1, v0, [Lokhttp3/internal/http2/Http2Stream;
|
|
|
|
.line 33
|
|
.line 34
|
|
invoke-interface {p1, v1}, Ljava/util/Collection;->toArray([Ljava/lang/Object;)[Ljava/lang/Object;
|
|
|
|
.line 35
|
|
.line 36
|
|
.line 37
|
|
move-result-object p1
|
|
|
|
.line 38
|
|
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection;->f:Ljava/util/LinkedHashMap;
|
|
|
|
.line 39
|
|
.line 40
|
|
invoke-virtual {v1}, Ljava/util/LinkedHashMap;->clear()V
|
|
|
|
.line 41
|
|
.line 42
|
|
.line 43
|
|
goto :goto_0
|
|
|
|
.line 44
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 45
|
|
goto :goto_2
|
|
|
|
.line 46
|
|
:cond_0
|
|
const/4 p1, 0x0
|
|
|
|
.line 47
|
|
:goto_0
|
|
sget-object v1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 48
|
|
.line 49
|
|
monitor-exit p0
|
|
|
|
.line 50
|
|
check-cast p1, [Lokhttp3/internal/http2/Http2Stream;
|
|
|
|
.line 51
|
|
.line 52
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 53
|
|
.line 54
|
|
array-length v1, p1
|
|
|
|
.line 55
|
|
:goto_1
|
|
if-ge v0, v1, :cond_1
|
|
|
|
.line 56
|
|
.line 57
|
|
aget-object v2, p1, v0
|
|
|
|
.line 58
|
|
.line 59
|
|
:try_start_2
|
|
invoke-virtual {v2, p2, p3}, Lokhttp3/internal/http2/Http2Stream;->e(Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V
|
|
:try_end_2
|
|
.catch Ljava/io/IOException; {:try_start_2 .. :try_end_2} :catch_1
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
:catch_1
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
.line 63
|
|
.line 64
|
|
goto :goto_1
|
|
|
|
.line 65
|
|
:cond_1
|
|
:try_start_3
|
|
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 66
|
|
.line 67
|
|
invoke-virtual {p1}, Lokhttp3/internal/http2/Http2Writer;->close()V
|
|
:try_end_3
|
|
.catch Ljava/io/IOException; {:try_start_3 .. :try_end_3} :catch_2
|
|
|
|
.line 68
|
|
.line 69
|
|
.line 70
|
|
:catch_2
|
|
:try_start_4
|
|
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->z:Lokhttp3/internal/connection/BufferedSocket;
|
|
|
|
.line 71
|
|
.line 72
|
|
invoke-interface {p1}, Lokio/Socket;->cancel()V
|
|
:try_end_4
|
|
.catch Ljava/io/IOException; {:try_start_4 .. :try_end_4} :catch_3
|
|
|
|
.line 73
|
|
.line 74
|
|
.line 75
|
|
:catch_3
|
|
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->l:Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 76
|
|
.line 77
|
|
invoke-virtual {p1}, Lokhttp3/internal/concurrent/TaskQueue;->f()V
|
|
|
|
.line 78
|
|
.line 79
|
|
.line 80
|
|
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->m:Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 81
|
|
.line 82
|
|
invoke-virtual {p1}, Lokhttp3/internal/concurrent/TaskQueue;->f()V
|
|
|
|
.line 83
|
|
.line 84
|
|
.line 85
|
|
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->n:Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 86
|
|
.line 87
|
|
invoke-virtual {p1}, Lokhttp3/internal/concurrent/TaskQueue;->f()V
|
|
|
|
.line 88
|
|
.line 89
|
|
.line 90
|
|
return-void
|
|
|
|
.line 91
|
|
:goto_2
|
|
monitor-exit p0
|
|
|
|
.line 92
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final b(I)Lokhttp3/internal/http2/Http2Stream;
|
|
.locals 1
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->f:Ljava/util/LinkedHashMap;
|
|
|
|
.line 3
|
|
.line 4
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object p1
|
|
|
|
.line 8
|
|
invoke-virtual {v0, p1}, Ljava/util/LinkedHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object p1
|
|
|
|
.line 12
|
|
check-cast p1, Lokhttp3/internal/http2/Http2Stream;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 13
|
|
.line 14
|
|
monitor-exit p0
|
|
|
|
.line 15
|
|
return-object p1
|
|
|
|
.line 16
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 17
|
|
monitor-exit p0
|
|
|
|
.line 18
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final close()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
sget-object v0, Lokhttp3/internal/http2/ErrorCode;->g:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.line 2
|
|
.line 3
|
|
sget-object v1, Lokhttp3/internal/http2/ErrorCode;->l:Lokhttp3/internal/http2/ErrorCode;
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v2, 0x0
|
|
|
|
.line 6
|
|
invoke-virtual {p0, v0, v1, v2}, Lokhttp3/internal/http2/Http2Connection;->a(Lokhttp3/internal/http2/ErrorCode;Lokhttp3/internal/http2/ErrorCode;Ljava/io/IOException;)V
|
|
|
|
.line 7
|
|
.line 8
|
|
.line 9
|
|
return-void
|
|
.end method
|
|
|
|
.method public final d(J)Z
|
|
.locals 6
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-boolean v0, p0, Lokhttp3/internal/http2/Http2Connection;->j:Z
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 3
|
|
.line 4
|
|
const/4 v1, 0x0
|
|
|
|
.line 5
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 6
|
|
.line 7
|
|
monitor-exit p0
|
|
|
|
.line 8
|
|
return v1
|
|
|
|
.line 9
|
|
:cond_0
|
|
:try_start_1
|
|
iget-wide v2, p0, Lokhttp3/internal/http2/Http2Connection;->r:J
|
|
|
|
.line 10
|
|
.line 11
|
|
iget-wide v4, p0, Lokhttp3/internal/http2/Http2Connection;->q:J
|
|
|
|
.line 12
|
|
.line 13
|
|
cmp-long v0, v2, v4
|
|
|
|
.line 14
|
|
.line 15
|
|
if-gez v0, :cond_1
|
|
|
|
.line 16
|
|
.line 17
|
|
iget-wide v2, p0, Lokhttp3/internal/http2/Http2Connection;->s:J
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 18
|
|
.line 19
|
|
cmp-long p1, p1, v2
|
|
|
|
.line 20
|
|
.line 21
|
|
if-ltz p1, :cond_1
|
|
|
|
.line 22
|
|
.line 23
|
|
monitor-exit p0
|
|
|
|
.line 24
|
|
return v1
|
|
|
|
.line 25
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 26
|
|
goto :goto_0
|
|
|
|
.line 27
|
|
:cond_1
|
|
monitor-exit p0
|
|
|
|
.line 28
|
|
const/4 p1, 0x1
|
|
|
|
.line 29
|
|
return p1
|
|
|
|
.line 30
|
|
:goto_0
|
|
monitor-exit p0
|
|
|
|
.line 31
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final e(I)Lokhttp3/internal/http2/Http2Stream;
|
|
.locals 1
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->f:Ljava/util/LinkedHashMap;
|
|
|
|
.line 3
|
|
.line 4
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 5
|
|
.line 6
|
|
.line 7
|
|
move-result-object p1
|
|
|
|
.line 8
|
|
invoke-interface {v0, p1}, Ljava/util/Map;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
move-result-object p1
|
|
|
|
.line 12
|
|
check-cast p1, Lokhttp3/internal/http2/Http2Stream;
|
|
|
|
.line 13
|
|
.line 14
|
|
const-string v0, "null cannot be cast to non-null type java.lang.Object"
|
|
|
|
.line 15
|
|
.line 16
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {p0}, Ljava/lang/Object;->notifyAll()V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
monitor-exit p0
|
|
|
|
.line 23
|
|
return-object p1
|
|
|
|
.line 24
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 25
|
|
monitor-exit p0
|
|
|
|
.line 26
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final f(Lokhttp3/internal/http2/ErrorCode;)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
const-string v0, "statusCode"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 7
|
|
.line 8
|
|
monitor-enter v0
|
|
|
|
.line 9
|
|
:try_start_0
|
|
monitor-enter p0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 10
|
|
:try_start_1
|
|
iget-boolean v1, p0, Lokhttp3/internal/http2/Http2Connection;->j:Z
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_1
|
|
|
|
.line 11
|
|
.line 12
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 13
|
|
.line 14
|
|
:try_start_2
|
|
monitor-exit p0
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
.line 15
|
|
monitor-exit v0
|
|
|
|
.line 16
|
|
return-void
|
|
|
|
.line 17
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 18
|
|
goto :goto_0
|
|
|
|
.line 19
|
|
:cond_0
|
|
const/4 v1, 0x1
|
|
|
|
.line 20
|
|
:try_start_3
|
|
iput-boolean v1, p0, Lokhttp3/internal/http2/Http2Connection;->j:Z
|
|
|
|
.line 21
|
|
.line 22
|
|
iget v1, p0, Lokhttp3/internal/http2/Http2Connection;->h:I
|
|
|
|
.line 23
|
|
.line 24
|
|
sget-object v2, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_3
|
|
.catchall {:try_start_3 .. :try_end_3} :catchall_1
|
|
|
|
.line 25
|
|
.line 26
|
|
:try_start_4
|
|
monitor-exit p0
|
|
|
|
.line 27
|
|
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 28
|
|
.line 29
|
|
sget-object v3, Lokhttp3/internal/_UtilCommonKt;->a:[B
|
|
|
|
.line 30
|
|
.line 31
|
|
invoke-virtual {v2, v1, p1, v3}, Lokhttp3/internal/http2/Http2Writer;->e(ILokhttp3/internal/http2/ErrorCode;[B)V
|
|
:try_end_4
|
|
.catchall {:try_start_4 .. :try_end_4} :catchall_0
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
monitor-exit v0
|
|
|
|
.line 35
|
|
return-void
|
|
|
|
.line 36
|
|
:catchall_1
|
|
move-exception p1
|
|
|
|
.line 37
|
|
:try_start_5
|
|
monitor-exit p0
|
|
|
|
.line 38
|
|
throw p1
|
|
:try_end_5
|
|
.catchall {:try_start_5 .. :try_end_5} :catchall_0
|
|
|
|
.line 39
|
|
:goto_0
|
|
monitor-exit v0
|
|
|
|
.line 40
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final flush()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-virtual {v0}, Lokhttp3/internal/http2/Http2Writer;->flush()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
return-void
|
|
.end method
|
|
|
|
.method public final i(J)V
|
|
.locals 6
|
|
|
|
.line 1
|
|
monitor-enter p0
|
|
|
|
.line 2
|
|
:try_start_0
|
|
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->w:Lokhttp3/internal/http2/flowcontrol/WindowCounter;
|
|
|
|
.line 3
|
|
.line 4
|
|
const-wide/16 v3, 0x0
|
|
|
|
.line 5
|
|
.line 6
|
|
const/4 v5, 0x2
|
|
|
|
.line 7
|
|
move-wide v1, p1
|
|
|
|
.line 8
|
|
invoke-static/range {v0 .. v5}, Lokhttp3/internal/http2/flowcontrol/WindowCounter;->b(Lokhttp3/internal/http2/flowcontrol/WindowCounter;JJI)V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->w:Lokhttp3/internal/http2/flowcontrol/WindowCounter;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {p1}, Lokhttp3/internal/http2/flowcontrol/WindowCounter;->a()J
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
move-result-wide v3
|
|
|
|
.line 17
|
|
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->u:Lokhttp3/internal/http2/Settings;
|
|
|
|
.line 18
|
|
.line 19
|
|
invoke-virtual {p1}, Lokhttp3/internal/http2/Settings;->a()I
|
|
|
|
.line 20
|
|
.line 21
|
|
.line 22
|
|
move-result p1
|
|
|
|
.line 23
|
|
div-int/lit8 p1, p1, 0x2
|
|
|
|
.line 24
|
|
.line 25
|
|
int-to-long p1, p1
|
|
|
|
.line 26
|
|
cmp-long p1, v3, p1
|
|
|
|
.line 27
|
|
.line 28
|
|
if-ltz p1, :cond_0
|
|
|
|
.line 29
|
|
.line 30
|
|
const/4 p1, 0x0
|
|
|
|
.line 31
|
|
invoke-virtual {p0, p1, v3, v4}, Lokhttp3/internal/http2/Http2Connection;->l(IJ)V
|
|
|
|
.line 32
|
|
.line 33
|
|
.line 34
|
|
iget-object v0, p0, Lokhttp3/internal/http2/Http2Connection;->w:Lokhttp3/internal/http2/flowcontrol/WindowCounter;
|
|
|
|
.line 35
|
|
.line 36
|
|
const-wide/16 v1, 0x0
|
|
|
|
.line 37
|
|
.line 38
|
|
const/4 v5, 0x1
|
|
|
|
.line 39
|
|
invoke-static/range {v0 .. v5}, Lokhttp3/internal/http2/flowcontrol/WindowCounter;->b(Lokhttp3/internal/http2/flowcontrol/WindowCounter;JJI)V
|
|
|
|
.line 40
|
|
.line 41
|
|
.line 42
|
|
goto :goto_0
|
|
|
|
.line 43
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
.line 44
|
|
move-object p1, v0
|
|
|
|
.line 45
|
|
goto :goto_1
|
|
|
|
.line 46
|
|
:cond_0
|
|
:goto_0
|
|
iget-object p1, p0, Lokhttp3/internal/http2/Http2Connection;->t:Lokhttp3/internal/http2/FlowControlListener;
|
|
|
|
.line 47
|
|
.line 48
|
|
iget-object p2, p0, Lokhttp3/internal/http2/Http2Connection;->w:Lokhttp3/internal/http2/flowcontrol/WindowCounter;
|
|
|
|
.line 49
|
|
.line 50
|
|
invoke-interface {p1, p2}, Lokhttp3/internal/http2/FlowControlListener;->b(Lokhttp3/internal/http2/flowcontrol/WindowCounter;)V
|
|
|
|
.line 51
|
|
.line 52
|
|
.line 53
|
|
sget-object p1, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 54
|
|
.line 55
|
|
monitor-exit p0
|
|
|
|
.line 56
|
|
return-void
|
|
|
|
.line 57
|
|
:goto_1
|
|
monitor-exit p0
|
|
|
|
.line 58
|
|
throw p1
|
|
.end method
|
|
|
|
.method public final j(IZLokio/Buffer;J)V
|
|
.locals 8
|
|
|
|
.line 1
|
|
const-wide/16 v0, 0x0
|
|
|
|
.line 2
|
|
.line 3
|
|
cmp-long v2, p4, v0
|
|
|
|
.line 4
|
|
.line 5
|
|
const/4 v3, 0x0
|
|
|
|
.line 6
|
|
if-nez v2, :cond_0
|
|
|
|
.line 7
|
|
.line 8
|
|
iget-object p4, p0, Lokhttp3/internal/http2/Http2Connection;->A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 9
|
|
.line 10
|
|
invoke-virtual {p4, p2, p1, p3, v3}, Lokhttp3/internal/http2/Http2Writer;->b(ZILokio/Buffer;I)V
|
|
|
|
.line 11
|
|
.line 12
|
|
.line 13
|
|
return-void
|
|
|
|
.line 14
|
|
:cond_0
|
|
:goto_0
|
|
cmp-long v2, p4, v0
|
|
|
|
.line 15
|
|
.line 16
|
|
if-lez v2, :cond_4
|
|
|
|
.line 17
|
|
.line 18
|
|
monitor-enter p0
|
|
|
|
.line 19
|
|
:goto_1
|
|
:try_start_0
|
|
iget-wide v4, p0, Lokhttp3/internal/http2/Http2Connection;->x:J
|
|
|
|
.line 20
|
|
.line 21
|
|
iget-wide v6, p0, Lokhttp3/internal/http2/Http2Connection;->y:J
|
|
|
|
.line 22
|
|
.line 23
|
|
cmp-long v2, v4, v6
|
|
|
|
.line 24
|
|
.line 25
|
|
if-ltz v2, :cond_2
|
|
|
|
.line 26
|
|
.line 27
|
|
iget-object v2, p0, Lokhttp3/internal/http2/Http2Connection;->f:Ljava/util/LinkedHashMap;
|
|
|
|
.line 28
|
|
.line 29
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v4
|
|
|
|
.line 33
|
|
invoke-interface {v2, v4}, Ljava/util/Map;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
.line 34
|
|
.line 35
|
|
.line 36
|
|
move-result v2
|
|
|
|
.line 37
|
|
if-eqz v2, :cond_1
|
|
|
|
.line 38
|
|
.line 39
|
|
const-string v2, "null cannot be cast to non-null type java.lang.Object"
|
|
|
|
.line 40
|
|
.line 41
|
|
invoke-static {p0, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 42
|
|
.line 43
|
|
.line 44
|
|
invoke-virtual {p0}, Ljava/lang/Object;->wait()V
|
|
|
|
.line 45
|
|
.line 46
|
|
.line 47
|
|
goto :goto_1
|
|
|
|
.line 48
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
.line 49
|
|
goto :goto_3
|
|
|
|
.line 50
|
|
:cond_1
|
|
new-instance p1, Ljava/io/IOException;
|
|
|
|
.line 51
|
|
.line 52
|
|
const-string p2, "stream closed"
|
|
|
|
.line 53
|
|
.line 54
|
|
invoke-direct {p1, p2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 55
|
|
.line 56
|
|
.line 57
|
|
throw p1
|
|
:try_end_0
|
|
.catch Ljava/lang/InterruptedException; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 58
|
|
:cond_2
|
|
sub-long/2addr v6, v4
|
|
|
|
.line 59
|
|
:try_start_1
|
|
invoke-static {p4, p5, v6, v7}, Ljava/lang/Math;->min(JJ)J
|
|
|
|
.line 60
|
|
.line 61
|
|
.line 62
|
|
move-result-wide v4
|
|
|
|
.line 63
|
|
long-to-int v2, v4
|
|
|
|
.line 64
|
|
iget-object v4, p0, Lokhttp3/internal/http2/Http2Connection;->A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 65
|
|
.line 66
|
|
iget v4, v4, Lokhttp3/internal/http2/Http2Writer;->g:I
|
|
|
|
.line 67
|
|
.line 68
|
|
invoke-static {v2, v4}, Ljava/lang/Math;->min(II)I
|
|
|
|
.line 69
|
|
.line 70
|
|
.line 71
|
|
move-result v2
|
|
|
|
.line 72
|
|
iget-wide v4, p0, Lokhttp3/internal/http2/Http2Connection;->x:J
|
|
|
|
.line 73
|
|
.line 74
|
|
int-to-long v6, v2
|
|
|
|
.line 75
|
|
add-long/2addr v4, v6
|
|
|
|
.line 76
|
|
iput-wide v4, p0, Lokhttp3/internal/http2/Http2Connection;->x:J
|
|
|
|
.line 77
|
|
.line 78
|
|
sget-object v4, Lkotlin/Unit;->INSTANCE:Lkotlin/Unit;
|
|
:try_end_1
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
.line 79
|
|
.line 80
|
|
monitor-exit p0
|
|
|
|
.line 81
|
|
sub-long/2addr p4, v6
|
|
|
|
.line 82
|
|
iget-object v4, p0, Lokhttp3/internal/http2/Http2Connection;->A:Lokhttp3/internal/http2/Http2Writer;
|
|
|
|
.line 83
|
|
.line 84
|
|
if-eqz p2, :cond_3
|
|
|
|
.line 85
|
|
.line 86
|
|
cmp-long v5, p4, v0
|
|
|
|
.line 87
|
|
.line 88
|
|
if-nez v5, :cond_3
|
|
|
|
.line 89
|
|
.line 90
|
|
const/4 v5, 0x1
|
|
|
|
.line 91
|
|
goto :goto_2
|
|
|
|
.line 92
|
|
:cond_3
|
|
move v5, v3
|
|
|
|
.line 93
|
|
:goto_2
|
|
invoke-virtual {v4, v5, p1, p3, v2}, Lokhttp3/internal/http2/Http2Writer;->b(ZILokio/Buffer;I)V
|
|
|
|
.line 94
|
|
.line 95
|
|
.line 96
|
|
goto :goto_0
|
|
|
|
.line 97
|
|
:catch_0
|
|
:try_start_2
|
|
invoke-static {}, Ljava/lang/Thread;->currentThread()Ljava/lang/Thread;
|
|
|
|
.line 98
|
|
.line 99
|
|
.line 100
|
|
move-result-object p1
|
|
|
|
.line 101
|
|
invoke-virtual {p1}, Ljava/lang/Thread;->interrupt()V
|
|
|
|
.line 102
|
|
.line 103
|
|
.line 104
|
|
new-instance p1, Ljava/io/InterruptedIOException;
|
|
|
|
.line 105
|
|
.line 106
|
|
invoke-direct {p1}, Ljava/io/InterruptedIOException;-><init>()V
|
|
|
|
.line 107
|
|
.line 108
|
|
.line 109
|
|
throw p1
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
.line 110
|
|
:goto_3
|
|
monitor-exit p0
|
|
|
|
.line 111
|
|
throw p1
|
|
|
|
.line 112
|
|
:cond_4
|
|
return-void
|
|
.end method
|
|
|
|
.method public final k(ILokhttp3/internal/http2/ErrorCode;)V
|
|
.locals 3
|
|
|
|
.line 1
|
|
const-string v0, "errorCode"
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection;->g:Ljava/lang/String;
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
const/16 v1, 0x5b
|
|
|
|
.line 17
|
|
.line 18
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 19
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
const-string v1, "] writeSynReset"
|
|
|
|
.line 25
|
|
.line 26
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 27
|
|
.line 28
|
|
.line 29
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 30
|
|
.line 31
|
|
.line 32
|
|
move-result-object v0
|
|
|
|
.line 33
|
|
new-instance v1, Lokhttp3/internal/http2/d;
|
|
|
|
.line 34
|
|
.line 35
|
|
const/4 v2, 0x1
|
|
|
|
.line 36
|
|
invoke-direct {v1, p0, p1, p2, v2}, Lokhttp3/internal/http2/d;-><init>(Lokhttp3/internal/http2/Http2Connection;ILokhttp3/internal/http2/ErrorCode;I)V
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
const/4 p1, 0x6
|
|
|
|
.line 40
|
|
iget-object p2, p0, Lokhttp3/internal/http2/Http2Connection;->l:Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 41
|
|
.line 42
|
|
invoke-static {p2, v0, v1, p1}, Lokhttp3/internal/concurrent/TaskQueue;->c(Lokhttp3/internal/concurrent/TaskQueue;Ljava/lang/String;Lkotlin/jvm/functions/Function0;I)V
|
|
|
|
.line 43
|
|
.line 44
|
|
.line 45
|
|
return-void
|
|
.end method
|
|
|
|
.method public final l(IJ)V
|
|
.locals 2
|
|
|
|
.line 1
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
.line 2
|
|
.line 3
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
.line 4
|
|
.line 5
|
|
.line 6
|
|
iget-object v1, p0, Lokhttp3/internal/http2/Http2Connection;->g:Ljava/lang/String;
|
|
|
|
.line 7
|
|
.line 8
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 9
|
|
.line 10
|
|
.line 11
|
|
const/16 v1, 0x5b
|
|
|
|
.line 12
|
|
.line 13
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
|
|
|
|
.line 14
|
|
.line 15
|
|
.line 16
|
|
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
.line 17
|
|
.line 18
|
|
.line 19
|
|
const-string v1, "] windowUpdate"
|
|
|
|
.line 20
|
|
.line 21
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
.line 22
|
|
.line 23
|
|
.line 24
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
.line 25
|
|
.line 26
|
|
.line 27
|
|
move-result-object v0
|
|
|
|
.line 28
|
|
new-instance v1, Lokhttp3/internal/http2/b;
|
|
|
|
.line 29
|
|
.line 30
|
|
invoke-direct {v1, p0, p1, p2, p3}, Lokhttp3/internal/http2/b;-><init>(Lokhttp3/internal/http2/Http2Connection;IJ)V
|
|
|
|
.line 31
|
|
.line 32
|
|
.line 33
|
|
const/4 p1, 0x6
|
|
|
|
.line 34
|
|
iget-object p2, p0, Lokhttp3/internal/http2/Http2Connection;->l:Lokhttp3/internal/concurrent/TaskQueue;
|
|
|
|
.line 35
|
|
.line 36
|
|
invoke-static {p2, v0, v1, p1}, Lokhttp3/internal/concurrent/TaskQueue;->c(Lokhttp3/internal/concurrent/TaskQueue;Ljava/lang/String;Lkotlin/jvm/functions/Function0;I)V
|
|
|
|
.line 37
|
|
.line 38
|
|
.line 39
|
|
return-void
|
|
.end method
|